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

Side by Side Diff: chrome/browser/ui/chrome_pages.h

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
OLDNEW
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"
11 #include "components/content_settings/core/common/content_settings_types.h" 11 #include "components/content_settings/core/common/content_settings_types.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 #if !defined(OS_ANDROID) && !defined(OS_IOS) 14 #if !defined(OS_IOS)
15 #include "chrome/browser/signin/signin_promo.h" 15 #include "chrome/browser/signin/signin_promo.h"
16 #endif 16 #endif
17 17
18 class Browser; 18 class Browser;
19 class Profile;
19 20
20 namespace content { 21 namespace content {
21 class WebContents; 22 class WebContents;
22 } 23 }
23 24
24 namespace chrome { 25 namespace chrome {
25 26
26 // Sources of requests to show the help tab. 27 // Sources of requests to show the help tab.
27 enum HelpSource { 28 enum HelpSource {
28 // Keyboard accelerators. 29 // Keyboard accelerators.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void ShowContentSettings(Browser* browser, 81 void ShowContentSettings(Browser* browser,
81 ContentSettingsType content_settings_type); 82 ContentSettingsType content_settings_type);
82 void ShowSettingsSubPageInTabbedBrowser(Browser* browser, 83 void ShowSettingsSubPageInTabbedBrowser(Browser* browser,
83 const std::string& sub_page); 84 const std::string& sub_page);
84 void ShowClearBrowsingDataDialog(Browser* browser); 85 void ShowClearBrowsingDataDialog(Browser* browser);
85 void ShowPasswordManager(Browser* browser); 86 void ShowPasswordManager(Browser* browser);
86 void ShowImportDialog(Browser* browser); 87 void ShowImportDialog(Browser* browser);
87 void ShowAboutChrome(Browser* browser); 88 void ShowAboutChrome(Browser* browser);
88 void ShowSearchEngineSettings(Browser* browser); 89 void ShowSearchEngineSettings(Browser* browser);
89 90
90 #if !defined(OS_ANDROID) && !defined(OS_IOS) 91 #if !defined(OS_IOS)
91 // Initiates signin in a new browser tab. 92 // Initiates signin in a new browser tab.
92 void ShowBrowserSignin(Browser* browser, signin_metrics::Source source); 93 void ShowBrowserSignin(Browser* browser, signin_metrics::Source source);
93 94
94 // If the user is already signed in, shows the "Signin" portion of Settings, 95 // If the user is already signed in, shows the "Signin" portion of Settings,
95 // otherwise initiates signin in a new browser tab. 96 // otherwise initiates signin in a new browser tab.
96 void ShowBrowserSigninOrSettings(Browser* browser, 97 void ShowBrowserSigninOrSettings(Browser* browser,
97 signin_metrics::Source source); 98 signin_metrics::Source source);
98 #endif 99 #endif
99 100
100 } // namespace chrome 101 } // namespace chrome
101 102
102 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_ 103 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698