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

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

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « content/common/message_router.h ('k') | content/common/net/url_request_user_data.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 (c) 2010 The Chromium Authors. All rights reserved. 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 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_NAVIGATION_GESTURE_H_ 5 #ifndef CONTENT_COMMON_NAVIGATION_GESTURE_H_
6 #define CONTENT_COMMON_NAVIGATION_GESTURE_H_ 6 #define CONTENT_COMMON_NAVIGATION_GESTURE_H_
7 #pragma once
8 7
9 enum NavigationGesture { 8 enum NavigationGesture {
10 // User initiated navigation/load. 9 // User initiated navigation/load.
11 NavigationGestureUser, 10 NavigationGestureUser,
12 // Non-user initiated navigation/load. For example, onload- or 11 // Non-user initiated navigation/load. For example, onload- or
13 // setTimeout-triggered document.location changes and form.submits. See 12 // 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. 13 // http://b/1046841 for some cases that should be treated this way but aren't.
15 NavigationGestureAuto, 14 NavigationGestureAuto,
16 // Initial state. 15 // Initial state.
17 NavigationGestureUnknown, 16 NavigationGestureUnknown,
18 }; 17 };
19 18
20 #endif // CONTENT_COMMON_NAVIGATION_GESTURE_H_ 19 #endif // CONTENT_COMMON_NAVIGATION_GESTURE_H_
OLDNEW
« no previous file with comments | « content/common/message_router.h ('k') | content/common/net/url_request_user_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698