summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-04 22:53:14 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-04 22:53:14 +0000
commita572098730e9e2c355b4f99a8d7087a5b1e64b1b (patch)
treec4037b7a87256995e13c0d6678f850ae1765d8fa /chrome/common
parent3a740b30a7ada4266cae5a1a5658e850dd663e22 (diff)
downloadchromium_src-a572098730e9e2c355b4f99a8d7087a5b1e64b1b.zip
chromium_src-a572098730e9e2c355b4f99a8d7087a5b1e64b1b.tar.gz
chromium_src-a572098730e9e2c355b4f99a8d7087a5b1e64b1b.tar.bz2
Several minor visual fixes to toolstrips:
* Layout toolstrips on the left of the bookmark bar so that something always obviously happens when you install one. This is in response to some feedback I've gotten demoing toolstrips for various people. * Open the NTP on install if the bookmarkbar isn't visible. Again, I'm trying to make something happen when you install an extension. This won't be the permanent behavior but it seems like doing nothing if you have your bookmark bar detached is likely to confuse people. * Fix a bug where we kept trying to resize the toolstrip back to the width it had when it was first made visible. * Fix a bug where we didn't always repaint the bookmarkbar after the toolstrip preferred width changed. This also seems to fix the issue where the buildbot sample shows up overlayed on top of tab contents, though I didn't mean to fix that with this CL. Review URL: http://codereview.chromium.org/100310 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15249 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/temp_scaffolding_stubs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h
index 2ea2603..4050f4e 100644
--- a/chrome/common/temp_scaffolding_stubs.h
+++ b/chrome/common/temp_scaffolding_stubs.h
@@ -494,7 +494,7 @@ class HWNDView {
void Layout() { NOTIMPLEMENTED(); }
void SchedulePaint() { NOTIMPLEMENTED(); }
HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; }
-
+ virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); }
gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; }
void Detach() { NOTIMPLEMENTED(); }
gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; }