[Instant] Default Search Provider change redirects to local NTP in some cases
[chromium-blink-merge.git] / content / common / navigation_gesture.h
blob380cd51fff750128236b868b5bfea7761ae16cc7
1 // Copyright (c) 2012 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_NAVIGATION_GESTURE_H_
6 #define CONTENT_COMMON_NAVIGATION_GESTURE_H_
8 namespace content {
10 enum NavigationGesture {
11 // User initiated navigation/load.
12 NavigationGestureUser,
13 // Non-user initiated navigation/load. For example, onload- or
14 // setTimeout-triggered document.location changes and form.submits. See
15 // http://b/1046841 for some cases that should be treated this way but aren't.
16 NavigationGestureAuto,
17 // Initial state.
18 NavigationGestureUnknown,
19 NavigationGestureLast = NavigationGestureUnknown
22 } // namespace content
24 #endif // CONTENT_COMMON_NAVIGATION_GESTURE_H_