| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 | 226 |
| 227 // WebContents ------------------------------------------------------ | 227 // WebContents ------------------------------------------------------ |
| 228 WebContentsDelegate* GetDelegate() override; | 228 WebContentsDelegate* GetDelegate() override; |
| 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 const url::Origin& GetLastCommittedOrigin() const override; |
| 236 RenderProcessHost* GetRenderProcessHost() const override; | 237 RenderProcessHost* GetRenderProcessHost() const override; |
| 237 RenderFrameHostImpl* GetMainFrame() override; | 238 RenderFrameHostImpl* GetMainFrame() override; |
| 238 RenderFrameHostImpl* GetFocusedFrame() override; | 239 RenderFrameHostImpl* GetFocusedFrame() override; |
| 239 void ForEachFrame( | 240 void ForEachFrame( |
| 240 const base::Callback<void(RenderFrameHost*)>& on_frame) override; | 241 const base::Callback<void(RenderFrameHost*)>& on_frame) override; |
| 241 void SendToAllFrames(IPC::Message* message) override; | 242 void SendToAllFrames(IPC::Message* message) override; |
| 242 RenderViewHostImpl* GetRenderViewHost() const override; | 243 RenderViewHostImpl* GetRenderViewHost() const override; |
| 243 int GetRoutingID() const override; | 244 int GetRoutingID() const override; |
| 244 RenderWidgetHostView* GetRenderWidgetHostView() const override; | 245 RenderWidgetHostView* GetRenderWidgetHostView() const override; |
| 245 void ClosePage() override; | 246 void ClosePage() override; |
| (...skipping 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1339 // Adds/removes a callback called on creation of each new WebContents. | 1340 // Adds/removes a callback called on creation of each new WebContents. |
| 1340 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1341 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1341 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1342 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1342 | 1343 |
| 1343 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1344 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1344 }; | 1345 }; |
| 1345 | 1346 |
| 1346 } // namespace content | 1347 } // namespace content |
| 1347 | 1348 |
| 1348 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1349 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |