OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_CHROME_PAGES_H_ | 5 #ifndef CHROME_BROWSER_UI_CHROME_PAGES_H_ |
6 #define CHROME_BROWSER_UI_CHROME_PAGES_H_ | 6 #define CHROME_BROWSER_UI_CHROME_PAGES_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "components/content_settings/core/common/content_settings_types.h" | 13 #include "components/content_settings/core/common/content_settings_types.h" |
14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
15 | 15 |
16 #if !defined(OS_ANDROID) | 16 #if !defined(OS_ANDROID) |
17 #include "chrome/browser/signin/signin_promo.h" | 17 #include "chrome/browser/signin/signin_promo.h" |
18 #endif | 18 #endif |
19 | 19 |
20 class Browser; | 20 class Browser; |
21 class Profile; | 21 class Profile; |
22 | 22 |
23 namespace content { | |
24 class WebContents; | |
25 } | |
26 | |
27 namespace chrome { | 23 namespace chrome { |
28 | 24 |
29 // Sources of requests to show the help tab. | 25 // Sources of requests to show the help tab. |
30 enum HelpSource { | 26 enum HelpSource { |
31 // Keyboard accelerators. | 27 // Keyboard accelerators. |
32 HELP_SOURCE_KEYBOARD, | 28 HELP_SOURCE_KEYBOARD, |
33 | 29 |
34 // Menus (e.g. app menu or Chrome OS system menu). | 30 // Menus (e.g. app menu or Chrome OS system menu). |
35 HELP_SOURCE_MENU, | 31 HELP_SOURCE_MENU, |
36 | 32 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 93 |
98 // If the user is already signed in, shows the "Signin" portion of Settings, | 94 // If the user is already signed in, shows the "Signin" portion of Settings, |
99 // otherwise initiates signin in a new browser tab. | 95 // otherwise initiates signin in a new browser tab. |
100 void ShowBrowserSigninOrSettings(Browser* browser, | 96 void ShowBrowserSigninOrSettings(Browser* browser, |
101 signin_metrics::AccessPoint access_point); | 97 signin_metrics::AccessPoint access_point); |
102 #endif | 98 #endif |
103 | 99 |
104 } // namespace chrome | 100 } // namespace chrome |
105 | 101 |
106 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_ | 102 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_ |
OLD | NEW |