| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2010 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. | |
| 4 | |
| 5 #ifndef CHROME_COMMON_NAVIGATION_GESTURE_H_ | |
| 6 #define CHROME_COMMON_NAVIGATION_GESTURE_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 enum NavigationGesture { | |
| 10 // User initiated navigation/load. | |
| 11 NavigationGestureUser, | |
| 12 // Non-user initiated navigation/load. For example, onload- or | |
| 13 // setTimeout-triggered document.location changes and form.submits. See | |
| 14 // http://b/1046841 for some cases that should be treated this way but aren't. | |
| 15 NavigationGestureAuto, | |
| 16 // Initial state. | |
| 17 NavigationGestureUnknown, | |
| 18 }; | |
| 19 | |
| 20 #endif // CHROME_COMMON_NAVIGATION_GESTURE_H_ | |
| OLD | NEW |