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

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

Issue 14985014: Introduce content::PageState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compilation issues. Created 7 years, 7 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
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index 60732ceb0905956441182ff4b3973dcaa67357af..260184e4b4a835c0cff97e184fc753e3187d48dd 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -33,6 +33,7 @@ class BrowserContext;
class ColorChooser;
class DownloadItem;
class JavaScriptDialogManager;
+class PageState;
class RenderViewHost;
class WebContents;
class WebContentsImpl;
@@ -239,7 +240,7 @@ class CONTENT_EXPORT WebContentsDelegate {
// Opens source view for the given subframe.
virtual void ViewSourceForFrame(WebContents* source,
const GURL& url,
- const std::string& content_state);
+ const PageState& page_state);
// Allows delegates to handle keyboard events before sending to the renderer.
// Returns true if the |event| was handled. Otherwise, if the |event| would be

Powered by Google App Engine
This is Rietveld 408576698