| 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 | 258 |
| 259 // WebContents ------------------------------------------------------ | 259 // WebContents ------------------------------------------------------ |
| 260 WebContentsDelegate* GetDelegate() override; | 260 WebContentsDelegate* GetDelegate() override; |
| 261 void SetDelegate(WebContentsDelegate* delegate) override; | 261 void SetDelegate(WebContentsDelegate* delegate) override; |
| 262 NavigationControllerImpl& GetController() override; | 262 NavigationControllerImpl& GetController() override; |
| 263 const NavigationControllerImpl& GetController() const override; | 263 const NavigationControllerImpl& GetController() const override; |
| 264 BrowserContext* GetBrowserContext() const override; | 264 BrowserContext* GetBrowserContext() const override; |
| 265 const GURL& GetURL() const override; | 265 const GURL& GetURL() const override; |
| 266 const GURL& GetVisibleURL() const override; | 266 const GURL& GetVisibleURL() const override; |
| 267 const GURL& GetLastCommittedURL() const override; | 267 const GURL& GetLastCommittedURL() const override; |
| 268 bool IsContextSecure() const override; |
| 268 RenderProcessHost* GetRenderProcessHost() const override; | 269 RenderProcessHost* GetRenderProcessHost() const override; |
| 269 RenderFrameHostImpl* GetMainFrame() override; | 270 RenderFrameHostImpl* GetMainFrame() override; |
| 270 RenderFrameHostImpl* GetFocusedFrame() override; | 271 RenderFrameHostImpl* GetFocusedFrame() override; |
| 271 RenderFrameHostImpl* FindFrameByFrameTreeNodeId( | 272 RenderFrameHostImpl* FindFrameByFrameTreeNodeId( |
| 272 int frame_tree_node_id) override; | 273 int frame_tree_node_id) override; |
| 273 void ForEachFrame( | 274 void ForEachFrame( |
| 274 const base::Callback<void(RenderFrameHost*)>& on_frame) override; | 275 const base::Callback<void(RenderFrameHost*)>& on_frame) override; |
| 275 std::vector<RenderFrameHost*> GetAllFrames() override; | 276 std::vector<RenderFrameHost*> GetAllFrames() override; |
| 276 int SendToAllFrames(IPC::Message* message) override; | 277 int SendToAllFrames(IPC::Message* message) override; |
| 277 RenderViewHostImpl* GetRenderViewHost() const override; | 278 RenderViewHostImpl* GetRenderViewHost() const override; |
| (...skipping 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1514 // Adds/removes a callback called on creation of each new WebContents. | 1515 // Adds/removes a callback called on creation of each new WebContents. |
| 1515 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1516 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1516 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1517 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1517 | 1518 |
| 1518 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1519 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1519 }; | 1520 }; |
| 1520 | 1521 |
| 1521 } // namespace content | 1522 } // namespace content |
| 1522 | 1523 |
| 1523 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1524 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |