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

Unified Diff: chrome/browser/ui/panels/panel_titlebar_view_cocoa.h

Issue 9956145: Remove wrench button from panel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 8 years, 8 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
Index: chrome/browser/ui/panels/panel_titlebar_view_cocoa.h
diff --git a/chrome/browser/ui/panels/panel_titlebar_view_cocoa.h b/chrome/browser/ui/panels/panel_titlebar_view_cocoa.h
index 51205847f4d766b770ba6e202a7a05d887ef0c22..ec0e525170baefb4c5619da6ceaf441bffb7bb8a 100644
--- a/chrome/browser/ui/panels/panel_titlebar_view_cocoa.h
+++ b/chrome/browser/ui/panels/panel_titlebar_view_cocoa.h
@@ -16,7 +16,7 @@
// A class that works as a custom titlebar for Panels. It is placed on top of
// the regular Cocoa titlebar. We paint theme image on it, and it's
-// the place for the close button, wrench button, page favicon, title label.
+// the place for the close button, page favicon, title label.
// It also facilitates dragging and minimization of the panels, and changes
// color as 'new activity' indicator.
// One way to have custom titlebar would be to use NSBorderlessWindow,
@@ -56,10 +56,6 @@ enum PanelDragState {
IBOutlet PanelWindowControllerCocoa* controller_;
IBOutlet NSView* icon_;
IBOutlet NSTextField* title_;
- // Since HoverImageButton manages its own alpha value, we wrap it in a subview
- // so we can animate it with a fade in/fade out effect.
- IBOutlet NSView* settingsButtonWrapper_;
- IBOutlet HoverImageButton* settingsButton_;
// Transparent view on top of entire titlebar. It catches mouse events to
// prevent window activation by the system on mouseDown.
IBOutlet NSView* overlay_;
@@ -90,9 +86,6 @@ enum PanelDragState {
// Callback from Close button.
- (void)onCloseButtonClick:(id)sender;
- // Callback from Settings button.
-- (void)onSettingsButtonClick:(id)sender;
-
// Attaches this view to the controller_'s window as a titlebar.
- (void)attach;
@@ -116,10 +109,6 @@ enum PanelDragState {
- (void)endDrag:(BOOL)cancelled;
- (void)drag:(NSPoint)mouseLocation;
- // Update the visibility of settings button.
-- (void)updateSettingsButtonVisibility:(BOOL)mouseOverWindow;
-- (void)checkMouseAndUpdateSettingsButtonVisibility;
-
// Draw Attention methods - change appearance of titlebar to attract user.
- (void)drawAttention;
- (void)stopDrawingAttention;
« no previous file with comments | « chrome/browser/ui/panels/panel_settings_menu_model.cc ('k') | chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698