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

Issue 194110: Convert the AutocompletePopupPositioner into a BubblePositioner in preparatio... (Closed)

Created:
11 years, 3 months ago by Peter Kasting
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, John Grabowski, pam+watch_chromium.org, Ben Goodger (Google)
Visibility:
Public.

Description

Convert the AutocompletePopupPositioner into a BubblePositioner in preparation for using it to position both the Omnibox bubble and InfoBubbles. It now gets the bounds of the location stack, which can be turned into useful coordinates for both items. This should not result in any visible change. BUG=21028 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26288

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 8

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -180 lines) Patch
M chrome/browser/autocomplete/autocomplete_edit_view_gtk.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_mac.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_mac.mm View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_win.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_win.cc View 1 2 3 4 5 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_view.h View 1 2 3 4 5 4 chunks +3 lines, -15 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_view_gtk.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc View 1 2 3 4 5 4 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_view_mac.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_view_mac.mm View 1 2 3 4 5 3 chunks +5 lines, -3 lines 0 comments Download
A chrome/browser/bubble_positioner.h View 4 5 1 chunk +22 lines, -0 lines 2 comments Download
M chrome/browser/chromeos/compact_navigation_bar.h View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/compact_navigation_bar.cc View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/cocoa/location_bar_view_mac.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/location_bar_view_mac.mm View 1 2 3 4 5 1 chunk +8 lines, -7 lines 0 comments Download
M chrome/browser/cocoa/toolbar_controller.h View 1 2 3 4 5 4 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/cocoa/toolbar_controller.mm View 1 2 3 4 5 4 chunks +26 lines, -20 lines 0 comments Download
chrome/browser/cocoa/toolbar_controller_unittest.mm View 3 4 5 2 chunks +8 lines, -11 lines 0 comments Download
M chrome/browser/gtk/browser_toolbar_gtk.h View 1 2 3 4 5 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/gtk/browser_toolbar_gtk.cc View 1 2 3 4 5 3 chunks +12 lines, -17 lines 0 comments Download
M chrome/browser/gtk/location_bar_view_gtk.h View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/gtk/location_bar_view_gtk.cc View 1 2 3 4 5 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/views/autocomplete/autocomplete_popup_contents_view.h View 1 2 3 4 5 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/views/autocomplete/autocomplete_popup_contents_view.cc View 1 2 3 4 5 5 chunks +14 lines, -11 lines 0 comments Download
M chrome/browser/views/bubble_border.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/views/bubble_border.cc View 1 2 3 4 5 2 chunks +21 lines, -3 lines 0 comments Download
M chrome/browser/views/location_bar_view.h View 1 2 3 4 5 4 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/views/location_bar_view.cc View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/views/toolbar_view.h View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/views/toolbar_view.cc View 1 2 3 4 5 2 chunks +15 lines, -23 lines 0 comments Download
M chrome/chrome.gyp View 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Peter Kasting
11 years, 3 months ago (2009-09-15 00:04:12 UTC) #1
Scott Hess - ex-Googler
LGTM for Mac code. I patched it in and the omnibox popup seemed to end ...
11 years, 3 months ago (2009-09-15 17:49:57 UTC) #2
Peter Kasting
http://codereview.chromium.org/194110/diff/1061/1064 File chrome/browser/autocomplete/autocomplete_popup_view.h (right): http://codereview.chromium.org/194110/diff/1061/1064#newcode35 Line 35: virtual gfx::Rect GetLocationStackBounds() const = 0; On 2009/09/15 ...
11 years, 3 months ago (2009-09-15 18:26:57 UTC) #3
Scott Hess - ex-Googler
BTW, I was considering my review drive-by, so LGTM.
11 years, 3 months ago (2009-09-15 20:54:34 UTC) #4
Ben Goodger (Google)
OK http://codereview.chromium.org/194110/diff/8001/2061 File chrome/browser/bubble_positioner.h (right): http://codereview.chromium.org/194110/diff/8001/2061#newcode19 Line 19: virtual gfx::Rect GetLocationStackBounds() const = 0; I ...
11 years, 3 months ago (2009-09-15 21:09:06 UTC) #5
Peter Kasting
11 years, 3 months ago (2009-09-15 22:26:05 UTC) #6
http://codereview.chromium.org/194110/diff/8001/2061
File chrome/browser/bubble_positioner.h (right):

http://codereview.chromium.org/194110/diff/8001/2061#newcode19
Line 19: virtual gfx::Rect GetLocationStackBounds() const = 0;
On 2009/09/15 21:09:06, Ben Goodger wrote:
> I assume these comments and function name will change when you convert the
> infobubbles?

The comments will change, but not the function name.  Why would the function
name change?

Powered by Google App Engine
This is Rietveld 408576698