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

Side by Side Diff: chrome/browser/ui/gtk/browser_window_gtk.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/gtk/browser_titlebar.cc ('k') | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 PLAIN_TEXT 55 PLAIN_TEXT
56 }; 56 };
57 57
58 explicit BrowserWindowGtk(Browser* browser); 58 explicit BrowserWindowGtk(Browser* browser);
59 virtual ~BrowserWindowGtk(); 59 virtual ~BrowserWindowGtk();
60 60
61 // Separating initialization from constructor allows invocation of virtual 61 // Separating initialization from constructor allows invocation of virtual
62 // functions during initialization. 62 // functions during initialization.
63 virtual void Init(); 63 virtual void Init();
64 64
65 // Shows the settings menu when the settings button, if present, is clicked.
66 // This is currently only used in panel window.
67 virtual void ShowSettingsMenu(GtkWidget* widget, GdkEventButton* event);
68
69 // Allows for a derived class to decorate title text with pango markup. 65 // Allows for a derived class to decorate title text with pango markup.
70 // Returns the type of text used for title. 66 // Returns the type of text used for title.
71 virtual TitleDecoration GetWindowTitle(std::string* title) const; 67 virtual TitleDecoration GetWindowTitle(std::string* title) const;
72 68
73 // Gives a derived class a way to control visibility of close button. 69 // Gives a derived class a way to control visibility of close button.
74 // Returns true if close button should be visible. 70 // Returns true if close button should be visible.
75 virtual bool ShouldShowCloseButton() const; 71 virtual bool ShouldShowCloseButton() const;
76 72
77 // Overridden from BrowserWindow: 73 // Overridden from BrowserWindow:
78 virtual void Show() OVERRIDE; 74 virtual void Show() OVERRIDE;
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 bool debounce_timer_disabled_; 575 bool debounce_timer_disabled_;
580 576
581 FullscreenExitBubbleType fullscreen_exit_bubble_type_; 577 FullscreenExitBubbleType fullscreen_exit_bubble_type_;
582 578
583 content::NotificationRegistrar registrar_; 579 content::NotificationRegistrar registrar_;
584 580
585 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 581 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
586 }; 582 };
587 583
588 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 584 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_titlebar.cc ('k') | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698