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_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 Loading... |
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_ |
OLD | NEW |