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 <map> | 10 #include <map> |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 void SetDelegate(WebContentsDelegate* delegate) override; | 233 void SetDelegate(WebContentsDelegate* delegate) override; |
234 NavigationControllerImpl& GetController() override; | 234 NavigationControllerImpl& GetController() override; |
235 const NavigationControllerImpl& GetController() const override; | 235 const NavigationControllerImpl& GetController() const override; |
236 BrowserContext* GetBrowserContext() const override; | 236 BrowserContext* GetBrowserContext() const override; |
237 const GURL& GetURL() const override; | 237 const GURL& GetURL() const override; |
238 const GURL& GetVisibleURL() const override; | 238 const GURL& GetVisibleURL() const override; |
239 const GURL& GetLastCommittedURL() const override; | 239 const GURL& GetLastCommittedURL() const override; |
240 RenderProcessHost* GetRenderProcessHost() const override; | 240 RenderProcessHost* GetRenderProcessHost() const override; |
241 RenderFrameHostImpl* GetMainFrame() override; | 241 RenderFrameHostImpl* GetMainFrame() override; |
242 RenderFrameHostImpl* GetFocusedFrame() override; | 242 RenderFrameHostImpl* GetFocusedFrame() override; |
| 243 RenderFrameHostImpl* FindFrameByFrameTreeNodeId( |
| 244 int frame_tree_node_id) override; |
243 void ForEachFrame( | 245 void ForEachFrame( |
244 const base::Callback<void(RenderFrameHost*)>& on_frame) override; | 246 const base::Callback<void(RenderFrameHost*)>& on_frame) override; |
245 void SendToAllFrames(IPC::Message* message) override; | 247 void SendToAllFrames(IPC::Message* message) override; |
246 RenderViewHostImpl* GetRenderViewHost() const override; | 248 RenderViewHostImpl* GetRenderViewHost() const override; |
247 int GetRoutingID() const override; | 249 int GetRoutingID() const override; |
248 RenderWidgetHostView* GetRenderWidgetHostView() const override; | 250 RenderWidgetHostView* GetRenderWidgetHostView() const override; |
249 void ClosePage() override; | 251 void ClosePage() override; |
250 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override; | 252 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override; |
251 SkColor GetThemeColor() const override; | 253 SkColor GetThemeColor() const override; |
252 WebUI* CreateSubframeWebUI(const GURL& url, | 254 WebUI* CreateSubframeWebUI(const GURL& url, |
(...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1316 // Adds/removes a callback called on creation of each new WebContents. | 1318 // Adds/removes a callback called on creation of each new WebContents. |
1317 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1319 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1318 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1320 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1319 | 1321 |
1320 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1322 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1321 }; | 1323 }; |
1322 | 1324 |
1323 } // namespace content | 1325 } // namespace content |
1324 | 1326 |
1325 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1327 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |