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

Issue 1578021: Shift omnibox dropdown in and up on Windows, and square off the top, so it co... (Closed)

Created:
10 years, 8 months ago by Peter Kasting
Modified:
9 years, 7 months ago
CC:
chromium-reviews, John Grabowski, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Shift omnibox dropdown in and up on Windows, and square off the top, so it connects to the location bar. Also fix info bubble positioning against location bar icons to put the arrow "up against the icon edge" (fixes the arrow overlapping some page action icons). Remove BubblePositioner, which is now no longer needed. BUG=27570, 40730 TEST=Omnibox dropdown should line up with editable area edges, icons and text should line up with icon and text in the omnibox. Info bubbles should still be positioned correctly Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=44268

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+267 lines, -469 lines) Patch
M chrome/browser/autocomplete/autocomplete_edit_view_gtk.h View 1 2 3 4 5 3 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc View 1 2 3 4 5 4 chunks +14 lines, -6 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_mac.h View 1 2 3 4 5 3 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_mac.mm View 1 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_win.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_win.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_view.h View 1 2 3 4 2 chunks +0 lines, -19 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_view_gtk.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc View 1 2 3 4 5 5 chunks +11 lines, -21 lines 1 comment Download
M chrome/browser/autocomplete/autocomplete_popup_view_mac.h View 1 2 3 4 5 3 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_view_mac.mm View 1 2 3 4 5 4 chunks +7 lines, -6 lines 0 comments Download
D chrome/browser/bubble_positioner.h View 1 1 chunk +0 lines, -24 lines 0 comments Download
M chrome/browser/chromeos/compact_location_bar_view.h View 1 3 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/chromeos/compact_location_bar_view.cc View 1 1 chunk +0 lines, -10 lines 1 comment Download
M chrome/browser/cocoa/location_bar_view_mac.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/location_bar_view_mac.mm View 1 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/cocoa/toolbar_controller.h View 1 2 3 4 5 4 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/cocoa/toolbar_controller.mm View 1 4 chunks +0 lines, -36 lines 0 comments Download
M chrome/browser/cocoa/toolbar_controller_unittest.mm View 2 chunks +1 line, -19 lines 0 comments Download
M chrome/browser/gtk/browser_toolbar_gtk.h View 1 2 3 4 5 4 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/gtk/browser_toolbar_gtk.cc View 1 2 chunks +1 line, -25 lines 0 comments Download
M chrome/browser/gtk/location_bar_view_gtk.h View 1 3 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/gtk/location_bar_view_gtk.cc View 1 4 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/views/app_launcher.cc View 1 2 3 4 5 8 chunks +21 lines, -21 lines 0 comments Download
M chrome/browser/views/autocomplete/autocomplete_popup_contents_view.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/views/autocomplete/autocomplete_popup_contents_view.cc View 1 8 chunks +32 lines, -33 lines 0 comments Download
M chrome/browser/views/bubble_border.h View 1 3 chunks +12 lines, -8 lines 0 comments Download
M chrome/browser/views/bubble_border.cc View 1 2 3 4 5 9 chunks +53 lines, -42 lines 0 comments Download
M chrome/browser/views/info_bubble.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/views/location_bar_view.h View 1 5 chunks +2 lines, -12 lines 0 comments Download
M chrome/browser/views/location_bar_view.cc View 1 2 12 chunks +35 lines, -42 lines 0 comments Download
M chrome/browser/views/toolbar_view.h View 1 3 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/views/toolbar_view.cc View 1 2 chunks +1 line, -26 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 1 chunk +0 lines, -1 line 0 comments Download
M views/controls/image_view.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M views/controls/image_view.cc View 1 2 chunks +30 lines, -46 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Peter Kasting
shess: Mac estade: Linux beng: Everything else MAC AND LINUX NOTE: You should patch this ...
10 years, 8 months ago (2010-04-08 01:17:56 UTC) #1
Scott Hess - ex-Googler
LGTM, but I won't be able to patch it in locally for Mac until tomorrow. ...
10 years, 8 months ago (2010-04-08 01:30:36 UTC) #2
Scott Hess - ex-Googler
On 2010/04/08 01:30:36, shess wrote: > LGTM, but I won't be able to patch it ...
10 years, 8 months ago (2010-04-08 17:29:27 UTC) #3
Ben Goodger (Google)
Windows/Views bits LGTM.
10 years, 8 months ago (2010-04-08 18:12:39 UTC) #4
Evan Stade
http://codereview.chromium.org/1578021/diff/25002/12030 File chrome/browser/gtk/location_bar_view_gtk.cc (right): http://codereview.chromium.org/1578021/diff/25002/12030#newcode201 chrome/browser/gtk/location_bar_view_gtk.cc:201: hbox_.get())); I don't think you need to pass hbox_ ...
10 years, 8 months ago (2010-04-08 18:58:08 UTC) #5
Peter Kasting
http://codereview.chromium.org/1578021/diff/25002/12030 File chrome/browser/gtk/location_bar_view_gtk.cc (right): http://codereview.chromium.org/1578021/diff/25002/12030#newcode201 chrome/browser/gtk/location_bar_view_gtk.cc:201: hbox_.get())); On 2010/04/08 18:58:08, Evan Stade wrote: > I ...
10 years, 8 months ago (2010-04-08 19:18:40 UTC) #6
Peter Kasting
Sigh... after trying to fight with the "Gtk Views versus non-Views" compile issues, I finally ...
10 years, 8 months ago (2010-04-08 19:36:12 UTC) #7
Peter Kasting
Added three more reviewers so they can apply this patch locally and see if it ...
10 years, 8 months ago (2010-04-08 19:39:48 UTC) #8
Evan Stade
nevermind what I said before. Anyway, LGTM with the positioning code as follows: void AutocompletePopupViewGtk::Show(size_t ...
10 years, 8 months ago (2010-04-08 20:05:46 UTC) #9
jcivelli
You can actually test it on Windows by using --app-launcher-new-tab Opening a new tab will ...
10 years, 8 months ago (2010-04-08 20:20:51 UTC) #10
oshima
I got linkage error with patch4. (same as chromeos try bot had) I just sync ...
10 years, 8 months ago (2010-04-08 21:15:19 UTC) #11
Peter Kasting
New snap up. Makes app launcher look right (although the app launcher location bar has ...
10 years, 8 months ago (2010-04-08 21:30:18 UTC) #12
Evan Stade
http://codereview.chromium.org/1578021/diff/55004/60009 File chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc (right): http://codereview.chromium.org/1578021/diff/55004/60009#newcode288 chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc:288: gint origin_x, origin_y; nit: indentation
10 years, 8 months ago (2010-04-08 22:01:21 UTC) #13
oshima
10 years, 8 months ago (2010-04-08 23:07:23 UTC) #14
I patched it manually and it worked as expected. I think this is ok for now on
chromeos side. I'll talk to Cole and will update it if necessary.

Just one minor request below.

http://codereview.chromium.org/1578021/diff/55004/60027
File chrome/browser/chromeos/compact_location_bar_view.cc (right):

http://codereview.chromium.org/1578021/diff/55004/60027#newcode37
chrome/browser/chromeos/compact_location_bar_view.cc:37: const int
kAutocompletePopupWidth = 700;
can you remove this?

Powered by Google App Engine
This is Rietveld 408576698