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

Unified Diff: ash/wm/panel_frame_view.h

Issue 11363250: Allow Chrome apps to create Ash Panels (apps v2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac and win builds Created 8 years, 1 month 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 | « ash/shell/panel_window.cc ('k') | ash/wm/panel_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/panel_frame_view.h
diff --git a/ash/wm/panel_frame_view.h b/ash/wm/panel_frame_view.h
index 20ab18b3f22793ac6d5d7a1ca6333f48a307e80a..248eec5406c37d3d27f7f18cc3f29dd1f66943d2 100644
--- a/ash/wm/panel_frame_view.h
+++ b/ash/wm/panel_frame_view.h
@@ -22,10 +22,17 @@ class FramePainter;
class ASH_EXPORT PanelFrameView : public views::NonClientFrameView,
public views::ButtonListener {
public:
- explicit PanelFrameView(views::Widget* frame);
+ enum FrameType {
+ FRAME_NONE,
+ FRAME_ASH
+ };
+
+ PanelFrameView(views::Widget* frame, FrameType frame_type);
virtual ~PanelFrameView();
private:
+ void InitFramePainter(views::Widget* frame);
+
// Overridden from views::NonClientFrameView:
virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
virtual gfx::Rect GetWindowBoundsForClientBounds(
« no previous file with comments | « ash/shell/panel_window.cc ('k') | ash/wm/panel_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698