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

Issue 8659014: Check that we have a focus manager in aura before trying to set focus. (Closed)

Created:
9 years ago by alicet1
Modified:
9 years ago
Reviewers:
Lei Zhang, sky
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Check that we have a focus manager in aura before trying to set focus. This allows PrintPreviewUITest to run under aura also. BUG=104284 TEST=ran unit_tests and ui_tests with use_aura=1 chromeos=1 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113362

Patch Set 1 #

Total comments: 1

Patch Set 2 : use type_popup instead for native_tab_contents_view_aura #

Total comments: 3

Patch Set 3 : update, add print preview handler unittest also, same fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -39 lines) Patch
M chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/print_preview_handler_unittest.cc View 1 2 6 chunks +5 lines, -24 lines 0 comments Download
M chrome/browser/ui/webui/print_preview_ui_unittest.cc View 3 chunks +3 lines, -14 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
alicet1
9 years ago (2011-11-28 22:43:19 UTC) #1
sky
http://codereview.chromium.org/8659014/diff/1/chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc File chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc (right): http://codereview.chromium.org/8659014/diff/1/chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc#newcode116 chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc:116: if (GetFocusManager()) { This seems fine, but I wonder ...
9 years ago (2011-11-28 23:36:08 UTC) #2
alicet1
http://codereview.chromium.org/8659014/diff/4001/chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc File chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc (right): http://codereview.chromium.org/8659014/diff/4001/chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc#newcode116 chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc:116: // if (GetFocusManager()) { see the native_tab_contents_view_aura.cc in this ...
9 years ago (2011-12-05 20:21:54 UTC) #3
sky
http://codereview.chromium.org/8659014/diff/4001/chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc File chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc (right): http://codereview.chromium.org/8659014/diff/4001/chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc#newcode116 chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc:116: // if (GetFocusManager()) { On 2011/12/05 20:21:55, alicet1 wrote: ...
9 years ago (2011-12-05 21:56:41 UTC) #4
alicet1
thanks scott. also added another unit test which failed in a similar manner. will check ...
9 years ago (2011-12-06 06:28:50 UTC) #5
commit-bot: I haz the power
No LGTM from valid reviewers yet.
9 years ago (2011-12-06 14:50:32 UTC) #6
alicet1
oops, forgot owners approval. scott can you take another look? thanx, alice
9 years ago (2011-12-06 14:52:28 UTC) #7
sky
LGTM
9 years ago (2011-12-06 16:39:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alicet@chromium.org/8659014/7001
9 years ago (2011-12-06 17:02:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alicet@chromium.org/8659014/7001
9 years ago (2011-12-07 05:17:50 UTC) #10
commit-bot: I haz the power
Try job failure for 8659014-7001 (retry) on win_rel for step "unit_tests". It's a second try, ...
9 years ago (2011-12-07 06:44:53 UTC) #11
Lei Zhang
I call BS and will resubmit to the CQ.
9 years ago (2011-12-07 07:02:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alicet@chromium.org/8659014/7001
9 years ago (2011-12-07 07:02:26 UTC) #13
commit-bot: I haz the power
9 years ago (2011-12-07 08:11:47 UTC) #14
Change committed as 113362

Powered by Google App Engine
This is Rietveld 408576698