OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <functional> | 10 #include <functional> |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 int32_t render_view_route_id, | 492 int32_t render_view_route_id, |
493 int32_t main_frame_route_id, | 493 int32_t main_frame_route_id, |
494 int32_t main_frame_widget_route_id, | 494 int32_t main_frame_widget_route_id, |
495 const mojom::CreateNewWindowParams& params, | 495 const mojom::CreateNewWindowParams& params, |
496 SessionStorageNamespace* session_storage_namespace) override; | 496 SessionStorageNamespace* session_storage_namespace) override; |
497 void ShowCreatedWindow(int process_id, | 497 void ShowCreatedWindow(int process_id, |
498 int main_frame_widget_route_id, | 498 int main_frame_widget_route_id, |
499 WindowOpenDisposition disposition, | 499 WindowOpenDisposition disposition, |
500 const gfx::Rect& initial_rect, | 500 const gfx::Rect& initial_rect, |
501 bool user_gesture) override; | 501 bool user_gesture) override; |
| 502 void SetPageScaleFactorForSubframes(double page_scale_factor) override; |
502 | 503 |
503 // RenderViewHostDelegate ---------------------------------------------------- | 504 // RenderViewHostDelegate ---------------------------------------------------- |
504 RenderViewHostDelegateView* GetDelegateView() override; | 505 RenderViewHostDelegateView* GetDelegateView() override; |
505 bool OnMessageReceived(RenderViewHostImpl* render_view_host, | 506 bool OnMessageReceived(RenderViewHostImpl* render_view_host, |
506 const IPC::Message& message) override; | 507 const IPC::Message& message) override; |
507 // RenderFrameHostDelegate has the same method, so list it there because this | 508 // RenderFrameHostDelegate has the same method, so list it there because this |
508 // interface is going away. | 509 // interface is going away. |
509 // WebContents* GetAsWebContents() override; | 510 // WebContents* GetAsWebContents() override; |
510 void RenderViewCreated(RenderViewHost* render_view_host) override; | 511 void RenderViewCreated(RenderViewHost* render_view_host) override; |
511 void RenderViewReady(RenderViewHost* render_view_host) override; | 512 void RenderViewReady(RenderViewHost* render_view_host) override; |
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1514 // Adds/removes a callback called on creation of each new WebContents. | 1515 // Adds/removes a callback called on creation of each new WebContents. |
1515 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1516 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1516 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1517 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1517 | 1518 |
1518 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1519 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1519 }; | 1520 }; |
1520 | 1521 |
1521 } // namespace content | 1522 } // namespace content |
1522 | 1523 |
1523 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1524 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |