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

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

Issue 857213003: Refactor sudden termination (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Charlie's comments Created 5 years, 10 months 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // WebContents ------------------------------------------------------ 208 // WebContents ------------------------------------------------------
209 WebContentsDelegate* GetDelegate() override; 209 WebContentsDelegate* GetDelegate() override;
210 void SetDelegate(WebContentsDelegate* delegate) override; 210 void SetDelegate(WebContentsDelegate* delegate) override;
211 NavigationControllerImpl& GetController() override; 211 NavigationControllerImpl& GetController() override;
212 const NavigationControllerImpl& GetController() const override; 212 const NavigationControllerImpl& GetController() const override;
213 BrowserContext* GetBrowserContext() const override; 213 BrowserContext* GetBrowserContext() const override;
214 const GURL& GetURL() const override; 214 const GURL& GetURL() const override;
215 const GURL& GetVisibleURL() const override; 215 const GURL& GetVisibleURL() const override;
216 const GURL& GetLastCommittedURL() const override; 216 const GURL& GetLastCommittedURL() const override;
217 RenderProcessHost* GetRenderProcessHost() const override; 217 RenderProcessHost* GetRenderProcessHost() const override;
218 RenderFrameHost* GetMainFrame() override; 218 RenderFrameHostImpl* GetMainFrame() override;
219 RenderFrameHost* GetFocusedFrame() override; 219 RenderFrameHost* GetFocusedFrame() override;
220 void ForEachFrame( 220 void ForEachFrame(
221 const base::Callback<void(RenderFrameHost*)>& on_frame) override; 221 const base::Callback<void(RenderFrameHost*)>& on_frame) override;
222 void SendToAllFrames(IPC::Message* message) override; 222 void SendToAllFrames(IPC::Message* message) override;
223 RenderViewHost* GetRenderViewHost() const override; 223 RenderViewHost* GetRenderViewHost() const override;
224 int GetRoutingID() const override; 224 int GetRoutingID() const override;
225 RenderWidgetHostView* GetRenderWidgetHostView() const override; 225 RenderWidgetHostView* GetRenderWidgetHostView() const override;
226 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override; 226 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override;
227 WebUI* CreateWebUI(const GURL& url) override; 227 WebUI* CreateWebUI(const GURL& url) override;
228 WebUI* GetWebUI() const override; 228 WebUI* GetWebUI() const override;
(...skipping 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 // Adds/removes a callback called on creation of each new WebContents. 1273 // Adds/removes a callback called on creation of each new WebContents.
1274 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1274 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1275 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1275 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1276 1276
1277 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1277 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1278 }; 1278 };
1279 1279
1280 } // namespace content 1280 } // namespace content
1281 1281
1282 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1282 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698