summaryrefslogtreecommitdiffstats
path: root/chrome/views
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 01:57:46 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 01:57:46 +0000
commit60142d98de42fad6bc63b37b063d565a3ab85f0b (patch)
tree8c6da770085cddce1fb1baccdeb9a614d946bfb7 /chrome/views
parent8565f949578562274e33b7182cd38667de34d844 (diff)
downloadchromium_src-60142d98de42fad6bc63b37b063d565a3ab85f0b.zip
chromium_src-60142d98de42fad6bc63b37b063d565a3ab85f0b.tar.gz
chromium_src-60142d98de42fad6bc63b37b063d565a3ab85f0b.tar.bz2
Fix UI test regression, there's a better way to refactor this anyway.
TBR=glen Review URL: http://codereview.chromium.org/24007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9443 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views')
-rw-r--r--chrome/views/non_client_view.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/views/non_client_view.h b/chrome/views/non_client_view.h
index debe22a..29cbda3 100644
--- a/chrome/views/non_client_view.h
+++ b/chrome/views/non_client_view.h
@@ -37,12 +37,9 @@ class NonClientView : public View {
int height) const = 0;
// Calculates the size of window required to display a client area of the
- // specified width and height. Only views used by CustomFrameWindow need
- // implement this.
+ // specified width and height.
virtual gfx::Size CalculateWindowSizeForClientSize(int width,
- int height) const {
- return gfx::Size();
- }
+ int height) const = 0;
// Returns the point, in screen coordinates, where the system menu should
// be shown so it shows up anchored to the system menu icon.