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

Issue 12299003: Merge AutocompleteTextfield views::Textfield subclass into OmniboxView. (Closed)

Created:
7 years, 10 months ago by msw
Modified:
7 years, 10 months ago
Reviewers:
oshima, Peter Kasting
CC:
chromium-reviews, tfarina, James Su, penghuang+watch_chromium.org, yusukes+watch_chromium.org
Visibility:
Public.

Description

Merge AutocompleteTextfield views::Textfield subclass into OmniboxView. Simple cleanup while I'm working on solving the related issues. Merge AutocompleteTextfield views::Textfield subclass into OmniboxView. Reorder OVERRIDEs to match views::View, cleanup TODOs. Inline DoCopyText, Handle* functions, and LocationEntryFocusable functions. Remove redundant VIEW_ID_AUTOCOMPLETE in favor of VIEW_ID_OMNIBOX. TODO(msw): Consolidate RemoveBorder with set_border() in Init(). TODO(msw): Compare selection/text length, not content in IsSelectAll(). TODO(msw): Return values from Textfield::GetSelectedRange/GetSelectionModel. BUG=134701, 176708 TEST=No observable omnibox changes, especially CrOS (and Win with --enable-views-textfield). R=pkasting@chromium.org,oshima@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183146

Patch Set 1 : Merge AutocompleteTextfield views::Textfield subclass into OmniboxView. #

Patch Set 2 : Reorder OVERRIDEs to match views::View, cleanup TODOs. #

Patch Set 3 : Inline simple OmniboxViewViews::Handle* functions. #

Patch Set 4 : Inline DoCopyText and LocationEntryFocusable functions. #

Patch Set 5 : Sync and rebase. #

Patch Set 6 : Remove Views use of VIEW_ID_AUTOCOMPLETE. #

Patch Set 7 : Remove VIEW_ID_AUTOCOMPLETE in favor of VIEW_ID_OMNIBOX. #

Total comments: 12

Patch Set 8 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -316 lines) Patch
M chrome/browser/ui/cocoa/view_id_util_browsertest.mm View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/view_id_util.cc View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/view_ids.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 2 chunks +3 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.h View 1 2 3 4 5 6 7 5 chunks +13 lines, -43 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 2 3 4 5 6 7 30 chunks +161 lines, -259 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
msw
Hey Peter and Oshima, please take a look; thanks!
7 years, 10 months ago (2013-02-18 01:46:15 UTC) #1
Peter Kasting
LGTM https://codereview.chromium.org/12299003/diff/3006/chrome/browser/ui/views/omnibox/omnibox_view_views.cc File chrome/browser/ui/views/omnibox/omnibox_view_views.cc (right): https://codereview.chromium.org/12299003/diff/3006/chrome/browser/ui/views/omnibox/omnibox_view_views.cc#newcode195 chrome/browser/ui/views/omnibox/omnibox_view_views.cc:195: // OmniboxViewViews, views::View implementation: Nit: Again, we don't ...
7 years, 10 months ago (2013-02-18 18:57:47 UTC) #2
msw
Done; landing; thanks for the quick review! https://codereview.chromium.org/12299003/diff/3006/chrome/browser/ui/views/omnibox/omnibox_view_views.cc File chrome/browser/ui/views/omnibox/omnibox_view_views.cc (right): https://codereview.chromium.org/12299003/diff/3006/chrome/browser/ui/views/omnibox/omnibox_view_views.cc#newcode195 chrome/browser/ui/views/omnibox/omnibox_view_views.cc:195: // OmniboxViewViews, ...
7 years, 10 months ago (2013-02-18 20:58:21 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/12299003/6032
7 years, 10 months ago (2013-02-18 20:58:39 UTC) #4
commit-bot: I haz the power
7 years, 10 months ago (2013-02-18 22:55:26 UTC) #5
Message was sent while issue was closed.
Change committed as 183146

Powered by Google App Engine
This is Rietveld 408576698