OLD | NEW |
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_TYPES_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_TYPE_H_ |
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_TYPES_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_TYPE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
11 // Indicates different types of navigations that can occur that we will handle | 11 // Indicates different types of navigations that can occur that we will handle |
12 // separately. | 12 // separately. |
13 enum NavigationType { | 13 enum NavigationType { |
14 // Unknown type. | 14 // Unknown type. |
15 NAVIGATION_TYPE_UNKNOWN, | 15 NAVIGATION_TYPE_UNKNOWN, |
16 | 16 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 NAVIGATION_TYPE_AUTO_SUBFRAME, | 50 NAVIGATION_TYPE_AUTO_SUBFRAME, |
51 | 51 |
52 // Nothing happened. This happens when we get information about a page we | 52 // 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 | 53 // 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. | 54 // navigated to about:blank is navigated. Nothing needs to be done. |
55 NAVIGATION_TYPE_NAV_IGNORE, | 55 NAVIGATION_TYPE_NAV_IGNORE, |
56 }; | 56 }; |
57 | 57 |
58 } // namespace content | 58 } // namespace content |
59 | 59 |
60 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_TYPES_H_ | 60 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_TYPE_H_ |
OLD | NEW |