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

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

Issue 1336823003: Move chrome::HostDesktopType to ui::HostDesktopType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_session_service_delegate_impl
Patch Set: Fix build on Mac and CrOS Created 5 years, 3 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"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void ShowConflicts(Browser* browser); 45 void ShowConflicts(Browser* browser);
46 46
47 // ShowFeedbackPage() uses |browser| to determine the URL of the current tab. 47 // ShowFeedbackPage() uses |browser| to determine the URL of the current tab.
48 // |browser| should be NULL if there are no currently open browser windows. 48 // |browser| should be NULL if there are no currently open browser windows.
49 void ShowFeedbackPage(Browser* browser, 49 void ShowFeedbackPage(Browser* browser,
50 const std::string& description_template, 50 const std::string& description_template,
51 const std::string& category_tag); 51 const std::string& category_tag);
52 52
53 void ShowHelp(Browser* browser, HelpSource source); 53 void ShowHelp(Browser* browser, HelpSource source);
54 void ShowHelpForProfile(Profile* profile, 54 void ShowHelpForProfile(Profile* profile,
55 HostDesktopType host_desktop_type, 55 ui::HostDesktopType host_desktop_type,
56 HelpSource source); 56 HelpSource source);
57 void ShowPolicy(Browser* browser); 57 void ShowPolicy(Browser* browser);
58 void ShowSlow(Browser* browser); 58 void ShowSlow(Browser* browser);
59 void ShowMemory(Browser* browser); 59 void ShowMemory(Browser* browser);
60 60
61 // Constructs a settings GURL for the specified |sub_page|. 61 // Constructs a settings GURL for the specified |sub_page|.
62 GURL GetSettingsUrl(const std::string& sub_page); 62 GURL GetSettingsUrl(const std::string& sub_page);
63 63
64 // Returns true if |url| is the URL for the settings subpage |sub_page|. 64 // Returns true if |url| is the URL for the settings subpage |sub_page|.
65 bool IsSettingsSubPage(const GURL& url, const std::string& sub_page); 65 bool IsSettingsSubPage(const GURL& url, const std::string& sub_page);
(...skipping 27 matching lines...) Expand all
93 93
94 // 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,
95 // otherwise initiates signin in a new browser tab. 95 // otherwise initiates signin in a new browser tab.
96 void ShowBrowserSigninOrSettings(Browser* browser, 96 void ShowBrowserSigninOrSettings(Browser* browser,
97 signin_metrics::Source source); 97 signin_metrics::Source source);
98 #endif 98 #endif
99 99
100 } // namespace chrome 100 } // namespace chrome
101 101
102 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_ 102 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698