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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 void SetDelegate(WebContentsDelegate* delegate) override; | 287 void SetDelegate(WebContentsDelegate* delegate) override; |
288 NavigationControllerImpl& GetController() override; | 288 NavigationControllerImpl& GetController() override; |
289 const NavigationControllerImpl& GetController() const override; | 289 const NavigationControllerImpl& GetController() const override; |
290 BrowserContext* GetBrowserContext() const override; | 290 BrowserContext* GetBrowserContext() const override; |
291 const GURL& GetURL() const override; | 291 const GURL& GetURL() const override; |
292 const GURL& GetVisibleURL() const override; | 292 const GURL& GetVisibleURL() const override; |
293 const GURL& GetLastCommittedURL() const override; | 293 const GURL& GetLastCommittedURL() const override; |
294 RenderProcessHost* GetRenderProcessHost() const override; | 294 RenderProcessHost* GetRenderProcessHost() const override; |
295 RenderFrameHostImpl* GetMainFrame() override; | 295 RenderFrameHostImpl* GetMainFrame() override; |
296 RenderFrameHostImpl* GetFocusedFrame() override; | 296 RenderFrameHostImpl* GetFocusedFrame() override; |
297 RenderFrameHostImpl* FindFrameByFrameTreeNodeId( | 297 RenderFrameHostImpl* FindFrameByFrameTreeNodeId(int frame_tree_node_id, |
| 298 int process_id) override; |
| 299 RenderFrameHostImpl* UnsafeFindFrameByFrameTreeNodeId( |
298 int frame_tree_node_id) override; | 300 int frame_tree_node_id) override; |
299 void ForEachFrame( | 301 void ForEachFrame( |
300 const base::Callback<void(RenderFrameHost*)>& on_frame) override; | 302 const base::Callback<void(RenderFrameHost*)>& on_frame) override; |
301 std::vector<RenderFrameHost*> GetAllFrames() override; | 303 std::vector<RenderFrameHost*> GetAllFrames() override; |
302 int SendToAllFrames(IPC::Message* message) override; | 304 int SendToAllFrames(IPC::Message* message) override; |
303 RenderViewHostImpl* GetRenderViewHost() const override; | 305 RenderViewHostImpl* GetRenderViewHost() const override; |
304 RenderWidgetHostView* GetRenderWidgetHostView() const override; | 306 RenderWidgetHostView* GetRenderWidgetHostView() const override; |
305 RenderWidgetHostView* GetTopLevelRenderWidgetHostView() override; | 307 RenderWidgetHostView* GetTopLevelRenderWidgetHostView() override; |
306 void ClosePage() override; | 308 void ClosePage() override; |
307 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override; | 309 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override; |
(...skipping 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1586 // Adds/removes a callback called on creation of each new WebContents. | 1588 // Adds/removes a callback called on creation of each new WebContents. |
1587 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1589 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1588 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1590 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1589 | 1591 |
1590 DISALLOW_COPY_AND_ASSIGN(FriendWrapper); | 1592 DISALLOW_COPY_AND_ASSIGN(FriendWrapper); |
1591 }; | 1593 }; |
1592 | 1594 |
1593 } // namespace content | 1595 } // namespace content |
1594 | 1596 |
1595 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1597 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |