diff options
author | dslomov@chromium.org <dslomov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-17 06:56:16 +0000 |
---|---|---|
committer | dslomov@chromium.org <dslomov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-17 06:56:16 +0000 |
commit | eb642f3f766d0cfc60877a625023b6b2dfeb114f (patch) | |
tree | fb92520c3891685e3feee1313f22fdbd3e2c0a3a /ash/shell/panel_window.cc | |
parent | d4421f54c53212824d59d2763b8d4e3f231e3434 (diff) | |
download | chromium_src-eb642f3f766d0cfc60877a625023b6b2dfeb114f.zip chromium_src-eb642f3f766d0cfc60877a625023b6b2dfeb114f.tar.gz chromium_src-eb642f3f766d0cfc60877a625023b6b2dfeb114f.tar.bz2 |
Use FramePainter for painting PanelViewFrame
BUG=
TEST=
Review URL: http://codereview.chromium.org/9700044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127350 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell/panel_window.cc')
-rw-r--r-- | ash/shell/panel_window.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ash/shell/panel_window.cc b/ash/shell/panel_window.cc index 8606a19..e5d68ac 100644 --- a/ash/shell/panel_window.cc +++ b/ash/shell/panel_window.cc @@ -74,8 +74,9 @@ bool PanelWindow::CanMaximize() const { return false; } -views::NonClientFrameView* PanelWindow::CreateNonClientFrameView() { - return new PanelFrameView(); +views::NonClientFrameView* PanelWindow::CreateNonClientFrameView( + views::Widget* widget) { + return new PanelFrameView(widget); } } // namespace ash |