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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 RenderFrameHost* target_rfh, | 496 RenderFrameHost* target_rfh, |
497 SiteInstance* source_site_instance) const override; | 497 SiteInstance* source_site_instance) const override; |
498 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; | 498 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; |
499 std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( | 499 std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( |
500 const GURL& url) override; | 500 const GURL& url) override; |
501 void SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) override; | 501 void SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) override; |
502 void OnFocusedElementChangedInFrame( | 502 void OnFocusedElementChangedInFrame( |
503 RenderFrameHostImpl* frame, | 503 RenderFrameHostImpl* frame, |
504 const gfx::Rect& bounds_in_root_view) override; | 504 const gfx::Rect& bounds_in_root_view) override; |
505 void CreateNewWindow( | 505 void CreateNewWindow( |
506 SiteInstance* source_site_instance, | 506 RenderFrameHost* opener, |
507 int32_t render_view_route_id, | 507 int32_t render_view_route_id, |
508 int32_t main_frame_route_id, | 508 int32_t main_frame_route_id, |
509 int32_t main_frame_widget_route_id, | 509 int32_t main_frame_widget_route_id, |
510 const mojom::CreateNewWindowParams& params, | 510 const mojom::CreateNewWindowParams& params, |
511 SessionStorageNamespace* session_storage_namespace) override; | 511 SessionStorageNamespace* session_storage_namespace) override; |
512 void ShowCreatedWindow(int process_id, | 512 void ShowCreatedWindow(int process_id, |
513 int main_frame_widget_route_id, | 513 int main_frame_widget_route_id, |
514 WindowOpenDisposition disposition, | 514 WindowOpenDisposition disposition, |
515 const gfx::Rect& initial_rect, | 515 const gfx::Rect& initial_rect, |
516 bool user_gesture) override; | 516 bool user_gesture) override; |
(...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1557 // Adds/removes a callback called on creation of each new WebContents. | 1557 // Adds/removes a callback called on creation of each new WebContents. |
1558 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1558 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1559 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1559 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1560 | 1560 |
1561 DISALLOW_COPY_AND_ASSIGN(FriendWrapper); | 1561 DISALLOW_COPY_AND_ASSIGN(FriendWrapper); |
1562 }; | 1562 }; |
1563 | 1563 |
1564 } // namespace content | 1564 } // namespace content |
1565 | 1565 |
1566 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1566 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |