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

Side by Side Diff: chrome/browser/ui/webui/options/advanced_options_utils.h

Issue 9003014: Replace WebUI::tab_contents() with web_contents() and switch all users to use web_contents.h inst... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_OPTIONS_ADVANCED_OPTIONS_UTILS_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_UTILS_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_UTILS_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_UTILS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 class TabContents; 10 namespace content {
11 class WebContents;
12 }
11 13
12 // Chrome advanced options utility methods. 14 // Chrome advanced options utility methods.
13 class AdvancedOptionsUtilities { 15 class AdvancedOptionsUtilities {
14 public: 16 public:
15 // Invoke UI for network proxy settings. 17 // Invoke UI for network proxy settings.
16 static void ShowNetworkProxySettings(TabContents*); 18 static void ShowNetworkProxySettings(content::WebContents*);
17 19
18 // Invoke UI for SSL certificates. 20 // Invoke UI for SSL certificates.
19 static void ShowManageSSLCertificates(TabContents*); 21 static void ShowManageSSLCertificates(content::WebContents*);
20 22
21 private: 23 private:
22 DISALLOW_IMPLICIT_CONSTRUCTORS(AdvancedOptionsUtilities); 24 DISALLOW_IMPLICIT_CONSTRUCTORS(AdvancedOptionsUtilities);
23 }; 25 };
24 26
25 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_UTILS_H_ 27 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698