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
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_
6 #define CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_
8 #include "content/common/accessibility_mode_enums.h"
10 struct FrameMsg_Navigate_Type
{
16 // Reload the page, ignoring any cache entries.
17 RELOAD_IGNORING_CACHE
,
19 // Reload the page using the original request URL.
20 RELOAD_ORIGINAL_REQUEST_URL
,
22 // 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
24 // 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
26 // the page's cache policy is ignored and we load from the cache.
29 // Like RESTORE, except that the navigation contains POST data.
32 // Navigation type not categorized by the other types.
35 // Last guard value, so we can use it for validity checks.
36 NAVIGATE_TYPE_LAST
= NORMAL
,
40 struct FrameMsg_UILoadMetricsReportType
{
43 // Do not report metrics for this load.
46 // Report metrics for this load, that originated from clicking on a link.
49 // Report metrics for this load, that originated from an Android OS intent.
52 REPORT_TYPE_LAST
= REPORT_INTENT
,
56 #endif // CONTENT_COMMON_FRAME_MESSAGE_ENUMS_H_