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

Side by Side Diff: content/public/browser/navigation_type.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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PUBLIC_BROWSER_NAVIGATION_TYPE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_TYPE_H_
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_TYPE_H_ 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_TYPE_H_
7 #pragma once
8 7
9 namespace content { 8 namespace content {
10 9
11 // Indicates different types of navigations that can occur that we will handle 10 // Indicates different types of navigations that can occur that we will handle
12 // separately. 11 // separately.
13 enum NavigationType { 12 enum NavigationType {
14 // Unknown type. 13 // Unknown type.
15 NAVIGATION_TYPE_UNKNOWN, 14 NAVIGATION_TYPE_UNKNOWN,
16 15
17 // A new page was navigated in the main frame. 16 // A new page was navigated in the main frame.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 50
52 // Nothing happened. This happens when we get information about a page we 51 // Nothing happened. This happens when we get information about a page we
53 // don't know anything about. It can also happen when an iframe in a popup 52 // don't know anything about. It can also happen when an iframe in a popup
54 // navigated to about:blank is navigated. Nothing needs to be done. 53 // navigated to about:blank is navigated. Nothing needs to be done.
55 NAVIGATION_TYPE_NAV_IGNORE, 54 NAVIGATION_TYPE_NAV_IGNORE,
56 }; 55 };
57 56
58 } // namespace content 57 } // namespace content
59 58
60 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_TYPE_H_ 59 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_TYPE_H_
OLDNEW
« no previous file with comments | « content/public/browser/navigation_entry.h ('k') | content/public/browser/notification_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698