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

Unified Diff: chrome/browser/cocoa/browser_window_controller.mm

Issue 206030: disable extension bar for now (Closed)
Patch Set: Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/browser_window_controller.mm
diff --git a/chrome/browser/cocoa/browser_window_controller.mm b/chrome/browser/cocoa/browser_window_controller.mm
index 38c5b4c0806c707563d98bf7707b3087de2a60ea..097972d68f98993155a0551b3ca7ccaf3a88d2b5 100644
--- a/chrome/browser/cocoa/browser_window_controller.mm
+++ b/chrome/browser/cocoa/browser_window_controller.mm
@@ -190,15 +190,17 @@ willPositionSheet:(NSWindow*)sheet
}
[[[self window] contentView] addSubview:[toolbarController_ view]];
- if (browser_->SupportsWindowFeature(Browser::FEATURE_EXTENSIONSHELF)) {
- // Create the extension shelf.
- extensionShelfController_.reset([[ExtensionShelfController alloc]
- initWithBrowser:browser_.get()
- resizeDelegate:self]);
- [[[self window] contentView] addSubview:[extensionShelfController_ view]];
- [extensionShelfController_ wasInsertedIntoWindow];
- [extensionShelfController_ show:nil];
- }
+ // TODO(thakis): Turn this back on when the extension bar doesn't show up
+ // if you don't have toolstrips installed.
+// if (browser_->SupportsWindowFeature(Browser::FEATURE_EXTENSIONSHELF)) {
pink (ping after 24hrs) 2009/09/16 16:21:56 this should be #if 0 rather than commenting out ea
+// // Create the extension shelf.
+// extensionShelfController_.reset([[ExtensionShelfController alloc]
+// initWithBrowser:browser_.get()
+// resizeDelegate:self]);
+// [[[self window] contentView] addSubview:[extensionShelfController_ view]];
+// [extensionShelfController_ wasInsertedIntoWindow];
+// [extensionShelfController_ show:nil];
+// }
[self fixWindowGradient];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698