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

Side by Side Diff: content/common/frame_message_enums.h

Issue 1975753006: Pull to refresh: Use new reload type RELOAD_MAIN_RESOURCE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review #14 and #16 Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_ 5 #ifndef CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_
6 #define CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_ 6 #define CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_
7 7
8 #include "content/common/accessibility_mode_enums.h" 8 #include "content/common/accessibility_mode_enums.h"
9 9
10 struct FrameMsg_Navigate_Type { 10 struct FrameMsg_Navigate_Type {
11 public: 11 public:
12 enum Value { 12 enum Value {
13 // Reload the page, validating cache entries. 13 // Reload the page, validating cache entries.
14 RELOAD, 14 RELOAD,
15 15
16 // Reload the page, validating only cache entry for the main resource.
17 RELOAD_MAIN_RESOURCE,
18
16 // Reload the page, bypassing any cache entries. 19 // Reload the page, bypassing any cache entries.
17 RELOAD_BYPASSING_CACHE, 20 RELOAD_BYPASSING_CACHE,
18 21
19 // Reload the page using the original request URL. 22 // Reload the page using the original request URL.
20 RELOAD_ORIGINAL_REQUEST_URL, 23 RELOAD_ORIGINAL_REQUEST_URL,
21 24
22 // The navigation is the result of session restore and should honor the 25 // The navigation is the result of session restore and should honor the
23 // page's cache policy while restoring form state. This is set to true if 26 // page's cache policy while restoring form state. This is set to true if
24 // restoring a tab/session from the previous session and the previous 27 // restoring a tab/session from the previous session and the previous
25 // session did not crash. If this is not set and the page was restored then 28 // session did not crash. If this is not set and the page was restored then
(...skipping 21 matching lines...) Expand all
47 REPORT_LINK, 50 REPORT_LINK,
48 51
49 // Report metrics for this load, that originated from an Android OS intent. 52 // Report metrics for this load, that originated from an Android OS intent.
50 REPORT_INTENT, 53 REPORT_INTENT,
51 54
52 REPORT_TYPE_LAST = REPORT_INTENT, 55 REPORT_TYPE_LAST = REPORT_INTENT,
53 }; 56 };
54 }; 57 };
55 58
56 #endif // CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_ 59 #endif // CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/public/browser/navigation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698