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

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

Issue 1413543005: Use FrameTreeNode ID as frameId in extension APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments, add WebNavigationApiTest.CrossProcessIframe test Created 5 years, 1 month 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 <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 void SetDelegate(WebContentsDelegate* delegate) override; 227 void SetDelegate(WebContentsDelegate* delegate) override;
228 NavigationControllerImpl& GetController() override; 228 NavigationControllerImpl& GetController() override;
229 const NavigationControllerImpl& GetController() const override; 229 const NavigationControllerImpl& GetController() const override;
230 BrowserContext* GetBrowserContext() const override; 230 BrowserContext* GetBrowserContext() const override;
231 const GURL& GetURL() const override; 231 const GURL& GetURL() const override;
232 const GURL& GetVisibleURL() const override; 232 const GURL& GetVisibleURL() const override;
233 const GURL& GetLastCommittedURL() const override; 233 const GURL& GetLastCommittedURL() const override;
234 RenderProcessHost* GetRenderProcessHost() const override; 234 RenderProcessHost* GetRenderProcessHost() const override;
235 RenderFrameHostImpl* GetMainFrame() override; 235 RenderFrameHostImpl* GetMainFrame() override;
236 RenderFrameHostImpl* GetFocusedFrame() override; 236 RenderFrameHostImpl* GetFocusedFrame() override;
237 RenderFrameHostImpl* FindByFrameTreeNodeID(int frame_tree_node_id) override;
237 void ForEachFrame( 238 void ForEachFrame(
238 const base::Callback<void(RenderFrameHost*)>& on_frame) override; 239 const base::Callback<void(RenderFrameHost*)>& on_frame) override;
239 void SendToAllFrames(IPC::Message* message) override; 240 void SendToAllFrames(IPC::Message* message) override;
240 RenderViewHostImpl* GetRenderViewHost() const override; 241 RenderViewHostImpl* GetRenderViewHost() const override;
241 int GetRoutingID() const override; 242 int GetRoutingID() const override;
242 RenderWidgetHostView* GetRenderWidgetHostView() const override; 243 RenderWidgetHostView* GetRenderWidgetHostView() const override;
243 void ClosePage() override; 244 void ClosePage() override;
244 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override; 245 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override;
245 SkColor GetThemeColor() const override; 246 SkColor GetThemeColor() const override;
246 WebUI* CreateSubframeWebUI(const GURL& url, 247 WebUI* CreateSubframeWebUI(const GURL& url,
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1328 // Adds/removes a callback called on creation of each new WebContents. 1329 // Adds/removes a callback called on creation of each new WebContents.
1329 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1330 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1330 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1331 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1331 1332
1332 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1333 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1333 }; 1334 };
1334 1335
1335 } // namespace content 1336 } // namespace content
1336 1337
1337 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1338 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698