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

Issue 12047111: Set scale/orientation property to aura root window (Closed)

Created:
7 years, 11 months ago by oshima
Modified:
7 years, 10 months ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org, adlr
Visibility:
Public.

Description

Set scale/orientation property to aura root window. These will be used by X/touch/mouse driver to adjust mouse movement. BUG=119268 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180053

Patch Set 1 #

Patch Set 2 : #

Total comments: 24

Patch Set 3 : #

Total comments: 10

Patch Set 4 : updated comment #

Patch Set 5 : use AcceleratedWidget #

Total comments: 4

Patch Set 6 : fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -3 lines) Patch
M ash/ash_switches.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ash/ash_switches.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M ash/display/display_controller.cc View 1 2 3 4 5 5 chunks +41 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
oshima
7 years, 11 months ago (2013-01-25 06:53:12 UTC) #1
oshima
https://codereview.chromium.org/12047111/diff/11004/ash/display/display_controller.cc File ash/display/display_controller.cc (left): https://codereview.chromium.org/12047111/diff/11004/ash/display/display_controller.cc#oldcode280 ash/display/display_controller.cc:280: root->SetHostBounds(primary_candidate->bounds_in_pixel()); the bound is already set in AddRootWnidowForDisplay, so ...
7 years, 10 months ago (2013-01-29 21:20:38 UTC) #2
oshima
ping?
7 years, 10 months ago (2013-01-30 19:35:28 UTC) #3
Daniel Erat
I never received the original message asking for a review request -- did you add ...
7 years, 10 months ago (2013-01-30 20:38:42 UTC) #4
oshima
On 2013/01/30 20:38:42, Daniel Erat wrote: > I never received the original message asking for ...
7 years, 10 months ago (2013-01-30 20:48:30 UTC) #5
Daniel Erat
https://codereview.chromium.org/12047111/diff/11004/ash/ash_switches.cc File ash/ash_switches.cc (right): https://codereview.chromium.org/12047111/diff/11004/ash/ash_switches.cc#newcode103 ash/ash_switches.cc:103: // Overrides the all display's oientation. The value should ...
7 years, 10 months ago (2013-01-30 21:04:27 UTC) #6
oshima
https://codereview.chromium.org/12047111/diff/11004/ash/ash_switches.cc File ash/ash_switches.cc (right): https://codereview.chromium.org/12047111/diff/11004/ash/ash_switches.cc#newcode103 ash/ash_switches.cc:103: // Overrides the all display's oientation. The value should ...
7 years, 10 months ago (2013-01-30 23:45:53 UTC) #7
Daniel Erat
lgtm https://codereview.chromium.org/12047111/diff/11004/ui/aura/remote_root_window_host_win.cc File ui/aura/remote_root_window_host_win.cc (right): https://codereview.chromium.org/12047111/diff/11004/ui/aura/remote_root_window_host_win.cc#newcode190 ui/aura/remote_root_window_host_win.cc:190: int value) { On 2013/01/30 23:45:53, oshima wrote: ...
7 years, 10 months ago (2013-01-30 23:52:45 UTC) #8
oshima
https://codereview.chromium.org/12047111/diff/11004/ui/aura/remote_root_window_host_win.cc File ui/aura/remote_root_window_host_win.cc (right): https://codereview.chromium.org/12047111/diff/11004/ui/aura/remote_root_window_host_win.cc#newcode190 ui/aura/remote_root_window_host_win.cc:190: int value) { On 2013/01/30 23:52:45, Daniel Erat wrote: ...
7 years, 10 months ago (2013-01-31 00:04:56 UTC) #9
oshima
+ben for OWNERS review
7 years, 10 months ago (2013-01-31 00:05:48 UTC) #10
Ben Goodger (Google)
https://codereview.chromium.org/12047111/diff/9010/ash/display/display_controller.cc File ash/display/display_controller.cc (right): https://codereview.chromium.org/12047111/diff/9010/ash/display/display_controller.cc#newcode128 ash/display/display_controller.cc:128: root->SetHostWindowIntProperty(kRotationProp, rotation); Where is this property read, since you ...
7 years, 10 months ago (2013-01-31 16:57:13 UTC) #11
oshima
https://codereview.chromium.org/12047111/diff/9010/ash/display/display_controller.cc File ash/display/display_controller.cc (right): https://codereview.chromium.org/12047111/diff/9010/ash/display/display_controller.cc#newcode128 ash/display/display_controller.cc:128: root->SetHostWindowIntProperty(kRotationProp, rotation); On 2013/01/31 16:57:13, Ben Goodger (Google) wrote: ...
7 years, 10 months ago (2013-01-31 17:12:53 UTC) #12
Ben Goodger (Google)
I see... since this is very platform specific, would it be possible to do this ...
7 years, 10 months ago (2013-01-31 22:11:17 UTC) #13
Ben Goodger (Google)
Specifically, you can just grab the XWindow from RootWindow by calling GetAcceleratedWidget().
7 years, 10 months ago (2013-01-31 22:11:41 UTC) #14
oshima
On 2013/01/31 22:11:41, Ben Goodger (Google) wrote: > Specifically, you can just grab the XWindow ...
7 years, 10 months ago (2013-01-31 22:16:11 UTC) #15
oshima
uploaded new patch. Much smaller now:) PTAL
7 years, 10 months ago (2013-01-31 22:31:21 UTC) #16
Daniel Erat
lgtm https://codereview.chromium.org/12047111/diff/28001/ash/ash_switches.cc File ash/ash_switches.cc (right): https://codereview.chromium.org/12047111/diff/28001/ash/ash_switches.cc#newcode101 ash/ash_switches.cc:101: // (normal), 1 (90 degrees clock wise), 2 ...
7 years, 10 months ago (2013-01-31 22:38:28 UTC) #17
oshima
since there is no change in aura, i'll go ahead to CQ. https://codereview.chromium.org/12047111/diff/28001/ash/ash_switches.cc File ash/ash_switches.cc ...
7 years, 10 months ago (2013-01-31 22:48:32 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/12047111/14030
7 years, 10 months ago (2013-01-31 23:00:02 UTC) #19
commit-bot: I haz the power
Change committed as 180053
7 years, 10 months ago (2013-02-01 03:18:52 UTC) #20
Ben Goodger (Google)
7 years, 10 months ago (2013-02-04 18:41:04 UTC) #21
Message was sent while issue was closed.
great. lgtm.

Powered by Google App Engine
This is Rietveld 408576698