Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4253)

Unified Diff: chrome/browser/ui/views/dropdown_bar_host_win.cc

Issue 7285005: Make Windows FindBar stay within window bounds for narrow windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/find_bar_host.cc » ('j') | chrome/browser/ui/views/find_bar_view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/dropdown_bar_host_win.cc
===================================================================
--- chrome/browser/ui/views/dropdown_bar_host_win.cc (revision 90713)
+++ chrome/browser/ui/views/dropdown_bar_host_win.cc (working copy)
@@ -25,8 +25,6 @@
bool no_redraw) {
gfx::Rect window_rect = host_->GetWindowScreenBounds();
Finnur 2011/06/30 22:10:24 This is redundant now...
jennb 2011/06/30 22:26:47 Done.
DWORD swp_flags = SWP_NOOWNERZORDER;
- if (!window_rect.IsEmpty())
- swp_flags |= SWP_NOSIZE;
Finnur 2011/06/30 22:10:24 why is this necessary?
jennb 2011/06/30 22:26:47 DropdownBarView::PaintOffsetToolbarBackground was
if (no_redraw)
swp_flags |= SWP_NOREDRAW;
if (!host_->IsVisible())
« no previous file with comments | « no previous file | chrome/browser/ui/views/find_bar_host.cc » ('j') | chrome/browser/ui/views/find_bar_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698