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

Issue 8052019: Create constrained windows in a hidden state. (Closed)

Created:
9 years, 2 months ago by asanka
Modified:
9 years, 1 month ago
CC:
chromium-reviews, dhollowa
Visibility:
Public.

Description

Create constrained windows in a hidden state. BUG=97411 TEST=interactive_ui_tests --gtest_filter=ConstrainedWindowViewTest.FocusTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108136

Patch Set 1 #

Patch Set 2 : Add test #

Patch Set 3 : Rebase to catch up with refactor #

Patch Set 4 : " #

Patch Set 5 : Isolate browser test to Win only. #

Patch Set 6 : Rebase #

Total comments: 2

Patch Set 7 : Don't change visibility state of non_client_view #

Patch Set 8 : " #

Total comments: 2

Patch Set 9 : Rebase and address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -6 lines) Patch
M chrome/browser/ui/views/constrained_window_views.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -4 lines 0 comments Download
A chrome/browser/ui/views/constrained_window_views_browsertest.cc View 1 2 3 4 5 6 7 8 1 chunk +173 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M views/view.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M views/view_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +36 lines, -0 lines 0 comments Download
M views/widget/native_widget_win.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M views/widget/widget_unittest.cc View 1 2 3 4 5 6 7 3 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
asanka
On Windows we are creating native constrained windows with the WS_VISIBLE style set. This appears ...
9 years, 2 months ago (2011-10-06 00:21:11 UTC) #1
asanka
Ping.
9 years, 2 months ago (2011-10-21 18:56:49 UTC) #2
Ben Goodger (Google)
http://codereview.chromium.org/8052019/diff/18001/chrome/browser/ui/views/constrained_window_views.cc File chrome/browser/ui/views/constrained_window_views.cc (right): http://codereview.chromium.org/8052019/diff/18001/chrome/browser/ui/views/constrained_window_views.cc#newcode609 chrome/browser/ui/views/constrained_window_views.cc:609: // registration and focus in a manner consistent with ...
9 years, 1 month ago (2011-10-26 18:04:58 UTC) #3
asanka
Thanks for looking! http://codereview.chromium.org/8052019/diff/18001/chrome/browser/ui/views/constrained_window_views.cc File chrome/browser/ui/views/constrained_window_views.cc (right): http://codereview.chromium.org/8052019/diff/18001/chrome/browser/ui/views/constrained_window_views.cc#newcode609 chrome/browser/ui/views/constrained_window_views.cc:609: // registration and focus in a ...
9 years, 1 month ago (2011-10-26 18:46:24 UTC) #4
Ben Goodger (Google)
If there are negative side effects to registering for a hidden Widget, then yes, Register ...
9 years, 1 month ago (2011-10-26 19:07:33 UTC) #5
Ben Goodger (Google)
Alternatively, the FocusManager could make sure not to run accelerators for targets inside hidden widgets. ...
9 years, 1 month ago (2011-10-26 19:07:57 UTC) #6
asanka
On 2011/10/26 19:07:33, Ben Goodger (Google) wrote: > If there are negative side effects to ...
9 years, 1 month ago (2011-10-29 21:27:39 UTC) #7
Ben Goodger (Google)
Cool. LGTM. http://codereview.chromium.org/8052019/diff/30001/chrome/browser/ui/views/constrained_window_views_browsertest.cc File chrome/browser/ui/views/constrained_window_views_browsertest.cc (right): http://codereview.chromium.org/8052019/diff/30001/chrome/browser/ui/views/constrained_window_views_browsertest.cc#newcode50 chrome/browser/ui/views/constrained_window_views_browsertest.cc:50: return contents_->GetInitiallyFocusedView(); You can use a ternary ...
9 years, 1 month ago (2011-10-31 18:28:38 UTC) #8
asanka
Thank you! http://codereview.chromium.org/8052019/diff/30001/chrome/browser/ui/views/constrained_window_views_browsertest.cc File chrome/browser/ui/views/constrained_window_views_browsertest.cc (right): http://codereview.chromium.org/8052019/diff/30001/chrome/browser/ui/views/constrained_window_views_browsertest.cc#newcode50 chrome/browser/ui/views/constrained_window_views_browsertest.cc:50: return contents_->GetInitiallyFocusedView(); On 2011/10/31 18:28:38, Ben Goodger ...
9 years, 1 month ago (2011-11-01 14:21:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/8052019/33001
9 years, 1 month ago (2011-11-01 16:55:44 UTC) #10
commit-bot: I haz the power
9 years, 1 month ago (2011-11-01 18:18:23 UTC) #11
Change committed as 108136

Powered by Google App Engine
This is Rietveld 408576698