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

Issue 8964001: views: Convert IsFocusable() to just focusable() since it's just a simple accessor. (Closed)

Created:
9 years ago by tfarina
Modified:
9 years ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, ben+watch_chromium.org, penghuang+watch_chromium.org, dcheng, James Su, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, yusukes+watch_chromium.org
Visibility:
Public.

Description

views: Convert IsFocusable() to just focusable() since it's just a simple accessor. BUG=105879 R=ben@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114852

Patch Set 1 #

Total comments: 3

Patch Set 2 : IsFocusableInRootView #

Total comments: 3

Patch Set 3 : nit #

Patch Set 4 : don't need to override IsFocusableInRootView in omnibox_view_views #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -44 lines) Patch
M chrome/browser/chromeos/views/dropdown_button.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_container_win.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_container_win.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/button/checkbox.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/button/custom_button.h View 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/controls/button/custom_button.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/views/controls/button/text_button.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/controls/label.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/textfield/textfield.h View 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/controls/textfield/textfield.cc View 2 chunks +1 line, -4 lines 0 comments Download
M ui/views/view.h View 1 4 chunks +7 lines, -11 lines 0 comments Download
M ui/views/view.cc View 1 2 3 chunks +2 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
tfarina
Ben, please take a look specifically at these files: chrome/browser/ui/views/omnibox/omnibox_view_views.cc chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.h chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk.h chrome/browser/ui/views/tab_contents/native_tab_contents_container_win.h ui/views/controls/button/custom_button.h ui/views/controls/textfield/textfield.h
9 years ago (2011-12-15 19:06:27 UTC) #1
Ben Goodger (Google)
It may be the case that some of the IsFocusable() overriders need to become IsFocusableInRootView() ...
9 years ago (2011-12-15 21:21:41 UTC) #2
tfarina
Ben, please take a look at patch set 2. Thanks!
9 years ago (2011-12-16 13:59:39 UTC) #3
Ben Goodger (Google)
http://codereview.chromium.org/8964001/diff/2003/chrome/browser/ui/views/omnibox/omnibox_view_views.cc File chrome/browser/ui/views/omnibox/omnibox_view_views.cc (right): http://codereview.chromium.org/8964001/diff/2003/chrome/browser/ui/views/omnibox/omnibox_view_views.cc#newcode74 chrome/browser/ui/views/omnibox/omnibox_view_views.cc:74: virtual bool IsFocusableInRootView() const OVERRIDE { Questions: When you ...
9 years ago (2011-12-16 16:20:23 UTC) #4
tfarina
On 2011/12/16 16:20:23, Ben Goodger (Google) wrote: > http://codereview.chromium.org/8964001/diff/2003/chrome/browser/ui/views/omnibox/omnibox_view_views.cc > File chrome/browser/ui/views/omnibox/omnibox_view_views.cc (right): > > ...
9 years ago (2011-12-16 17:45:15 UTC) #5
tfarina
On Fri, Dec 16, 2011 at 3:45 PM, <tfarina@chromium.org> wrote: > On 2011/12/16 16:20:23, Ben ...
9 years ago (2011-12-16 17:48:46 UTC) #6
Ben Goodger (Google)
OK, if you can select it in the second case with USE_AURA=1, then I think ...
9 years ago (2011-12-16 18:02:07 UTC) #7
tfarina
On 2011/12/16 18:02:07, Ben Goodger (Google) wrote: > OK, if you can select it in ...
9 years ago (2011-12-16 18:48:23 UTC) #8
Ben Goodger (Google)
9 years ago (2011-12-16 18:49:38 UTC) #9
lgtm

Powered by Google App Engine
This is Rietveld 408576698