summaryrefslogtreecommitdiffstats
path: root/ui/views/window/custom_frame_view.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-04 17:07:15 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-04 17:07:15 +0000
commitca8fac11debc908d4fd8c57aecd8186d2245562c (patch)
tree4b2938e2cbf6005d3f86b6b8fac529b307c3a851 /ui/views/window/custom_frame_view.h
parent3fa4b2090c00cb0eb501c4ee579e759a5dd2e00b (diff)
downloadchromium_src-ca8fac11debc908d4fd8c57aecd8186d2245562c.zip
chromium_src-ca8fac11debc908d4fd8c57aecd8186d2245562c.tar.gz
chromium_src-ca8fac11debc908d4fd8c57aecd8186d2245562c.tar.bz2
views: Get rid of WidgetDelegate::ShouldShowClientEdge().
This always returns true and nobody is overriding it. So this patch removes it altogether. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9965090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130651 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/window/custom_frame_view.h')
-rw-r--r--ui/views/window/custom_frame_view.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/views/window/custom_frame_view.h b/ui/views/window/custom_frame_view.h
index 8ddc6ea..aced021 100644
--- a/ui/views/window/custom_frame_view.h
+++ b/ui/views/window/custom_frame_view.h
@@ -83,7 +83,7 @@ class CustomFrameView : public NonClientFrameView,
gfx::Rect IconBounds() const;
// Returns true if the client edge should be drawn. This is true if
- // the window delegate wants a client edge and we are not maxmized.
+ // the window is not maximized.
bool ShouldShowClientEdge() const;
// Paint various sub-components of this view.
@@ -124,7 +124,6 @@ class CustomFrameView : public NonClientFrameView,
ImageButton* close_button_;
ImageButton* window_icon_;
bool should_show_minmax_buttons_;
- bool should_show_client_edge_;
// Background painter for the window frame.
scoped_ptr<FrameBackground> frame_background_;