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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 RenderProcessHost* GetRenderProcessHost() const override; | 277 RenderProcessHost* GetRenderProcessHost() const override; |
278 RenderFrameHostImpl* GetMainFrame() override; | 278 RenderFrameHostImpl* GetMainFrame() override; |
279 RenderFrameHostImpl* GetFocusedFrame() override; | 279 RenderFrameHostImpl* GetFocusedFrame() override; |
280 RenderFrameHostImpl* FindFrameByFrameTreeNodeId( | 280 RenderFrameHostImpl* FindFrameByFrameTreeNodeId( |
281 int frame_tree_node_id) override; | 281 int frame_tree_node_id) override; |
282 void ForEachFrame( | 282 void ForEachFrame( |
283 const base::Callback<void(RenderFrameHost*)>& on_frame) override; | 283 const base::Callback<void(RenderFrameHost*)>& on_frame) override; |
284 std::vector<RenderFrameHost*> GetAllFrames() override; | 284 std::vector<RenderFrameHost*> GetAllFrames() override; |
285 int SendToAllFrames(IPC::Message* message) override; | 285 int SendToAllFrames(IPC::Message* message) override; |
286 RenderViewHostImpl* GetRenderViewHost() const override; | 286 RenderViewHostImpl* GetRenderViewHost() const override; |
287 int GetRoutingID() const override; | |
288 RenderWidgetHostView* GetRenderWidgetHostView() const override; | 287 RenderWidgetHostView* GetRenderWidgetHostView() const override; |
289 RenderWidgetHostView* GetTopLevelRenderWidgetHostView() override; | 288 RenderWidgetHostView* GetTopLevelRenderWidgetHostView() override; |
290 void ClosePage() override; | 289 void ClosePage() override; |
291 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override; | 290 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override; |
292 SkColor GetThemeColor() const override; | 291 SkColor GetThemeColor() const override; |
293 std::unique_ptr<WebUI> CreateSubframeWebUI( | 292 std::unique_ptr<WebUI> CreateSubframeWebUI( |
294 const GURL& url, | 293 const GURL& url, |
295 const std::string& frame_name) override; | 294 const std::string& frame_name) override; |
296 WebUI* GetWebUI() const override; | 295 WebUI* GetWebUI() const override; |
297 WebUI* GetCommittedWebUI() const override; | 296 WebUI* GetCommittedWebUI() const override; |
(...skipping 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1493 // Adds/removes a callback called on creation of each new WebContents. | 1492 // Adds/removes a callback called on creation of each new WebContents. |
1494 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1493 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1495 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1494 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1496 | 1495 |
1497 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1496 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1498 }; | 1497 }; |
1499 | 1498 |
1500 } // namespace content | 1499 } // namespace content |
1501 | 1500 |
1502 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1501 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |