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

Unified Diff: chrome/browser/ui/webui/options/advanced_options_utils_mac.mm

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 9 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/advanced_options_utils_mac.mm
===================================================================
--- chrome/browser/ui/webui/options/advanced_options_utils_mac.mm (revision 116011)
+++ chrome/browser/ui/webui/options/advanced_options_utils_mac.mm (working copy)
@@ -9,8 +9,10 @@
#include "base/logging.h"
#include "base/mac/scoped_aedesc.h"
+using content::WebContents;
+
void AdvancedOptionsUtilities::ShowNetworkProxySettings(
- TabContents* tab_contents) {
+ WebContents* web_contents) {
NSArray* itemsToOpen = [NSArray arrayWithObject:[NSURL fileURLWithPath:
@"/System/Library/PreferencePanes/Network.prefPane"]];
@@ -30,7 +32,7 @@
}
void AdvancedOptionsUtilities::ShowManageSSLCertificates(
- TabContents* tab_contents) {
+ WebContents* web_contents) {
NSString* const kKeychainBundleId = @"com.apple.keychainaccess";
[[NSWorkspace sharedWorkspace]
launchAppWithBundleIdentifier:kKeychainBundleId

Powered by Google App Engine
This is Rietveld 408576698