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

Issue 11360144: Converts some of the omnibox related classes to support multiple (Closed)

Created:
8 years, 1 month ago by sky
Modified:
8 years, 1 month ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina, James Su
Visibility:
Public.

Description

Converts some of the omnibox related classes to support multiple NativeThemes at the same time. BUG=none TEST=none R=pkasting@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167026

Patch Set 1 #

Total comments: 6

Patch Set 2 : Merge to trunk, no other changes #

Patch Set 3 : Convert GetColor() to instance method #

Patch Set 4 : Fix nits #

Patch Set 5 : Remove unneeded include #

Total comments: 3

Patch Set 6 : size_t #

Patch Set 7 : win_initialized #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -84 lines) Patch
M chrome/browser/ui/views/frame/browser_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/keyword_hint_view.h View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/keyword_hint_view.cc View 1 2 2 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 7 chunks +30 lines, -13 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc View 1 2 3 4 5 5 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_result_view.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_result_view.cc View 1 2 3 4 5 6 4 chunks +63 lines, -40 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_win.cc View 1 2 6 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
sky
https://codereview.chromium.org/11360144/diff/1/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/11360144/diff/1/chrome/browser/ui/views/frame/browser_view.cc#newcode1866 chrome/browser/ui/views/frame/browser_view.cc:1866: if (!initialized_ && is_add && child == this && ...
8 years, 1 month ago (2012-11-08 02:04:24 UTC) #1
Peter Kasting
My only question is whether we could eliminate all the GetNativeTheme() calls everywhere by making ...
8 years, 1 month ago (2012-11-08 18:55:47 UTC) #2
Peter Kasting
Oh, LGTM, forgot that
8 years, 1 month ago (2012-11-08 18:56:00 UTC) #3
sky
On 2012/11/08 18:55:47, Peter Kasting wrote: > My only question is whether we could eliminate ...
8 years, 1 month ago (2012-11-08 19:12:08 UTC) #4
Peter Kasting
On 2012/11/08 19:12:08, sky wrote: > On 2012/11/08 18:55:47, Peter Kasting wrote: > > My ...
8 years, 1 month ago (2012-11-08 19:16:33 UTC) #5
sky
Updated. I addressed all your feedback and made the two GetColor methods instance methods. New ...
8 years, 1 month ago (2012-11-09 19:27:56 UTC) #6
Peter Kasting
LGTM https://codereview.chromium.org/11360144/diff/13001/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc File chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc (right): https://codereview.chromium.org/11360144/diff/13001/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc#newcode521 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc:521: gfx::Rect OmniboxPopupContentsView::CalculateTargetBounds(int h) { Nit: While here, move ...
8 years, 1 month ago (2012-11-09 21:21:11 UTC) #7
sky
https://codereview.chromium.org/11360144/diff/13001/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc File chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc (right): https://codereview.chromium.org/11360144/diff/13001/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc#newcode560 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc:560: OmniboxResultView* OmniboxPopupContentsView::result_view_at(int i) { On 2012/11/09 21:21:11, Peter Kasting ...
8 years, 1 month ago (2012-11-09 21:28:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/11360144/9003
8 years, 1 month ago (2012-11-09 21:29:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/11360144/14003
8 years, 1 month ago (2012-11-09 22:09:07 UTC) #10
commit-bot: I haz the power
8 years, 1 month ago (2012-11-10 01:12:52 UTC) #11
Change committed as 167026

Powered by Google App Engine
This is Rietveld 408576698