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

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

Issue 2557633003: content::ReloadType cleanup: make NORMAL behave as MAIN_RESOURCE (Closed)
Patch Set: comment update Created 4 years 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
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/public/browser/reload_type.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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. 16 // Reload the page, validating only cache entry for the main resource.
17 // TODO(toyoshim): We should rename this one to be RELOAD and remove the old
18 // unused RELOAD behavior.
17 RELOAD_MAIN_RESOURCE, 19 RELOAD_MAIN_RESOURCE,
18 20
19 // Reload the page, bypassing any cache entries. 21 // Reload the page, bypassing any cache entries.
20 RELOAD_BYPASSING_CACHE, 22 RELOAD_BYPASSING_CACHE,
21 23
22 // Reload the page using the original request URL. 24 // Reload the page using the original request URL.
23 RELOAD_ORIGINAL_REQUEST_URL, 25 RELOAD_ORIGINAL_REQUEST_URL,
24 26
25 // The navigation is the result of session restore and should honor the 27 // The navigation is the result of session restore and should honor the
26 // page's cache policy while restoring form state. This is set to true if 28 // page's cache policy while restoring form state. This is set to true if
(...skipping 23 matching lines...) Expand all
50 REPORT_LINK, 52 REPORT_LINK,
51 53
52 // Report metrics for this load, that originated from an Android OS intent. 54 // Report metrics for this load, that originated from an Android OS intent.
53 REPORT_INTENT, 55 REPORT_INTENT,
54 56
55 REPORT_TYPE_LAST = REPORT_INTENT, 57 REPORT_TYPE_LAST = REPORT_INTENT,
56 }; 58 };
57 }; 59 };
58 60
59 #endif // CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_ 61 #endif // CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/public/browser/reload_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698