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

Issue 8253001: aura: Some changes in Window and Desktop. (Closed)

Created:
9 years, 2 months ago by sadrul
Modified:
9 years, 2 months ago
Reviewers:
tfarina, sky
CC:
chromium-reviews
Visibility:
Public.

Description

aura: Some changes to Desktop. . Add Observer support to Desktop. . On X11, make sure the correct desktop size is always maintained. Use these changes to fix keyboard positioning in touchui when the desktop window is resized. BUG=none TEST=aura_unittests (ObserverTest.*) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105321

Patch Set 1 #

Total comments: 5

Patch Set 2 : . #

Total comments: 8

Patch Set 3 : . #

Total comments: 8

Patch Set 4 : . #

Total comments: 4

Patch Set 5 : . #

Total comments: 3

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -2 lines) Patch
M chrome/browser/ui/virtual_keyboard/virtual_keyboard_manager.cc View 1 6 chunks +23 lines, -0 lines 0 comments Download
M ui/aura/desktop.h View 1 3 chunks +7 lines, -0 lines 0 comments Download
M ui/aura/desktop.cc View 1 2 4 chunks +12 lines, -0 lines 0 comments Download
M ui/aura/desktop_host_linux.cc View 1 chunk +8 lines, -2 lines 0 comments Download
A ui/aura/desktop_observer.h View 1 2 3 4 1 chunk +34 lines, -0 lines 0 comments Download
M ui/aura/window_unittest.cc View 1 2 3 4 5 2 chunks +53 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
sadrul
Window::Observer's aren't used yet, but I suspect it will be useful soon. Should all these ...
9 years, 2 months ago (2011-10-12 20:45:58 UTC) #1
sky
http://codereview.chromium.org/8253001/diff/1/ui/aura/desktop.h File ui/aura/desktop.h (right): http://codereview.chromium.org/8253001/diff/1/ui/aura/desktop.h#newcode37 ui/aura/desktop.h:37: virtual void OnDesktopResized(const gfx::Size& new_size) {} I think we ...
9 years, 2 months ago (2011-10-12 21:11:27 UTC) #2
sadrul
http://codereview.chromium.org/8253001/diff/1/ui/aura/desktop.h File ui/aura/desktop.h (right): http://codereview.chromium.org/8253001/diff/1/ui/aura/desktop.h#newcode37 ui/aura/desktop.h:37: virtual void OnDesktopResized(const gfx::Size& new_size) {} On 2011/10/12 21:11:27, ...
9 years, 2 months ago (2011-10-12 21:33:22 UTC) #3
sky
Adds some tests to make sure observers are getting notified correctly. http://codereview.chromium.org/8253001/diff/1007/ui/aura/desktop_observer.h File ui/aura/desktop_observer.h (right): ...
9 years, 2 months ago (2011-10-12 22:05:38 UTC) #4
tfarina
http://codereview.chromium.org/8253001/diff/3002/ui/aura/desktop_observer.h File ui/aura/desktop_observer.h (right): http://codereview.chromium.org/8253001/diff/3002/ui/aura/desktop_observer.h#newcode18 ui/aura/desktop_observer.h:18: virtual void OnDesktopResized(const gfx::Size& new_size) {} forward declare gfx::Size ...
9 years, 2 months ago (2011-10-12 22:23:43 UTC) #5
tfarina
http://codereview.chromium.org/8253001/diff/3002/ui/aura/window_observer.h File ui/aura/window_observer.h (right): http://codereview.chromium.org/8253001/diff/3002/ui/aura/window_observer.h#newcode15 ui/aura/window_observer.h:15: virtual void OnWindowClosing(Window* window) {} forward declare Window. http://codereview.chromium.org/8253001/diff/3002/ui/aura/window_observer.h#newcode24 ...
9 years, 2 months ago (2011-10-12 22:25:26 UTC) #6
sadrul
Added some tests. http://codereview.chromium.org/8253001/diff/1007/ui/aura/desktop_observer.h File ui/aura/desktop_observer.h (right): http://codereview.chromium.org/8253001/diff/1007/ui/aura/desktop_observer.h#newcode16 ui/aura/desktop_observer.h:16: virtual void OnDesktopResized(const gfx::Size& new_size) = ...
9 years, 2 months ago (2011-10-12 22:59:58 UTC) #7
sky
http://codereview.chromium.org/8253001/diff/7003/ui/aura/desktop_observer.h File ui/aura/desktop_observer.h (right): http://codereview.chromium.org/8253001/diff/7003/ui/aura/desktop_observer.h#newcode24 ui/aura/desktop_observer.h:24: // Invoked when the active window is changed. Document ...
9 years, 2 months ago (2011-10-12 23:20:52 UTC) #8
sadrul
http://codereview.chromium.org/8253001/diff/7003/ui/aura/desktop_observer.h File ui/aura/desktop_observer.h (right): http://codereview.chromium.org/8253001/diff/7003/ui/aura/desktop_observer.h#newcode24 ui/aura/desktop_observer.h:24: // Invoked when the active window is changed. On ...
9 years, 2 months ago (2011-10-13 00:44:18 UTC) #9
sky
http://codereview.chromium.org/8253001/diff/9001/ui/aura/window_unittest.cc File ui/aura/window_unittest.cc (right): http://codereview.chromium.org/8253001/diff/9001/ui/aura/window_unittest.cc#newcode854 ui/aura/window_unittest.cc:854: w3->Hide(); On 2011/10/13 00:44:18, sadrul wrote: > This does ...
9 years, 2 months ago (2011-10-13 00:51:08 UTC) #10
sadrul
http://codereview.chromium.org/8253001/diff/9001/ui/aura/window_unittest.cc File ui/aura/window_unittest.cc (right): http://codereview.chromium.org/8253001/diff/9001/ui/aura/window_unittest.cc#newcode854 ui/aura/window_unittest.cc:854: w3->Hide(); On 2011/10/13 00:51:08, sky wrote: > On 2011/10/13 ...
9 years, 2 months ago (2011-10-13 02:24:54 UTC) #11
sky
On 2011/10/13 02:24:54, sadrul wrote: > http://codereview.chromium.org/8253001/diff/9001/ui/aura/window_unittest.cc > File ui/aura/window_unittest.cc (right): > > http://codereview.chromium.org/8253001/diff/9001/ui/aura/window_unittest.cc#newcode854 > ...
9 years, 2 months ago (2011-10-13 04:01:50 UTC) #12
sky
One more question. Do you have use cases that require the other changes you're doing? ...
9 years, 2 months ago (2011-10-13 04:03:31 UTC) #13
sadrul
On 2011/10/13 04:03:31, sky wrote: > One more question. Do you have use cases that ...
9 years, 2 months ago (2011-10-13 14:28:35 UTC) #14
sky
On Thu, Oct 13, 2011 at 7:28 AM, <sadrul@chromium.org> wrote: > On 2011/10/13 04:03:31, sky ...
9 years, 2 months ago (2011-10-13 14:50:14 UTC) #15
sadrul
On 2011/10/13 14:50:14, sky wrote: > On Thu, Oct 13, 2011 at 7:28 AM, <mailto:sadrul@chromium.org> ...
9 years, 2 months ago (2011-10-13 15:38:31 UTC) #16
sky
9 years, 2 months ago (2011-10-13 16:26:01 UTC) #17
LGTM

Powered by Google App Engine
This is Rietveld 408576698