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

Side by Side Diff: chrome/browser/ui/webui/settings_utils.h

Issue 2000063004: MD Settings: fix favicon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_WEBUI_SETTINGS_UTILS_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_UTILS_H_
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_UTILS_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "ui/base/resource/scale_factor.h"
11 12
12 class GURL; 13 class GURL;
13 14
15 namespace base {
16 class RefCountedMemory;
17 }
18
14 namespace content { 19 namespace content {
15 class WebContents; 20 class WebContents;
16 } 21 }
17 22
18 namespace settings_utils { 23 namespace settings_utils {
19 24
20 // Invoke UI for network proxy settings. 25 // Invoke UI for network proxy settings.
21 void ShowNetworkProxySettings(content::WebContents* web_contents); 26 void ShowNetworkProxySettings(content::WebContents* web_contents);
22 27
23 // Invoke UI for SSL certificates. 28 // Invoke UI for SSL certificates.
24 void ShowManageSSLCertificates(content::WebContents* web_contents); 29 void ShowManageSSLCertificates(content::WebContents* web_contents);
25 30
26 // Returns whether |url_string| is a valid startup page. |fixed_url| is set to 31 // Returns whether |url_string| is a valid startup page. |fixed_url| is set to
27 // the fixed up, valid URL if not null. 32 // the fixed up, valid URL if not null.
28 bool FixupAndValidateStartupPage(const std::string& url_string, 33 bool FixupAndValidateStartupPage(const std::string& url_string,
29 GURL* fixed_url); 34 GURL* fixed_url);
30 35
36 base::RefCountedMemory* GetFaviconResourceBytes(ui::ScaleFactor scale_factor);
37
31 } // namespace settings_utils 38 } // namespace settings_utils
32 39
33 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_UTILS_H_ 40 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/options_ui.cc ('k') | chrome/browser/ui/webui/settings_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698