Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 2515823002: Remove WebContents::GetRoutingID(). (Closed)
Patch Set: add render_view_host.h include in resource_dispatcher_host_unittest.cc Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 RenderProcessHost* GetRenderProcessHost() const override; 275 RenderProcessHost* GetRenderProcessHost() const override;
276 RenderFrameHostImpl* GetMainFrame() override; 276 RenderFrameHostImpl* GetMainFrame() override;
277 RenderFrameHostImpl* GetFocusedFrame() override; 277 RenderFrameHostImpl* GetFocusedFrame() override;
278 RenderFrameHostImpl* FindFrameByFrameTreeNodeId( 278 RenderFrameHostImpl* FindFrameByFrameTreeNodeId(
279 int frame_tree_node_id) override; 279 int frame_tree_node_id) override;
280 void ForEachFrame( 280 void ForEachFrame(
281 const base::Callback<void(RenderFrameHost*)>& on_frame) override; 281 const base::Callback<void(RenderFrameHost*)>& on_frame) override;
282 std::vector<RenderFrameHost*> GetAllFrames() override; 282 std::vector<RenderFrameHost*> GetAllFrames() override;
283 int SendToAllFrames(IPC::Message* message) override; 283 int SendToAllFrames(IPC::Message* message) override;
284 RenderViewHostImpl* GetRenderViewHost() const override; 284 RenderViewHostImpl* GetRenderViewHost() const override;
285 int GetRoutingID() const override;
286 RenderWidgetHostView* GetRenderWidgetHostView() const override; 285 RenderWidgetHostView* GetRenderWidgetHostView() const override;
287 RenderWidgetHostView* GetTopLevelRenderWidgetHostView() override; 286 RenderWidgetHostView* GetTopLevelRenderWidgetHostView() override;
288 void ClosePage() override; 287 void ClosePage() override;
289 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override; 288 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override;
290 SkColor GetThemeColor() const override; 289 SkColor GetThemeColor() const override;
291 std::unique_ptr<WebUI> CreateSubframeWebUI( 290 std::unique_ptr<WebUI> CreateSubframeWebUI(
292 const GURL& url, 291 const GURL& url,
293 const std::string& frame_name) override; 292 const std::string& frame_name) override;
294 WebUI* GetWebUI() const override; 293 WebUI* GetWebUI() const override;
295 WebUI* GetCommittedWebUI() const override; 294 WebUI* GetCommittedWebUI() const override;
(...skipping 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after
1491 // Adds/removes a callback called on creation of each new WebContents. 1490 // Adds/removes a callback called on creation of each new WebContents.
1492 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1491 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1493 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1492 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1494 1493
1495 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1494 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1496 }; 1495 };
1497 1496
1498 } // namespace content 1497 } // namespace content
1499 1498
1500 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1499 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_unittest.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698