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

Unified Diff: content/public/browser/web_contents.h

Issue 14080004: Remove some chrome-specific methods from content::WebUI. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix browser_test Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/webui/web_ui_impl.cc ('k') | content/public/browser/web_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents.h
===================================================================
--- content/public/browser/web_contents.h (revision 193436)
+++ content/public/browser/web_contents.h (working copy)
@@ -173,8 +173,6 @@
virtual WebUI* CreateWebUI(const GURL& url) = 0;
// Returns the committed WebUI if one exists, otherwise the pending one.
- // Callers who want to use the pending WebUI for the pending navigation entry
- // should use GetWebUIForCurrentState instead.
virtual WebUI* GetWebUI() const = 0;
virtual WebUI* GetCommittedWebUI() const = 0;
@@ -384,10 +382,6 @@
// Get the content restrictions (see content::ContentRestriction).
virtual int GetContentRestrictions() const = 0;
- // Returns the WebUI for the current state of the tab. This will either be
- // the pending WebUI, the committed WebUI, or NULL.
- virtual WebUI* GetWebUIForCurrentState()= 0;
-
// Called when the reponse to a pending mouse lock request has arrived.
// Returns true if |allowed| is true and the mouse has been successfully
// locked.
« no previous file with comments | « content/browser/webui/web_ui_impl.cc ('k') | content/public/browser/web_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698