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

Side by Side Diff: chrome/browser/ui/gtk/panels/panel_gtk.h

Issue 13853010: Make panels turn on or off shadow effect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
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_PANELS_PANEL_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_PANELS_PANEL_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_PANELS_PANEL_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_PANELS_PANEL_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #include <map> 9 #include <map>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 virtual gfx::Size ContentSizeFromWindowSize( 76 virtual gfx::Size ContentSizeFromWindowSize(
77 const gfx::Size& window_size) const OVERRIDE; 77 const gfx::Size& window_size) const OVERRIDE;
78 virtual int TitleOnlyHeight() const OVERRIDE; 78 virtual int TitleOnlyHeight() const OVERRIDE;
79 virtual bool IsPanelAlwaysOnTop() const OVERRIDE; 79 virtual bool IsPanelAlwaysOnTop() const OVERRIDE;
80 virtual void SetPanelAlwaysOnTop(bool on_top) OVERRIDE; 80 virtual void SetPanelAlwaysOnTop(bool on_top) OVERRIDE;
81 virtual void EnableResizeByMouse(bool enable) OVERRIDE; 81 virtual void EnableResizeByMouse(bool enable) OVERRIDE;
82 virtual void UpdatePanelMinimizeRestoreButtonVisibility() OVERRIDE; 82 virtual void UpdatePanelMinimizeRestoreButtonVisibility() OVERRIDE;
83 virtual void SetWindowCornerStyle(panel::CornerStyle corner_style) OVERRIDE; 83 virtual void SetWindowCornerStyle(panel::CornerStyle corner_style) OVERRIDE;
84 virtual void MinimizePanelBySystem() OVERRIDE; 84 virtual void MinimizePanelBySystem() OVERRIDE;
85 virtual bool IsPanelMinimizedBySystem() const OVERRIDE; 85 virtual bool IsPanelMinimizedBySystem() const OVERRIDE;
86 virtual void SetPanelHasShadow(bool has_shadow) OVERRIDE;
86 87
87 virtual NativePanelTesting* CreateNativePanelTesting() OVERRIDE; 88 virtual NativePanelTesting* CreateNativePanelTesting() OVERRIDE;
88 89
89 // Overridden from ActiveWindowWatcherXObserver. 90 // Overridden from ActiveWindowWatcherXObserver.
90 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; 91 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE;
91 92
92 Panel* panel() const { return panel_.get(); } 93 Panel* panel() const { return panel_.get(); }
93 PaintState paint_state() const { return paint_state_; } 94 PaintState paint_state() const { return paint_state_; }
94 PanelTitlebarGtk* titlebar() const { return titlebar_.get(); } 95 PanelTitlebarGtk* titlebar() const { return titlebar_.get(); }
95 96
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 // The container for the titlebar. 207 // The container for the titlebar.
207 scoped_ptr<PanelTitlebarGtk> titlebar_; 208 scoped_ptr<PanelTitlebarGtk> titlebar_;
208 209
209 // Indicates how the window corner should be rendered, rounded or not. 210 // Indicates how the window corner should be rendered, rounded or not.
210 panel::CornerStyle corner_style_; 211 panel::CornerStyle corner_style_;
211 212
212 DISALLOW_COPY_AND_ASSIGN(PanelGtk); 213 DISALLOW_COPY_AND_ASSIGN(PanelGtk);
213 }; 214 };
214 215
215 #endif // CHROME_BROWSER_UI_GTK_PANELS_PANEL_GTK_H_ 216 #endif // CHROME_BROWSER_UI_GTK_PANELS_PANEL_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698