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 <string> | 8 #include <string> |
9 | 9 |
10 #include "chrome/browser/ui/host_desktop.h" | 10 #include "chrome/browser/ui/host_desktop.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 class WebContents; | 21 class WebContents; |
22 } | 22 } |
23 | 23 |
24 namespace chrome { | 24 namespace chrome { |
25 | 25 |
26 // Sources of requests to show the help tab. | 26 // Sources of requests to show the help tab. |
27 enum HelpSource { | 27 enum HelpSource { |
28 // Keyboard accelerators. | 28 // Keyboard accelerators. |
29 HELP_SOURCE_KEYBOARD, | 29 HELP_SOURCE_KEYBOARD, |
30 | 30 |
31 // Menus (e.g. wrench menu or Chrome OS system menu). | 31 // Menus (e.g. app menu or Chrome OS system menu). |
32 HELP_SOURCE_MENU, | 32 HELP_SOURCE_MENU, |
33 | 33 |
34 // WebUI (the "About" page). | 34 // WebUI (the "About" page). |
35 HELP_SOURCE_WEBUI, | 35 HELP_SOURCE_WEBUI, |
36 }; | 36 }; |
37 | 37 |
38 | 38 |
39 void ShowBookmarkManager(Browser* browser); | 39 void ShowBookmarkManager(Browser* browser); |
40 void ShowBookmarkManagerForNode(Browser* browser, int64 node_id); | 40 void ShowBookmarkManagerForNode(Browser* browser, int64 node_id); |
41 void ShowHistory(Browser* browser); | 41 void ShowHistory(Browser* browser); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 97 |
98 // If the user is already signed in, shows the "Signin" portion of Settings, | 98 // If the user is already signed in, shows the "Signin" portion of Settings, |
99 // otherwise initiates signin in a new browser tab. | 99 // otherwise initiates signin in a new browser tab. |
100 void ShowBrowserSigninOrSettings(Browser* browser, | 100 void ShowBrowserSigninOrSettings(Browser* browser, |
101 signin_metrics::AccessPoint access_point); | 101 signin_metrics::AccessPoint access_point); |
102 #endif | 102 #endif |
103 | 103 |
104 } // namespace chrome | 104 } // namespace chrome |
105 | 105 |
106 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_ | 106 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_ |
OLD | NEW |