summaryrefslogtreecommitdiffstats
path: root/ash/shell/panel_window.cc
diff options
context:
space:
mode:
authordslomov@chromium.org <dslomov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-17 06:56:16 +0000
committerdslomov@chromium.org <dslomov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-17 06:56:16 +0000
commiteb642f3f766d0cfc60877a625023b6b2dfeb114f (patch)
treefb92520c3891685e3feee1313f22fdbd3e2c0a3a /ash/shell/panel_window.cc
parentd4421f54c53212824d59d2763b8d4e3f231e3434 (diff)
downloadchromium_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.cc5
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