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

Unified Diff: chrome/browser/ui/panels/panel_browser_window_cocoa.mm

Issue 10483010: Change the visual appearance of panel on GTK per new UI design. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 8 years, 6 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 | « chrome/browser/ui/panels/panel_browser_view.cc ('k') | chrome/browser/ui/panels/panel_browser_window_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_browser_window_cocoa.mm
diff --git a/chrome/browser/ui/panels/panel_browser_window_cocoa.mm b/chrome/browser/ui/panels/panel_browser_window_cocoa.mm
index e9ceeed927abf9abe4ddc4652e0434f06e4de7a4..0483825d26a82d3b2e07f040e1c1919404a0c68b 100644
--- a/chrome/browser/ui/panels/panel_browser_window_cocoa.mm
+++ b/chrome/browser/ui/panels/panel_browser_window_cocoa.mm
@@ -364,7 +364,8 @@ class NativePanelTestingCocoa : public NativePanelTesting {
virtual bool VerifyActiveState(bool is_active) OVERRIDE;
virtual bool IsWindowSizeKnown() const OVERRIDE;
virtual bool IsAnimatingBounds() const OVERRIDE;
- virtual bool IsButtonVisible(TitlebarButtonType button_type) const OVERRIDE;
+ virtual bool IsButtonVisible(
+ panel::TitlebarButtonType button_type) const OVERRIDE;
private:
PanelTitlebarViewCocoa* titlebar() const;
@@ -438,13 +439,13 @@ bool NativePanelTestingCocoa::IsAnimatingBounds() const {
}
bool NativePanelTestingCocoa::IsButtonVisible(
- TitlebarButtonType button_type) const {
+ panel::TitlebarButtonType button_type) const {
switch (button_type) {
- case CLOSE_BUTTON:
+ case panel::CLOSE_BUTTON:
return ![[titlebar() closeButton] isHidden];
- case MINIMIZE_BUTTON:
+ case panel::MINIMIZE_BUTTON:
return ![[titlebar() minimizeButton] isHidden];
- case RESTORE_BUTTON:
+ case panel::RESTORE_BUTTON:
return ![[titlebar() restoreButton] isHidden];
default:
NOTREACHED();
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_view.cc ('k') | chrome/browser/ui/panels/panel_browser_window_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698