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

Side by Side Diff: chrome/browser/ui/webui/options2/advanced_options_utils2.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_OPTIONS2_ADVANCED_OPTIONS_UTILS2_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_ADVANCED_OPTIONS_UTILS2_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_ADVANCED_OPTIONS_UTILS2_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_ADVANCED_OPTIONS_UTILS2_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 namespace options2 { 14 namespace options2 {
13 15
14 // Chrome advanced options utility methods. 16 // Chrome advanced options utility methods.
15 class AdvancedOptionsUtilities { 17 class AdvancedOptionsUtilities {
16 public: 18 public:
17 // Invoke UI for network proxy settings. 19 // Invoke UI for network proxy settings.
18 static void ShowNetworkProxySettings(TabContents*); 20 static void ShowNetworkProxySettings(content::WebContents*);
19 21
20 // Invoke UI for SSL certificates. 22 // Invoke UI for SSL certificates.
21 static void ShowManageSSLCertificates(TabContents*); 23 static void ShowManageSSLCertificates(content::WebContents*);
22 24
23 private: 25 private:
24 DISALLOW_IMPLICIT_CONSTRUCTORS(AdvancedOptionsUtilities); 26 DISALLOW_IMPLICIT_CONSTRUCTORS(AdvancedOptionsUtilities);
25 }; 27 };
26 28
27 } // namespace options2 29 } // namespace options2
28 30
29 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_ADVANCED_OPTIONS_UTILS2_H_ 31 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_ADVANCED_OPTIONS_UTILS2_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698