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

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

Issue 1722493002: Project Eraser: Kill chrome://memory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix chrome_browser_ui.gypi. Created 4 years, 9 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
« no previous file with comments | « chrome/browser/task_manager/task_manager.cc ('k') | chrome/browser/ui/chrome_pages.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void ShowFeedbackPage(Browser* browser, 52 void ShowFeedbackPage(Browser* browser,
53 const std::string& description_template, 53 const std::string& description_template,
54 const std::string& category_tag); 54 const std::string& category_tag);
55 55
56 void ShowHelp(Browser* browser, HelpSource source); 56 void ShowHelp(Browser* browser, HelpSource source);
57 void ShowHelpForProfile(Profile* profile, 57 void ShowHelpForProfile(Profile* profile,
58 HostDesktopType host_desktop_type, 58 HostDesktopType host_desktop_type,
59 HelpSource source); 59 HelpSource source);
60 void ShowPolicy(Browser* browser); 60 void ShowPolicy(Browser* browser);
61 void ShowSlow(Browser* browser); 61 void ShowSlow(Browser* browser);
62 void ShowMemory(Browser* browser);
63 62
64 // Constructs a settings GURL for the specified |sub_page|. 63 // Constructs a settings GURL for the specified |sub_page|.
65 GURL GetSettingsUrl(const std::string& sub_page); 64 GURL GetSettingsUrl(const std::string& sub_page);
66 65
67 // Returns true if |url| is the URL for the settings subpage |sub_page|. 66 // Returns true if |url| is the URL for the settings subpage |sub_page|.
68 bool IsSettingsSubPage(const GURL& url, const std::string& sub_page); 67 bool IsSettingsSubPage(const GURL& url, const std::string& sub_page);
69 68
70 // Returns true if |browser| is a trusted popup window containing a page with 69 // Returns true if |browser| is a trusted popup window containing a page with
71 // matching |scheme| (or any trusted popup if |scheme| is empty). 70 // matching |scheme| (or any trusted popup if |scheme| is empty).
72 bool IsTrustedPopupWindowWithScheme(const Browser* browser, 71 bool IsTrustedPopupWindowWithScheme(const Browser* browser,
(...skipping 27 matching lines...) Expand all
100 99
101 // If the user is already signed in, shows the "Signin" portion of Settings, 100 // If the user is already signed in, shows the "Signin" portion of Settings,
102 // otherwise initiates signin in a new browser tab. 101 // otherwise initiates signin in a new browser tab.
103 void ShowBrowserSigninOrSettings(Browser* browser, 102 void ShowBrowserSigninOrSettings(Browser* browser,
104 signin_metrics::AccessPoint access_point); 103 signin_metrics::AccessPoint access_point);
105 #endif 104 #endif
106 105
107 } // namespace chrome 106 } // namespace chrome
108 107
109 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_ 108 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/task_manager.cc ('k') | chrome/browser/ui/chrome_pages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698