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

Unified Diff: chrome/browser/ui/panels/panel_browser_view.cc

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: Patch 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
Index: chrome/browser/ui/panels/panel_browser_view.cc
diff --git a/chrome/browser/ui/panels/panel_browser_view.cc b/chrome/browser/ui/panels/panel_browser_view.cc
index 34a893d344fb489bc6645fb688f5f1fc9669427e..94c9719f4beac80db4f7eb7660c3f6a4f45bbd76 100644
--- a/chrome/browser/ui/panels/panel_browser_view.cc
+++ b/chrome/browser/ui/panels/panel_browser_view.cc
@@ -613,7 +613,8 @@ class NativePanelTestingWin : 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;
PanelBrowserView* panel_browser_view_;
};
@@ -673,15 +674,15 @@ bool NativePanelTestingWin::IsAnimatingBounds() const {
}
bool NativePanelTestingWin::IsButtonVisible(
- TitlebarButtonType button_type) const {
+ panel::TitlebarButtonType button_type) const {
PanelBrowserFrameView* frame_view = panel_browser_view_->GetFrameView();
switch (button_type) {
- case CLOSE_BUTTON:
+ case panel::CLOSE_BUTTON:
return frame_view->close_button_->visible();
- case MINIMIZE_BUTTON:
+ case panel::MINIMIZE_BUTTON:
return frame_view->minimize_button_->visible();
- case RESTORE_BUTTON:
+ case panel::RESTORE_BUTTON:
return frame_view->restore_button_->visible();
default:
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698