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

Issue 9250029: Enable KeyboardOverlayDialog on aura. (Closed)

Created:
8 years, 11 months ago by jennyz
Modified:
8 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Enable KeyboardOverlayDialog on aura. BUG=99858 TEST=KeyboardOverlayDialog should show up on aura build. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=119992

Patch Set 1 #

Patch Set 2 : Add support to create KeyboardOverlayDialog as a bordless dialog. #

Total comments: 4

Patch Set 3 : Move CreateFramelessWindowWithParentAndBounds into window.cc #

Total comments: 4

Patch Set 4 : Fix a nit in DCHECK line. #

Patch Set 5 : Fix a nit in Widget::Init(). #

Patch Set 6 : Check GetPreferredSize before centering the window. #

Patch Set 7 : Fix the alignment nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -10 lines) Patch
M chrome/browser/ui/views/frame/browser_view.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/keyboard_overlay_dialog_view.cc View 1 3 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/window.h View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/window.cc View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M ui/views/widget/widget.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/widget/widget.cc View 1 2 3 4 5 6 3 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
jennyz
8 years, 11 months ago (2012-01-19 01:04:06 UTC) #1
mazda
It looks window frame is shown around the keyboard. Is this removed in the future? ...
8 years, 11 months ago (2012-01-19 05:03:46 UTC) #2
Ben Goodger (Google)
We would need some mapping to translate STYLE_FLUSH to aura::client::TYPE_WINDOW_FRAMELESS.
8 years, 11 months ago (2012-01-19 18:13:34 UTC) #3
jennyz
I made some comments in line for some alternative code options. PTAL. http://codereview.chromium.org/9250029/diff/9001/chrome/browser/ui/views/window.h File chrome/browser/ui/views/window.h ...
8 years, 11 months ago (2012-01-27 23:17:48 UTC) #4
jennyz
For Mazda's question for ctrl-t and ctrl-w. I tried, when the dialog is open, ctrl-t ...
8 years, 11 months ago (2012-01-27 23:18:59 UTC) #5
Ben Goodger (Google)
http://codereview.chromium.org/9250029/diff/9001/ui/views/widget/widget.cc File ui/views/widget/widget.cc (right): http://codereview.chromium.org/9250029/diff/9001/ui/views/widget/widget.cc#newcode227 ui/views/widget/widget.cc:227: const gfx::Rect& bounds) { Rather than do this in ...
8 years, 10 months ago (2012-01-30 21:16:16 UTC) #6
mazda
On 2012/01/27 23:18:59, jennyz wrote: > For Mazda's question for ctrl-t and ctrl-w. I tried, ...
8 years, 10 months ago (2012-01-30 22:10:42 UTC) #7
jennyz
http://codereview.chromium.org/9250029/diff/9001/ui/views/widget/widget.cc File ui/views/widget/widget.cc (right): http://codereview.chromium.org/9250029/diff/9001/ui/views/widget/widget.cc#newcode227 ui/views/widget/widget.cc:227: const gfx::Rect& bounds) { On 2012/01/30 21:16:16, Ben Goodger ...
8 years, 10 months ago (2012-01-30 23:13:28 UTC) #8
mazda
lgtm with a nit http://codereview.chromium.org/9250029/diff/14003/ui/views/widget/widget.cc File ui/views/widget/widget.cc (right): http://codereview.chromium.org/9250029/diff/14003/ui/views/widget/widget.cc#newcode1217 ui/views/widget/widget.cc:1217: DCHECK(contents_view != NULL); DCHECK(contents_view);
8 years, 10 months ago (2012-01-30 23:26:29 UTC) #9
Ben Goodger (Google)
lgtm http://codereview.chromium.org/9250029/diff/14003/ui/views/widget/widget.cc File ui/views/widget/widget.cc (right): http://codereview.chromium.org/9250029/diff/14003/ui/views/widget/widget.cc#newcode339 ui/views/widget/widget.cc:339: } else { } else if (params.delegate) {
8 years, 10 months ago (2012-01-31 00:14:19 UTC) #10
jennyz
http://codereview.chromium.org/9250029/diff/14003/ui/views/widget/widget.cc File ui/views/widget/widget.cc (right): http://codereview.chromium.org/9250029/diff/14003/ui/views/widget/widget.cc#newcode339 ui/views/widget/widget.cc:339: } else { On 2012/01/31 00:14:19, Ben Goodger (Google) ...
8 years, 10 months ago (2012-01-31 00:24:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/9250029/2017
8 years, 10 months ago (2012-01-31 00:24:14 UTC) #12
commit-bot: I haz the power
Try job failure for 9250029-2017 (retry) on win_rel for step "views_unittests". It's a second try, ...
8 years, 10 months ago (2012-01-31 03:07:49 UTC) #13
jennyz
Check the size returned by GetPreferredSize() in Widget::SetInitialBoundsForFramelessWindow(). This fixes the DCHECK failure in BubbleDelegateTest.CreateDelegate() ...
8 years, 10 months ago (2012-01-31 19:55:06 UTC) #14
jennyz
By the way, the DCHECK fails is from BubbleDelegateTest.CreateDelegate() at: hwnd_util.cc(110)] Check failed: window && ...
8 years, 10 months ago (2012-01-31 20:10:58 UTC) #15
mazda
lgtm
8 years, 10 months ago (2012-01-31 21:35:22 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/9250029/24002
8 years, 10 months ago (2012-01-31 21:59:04 UTC) #17
commit-bot: I haz the power
8 years, 10 months ago (2012-02-01 00:07:57 UTC) #18
Change committed as 119992

Powered by Google App Engine
This is Rietveld 408576698