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

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: Add comments to the top of page_state.h 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 96198fda9b1504d042d24dc01fed21da26afe072..8e4f79412d26746242871672ad59e28535f8b97f 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -34,6 +34,7 @@ class BrowserContext;
class ColorChooser;
class DownloadItem;
class JavaScriptDialogManager;
+class PageState;
class RenderViewHost;
class WebContents;
class WebContentsImpl;
@@ -240,7 +241,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