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

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

Issue 10978016: Remove two functions on WebContentsDelegate which didn't belong in content. They were only called f… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: nits and fixed prerender browser tests Created 8 years, 3 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
Index: content/public/browser/web_contents_delegate.h
===================================================================
--- content/public/browser/web_contents_delegate.h (revision 158566)
+++ content/public/browser/web_contents_delegate.h (working copy)
@@ -49,10 +49,6 @@
class Size;
}
-namespace history {
-struct HistoryAddPageArgs;
-}
-
namespace webkit_glue {
struct WebIntentData;
struct WebIntentServiceData;
@@ -160,10 +156,6 @@
// Request the delegate to change the zoom level of the current tab.
virtual void ContentsZoomChange(bool zoom_in) {}
- // Check whether this contents is inside a window dedicated to running a web
- // application.
- virtual bool IsApplication() const;
-
// Check whether this contents is permitted to load data URLs in WebUI mode.
// This is normally disallowed for security.
virtual bool CanLoadDataURLsInWebUI() const;
@@ -284,12 +276,6 @@
// Returns true to allow WebContents to continue with the default processing.
virtual bool OnGoToEntryOffset(int offset);
- // Returns whether this WebContents should add the specified navigation to
- // history.
- virtual bool ShouldAddNavigationToHistory(
- const history::HistoryAddPageArgs& add_page_args,
- NavigationType navigation_type);
-
// Returns the native window framing the view containing the WebContents.
virtual gfx::NativeWindow GetFrameNativeWindow();

Powered by Google App Engine
This is Rietveld 408576698