| 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 <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 void SetDelegate(WebContentsDelegate* delegate) override; | 229 void SetDelegate(WebContentsDelegate* delegate) override; |
| 230 NavigationControllerImpl& GetController() override; | 230 NavigationControllerImpl& GetController() override; |
| 231 const NavigationControllerImpl& GetController() const override; | 231 const NavigationControllerImpl& GetController() const override; |
| 232 BrowserContext* GetBrowserContext() const override; | 232 BrowserContext* GetBrowserContext() const override; |
| 233 const GURL& GetURL() const override; | 233 const GURL& GetURL() const override; |
| 234 const GURL& GetVisibleURL() const override; | 234 const GURL& GetVisibleURL() const override; |
| 235 const GURL& GetLastCommittedURL() const override; | 235 const GURL& GetLastCommittedURL() const override; |
| 236 RenderProcessHost* GetRenderProcessHost() const override; | 236 RenderProcessHost* GetRenderProcessHost() const override; |
| 237 RenderFrameHostImpl* GetMainFrame() override; | 237 RenderFrameHostImpl* GetMainFrame() override; |
| 238 RenderFrameHostImpl* GetFocusedFrame() override; | 238 RenderFrameHostImpl* GetFocusedFrame() override; |
| 239 RenderFrameHostImpl* FindFrameByFrameTreeNodeID( |
| 240 int frame_tree_node_id) override; |
| 239 void ForEachFrame( | 241 void ForEachFrame( |
| 240 const base::Callback<void(RenderFrameHost*)>& on_frame) override; | 242 const base::Callback<void(RenderFrameHost*)>& on_frame) override; |
| 241 void SendToAllFrames(IPC::Message* message) override; | 243 void SendToAllFrames(IPC::Message* message) override; |
| 242 RenderViewHostImpl* GetRenderViewHost() const override; | 244 RenderViewHostImpl* GetRenderViewHost() const override; |
| 243 int GetRoutingID() const override; | 245 int GetRoutingID() const override; |
| 244 RenderWidgetHostView* GetRenderWidgetHostView() const override; | 246 RenderWidgetHostView* GetRenderWidgetHostView() const override; |
| 245 void ClosePage() override; | 247 void ClosePage() override; |
| 246 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override; | 248 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override; |
| 247 SkColor GetThemeColor() const override; | 249 SkColor GetThemeColor() const override; |
| 248 WebUI* CreateSubframeWebUI(const GURL& url, | 250 WebUI* CreateSubframeWebUI(const GURL& url, |
| (...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1357 // Adds/removes a callback called on creation of each new WebContents. | 1359 // Adds/removes a callback called on creation of each new WebContents. |
| 1358 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1360 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1359 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1361 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1360 | 1362 |
| 1361 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1363 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1362 }; | 1364 }; |
| 1363 | 1365 |
| 1364 } // namespace content | 1366 } // namespace content |
| 1365 | 1367 |
| 1366 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1368 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |