diff options
author | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-24 22:33:18 +0000 |
---|---|---|
committer | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-24 22:33:18 +0000 |
commit | d142ccd2295cf9a67b5fb001d43ee0e9d01af45b (patch) | |
tree | 6fb23f37ce5b314b217359bd741f7fca749b6418 /content/common/view_message_enums.h | |
parent | de64b92b082ad3ac9af16e76fe9be0331a38a8a6 (diff) | |
download | chromium_src-d142ccd2295cf9a67b5fb001d43ee0e9d01af45b.zip chromium_src-d142ccd2295cf9a67b5fb001d43ee0e9d01af45b.tar.gz chromium_src-d142ccd2295cf9a67b5fb001d43ee0e9d01af45b.tar.bz2 |
Revert 251563 "Move browser initiated navigation from RenderView..."
Speculatively revert to help diagnose bug 345757.
Mainly useful to make it easier to revert r249676, which changes the
lifetime of RenderViewHosts.
> Move browser initiated navigation from RenderViewHost to RenderFrameHost.
>
> BUG=304341
> TBR=jochen@chromium.org
>
> Review URL: https://codereview.chromium.org/148083013
TBR=nasko@chromium.org
Review URL: https://codereview.chromium.org/177713006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253010 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/view_message_enums.h')
-rw-r--r-- | content/common/view_message_enums.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/content/common/view_message_enums.h b/content/common/view_message_enums.h index 4bbd217..c8b3ed0 100644 --- a/content/common/view_message_enums.h +++ b/content/common/view_message_enums.h @@ -26,6 +26,33 @@ struct ViewHostMsg_UpdateRect_Flags { } }; +struct ViewMsg_Navigate_Type { + public: + enum Value { + // Reload the page. + RELOAD, + + // Reload the page, ignoring any cache entries. + RELOAD_IGNORING_CACHE, + + // Reload the page using the original request URL. + RELOAD_ORIGINAL_REQUEST_URL, + + // The navigation is the result of session restore and should honor the + // page's cache policy while restoring form state. This is set to true if + // restoring a tab/session from the previous session and the previous + // session did not crash. If this is not set and the page was restored then + // the page's cache policy is ignored and we load from the cache. + RESTORE, + + // Like RESTORE, except that the navigation contains POST data. + RESTORE_WITH_POST, + + // Navigation type not categorized by the other types. + NORMAL + }; +}; + // Note: keep enums in content/browser/resources/accessibility/accessibility.js // in sync with these two enums. enum AccessibilityModeFlag { |