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

Issue 8585015: Implement ui_controls for aura (Closed)

Created:
9 years, 1 month ago by oshima
Modified:
9 years, 1 month ago
Reviewers:
Lei Zhang, Daniel Erat, sky
CC:
chromium-reviews, robertshield, kkania, Paweł Hajdan Jr.
Visibility:
Public.

Description

Implement ui_controls for aura - Move windows impl to ui_controls_internal_win.cc so that aurawin can use it. - For windows, we can simply adjust coordinates, so ConvertPointToNativeScreen is added. - Aurax11 uses PostNativeEvent to send event. I changed XPutBackEvent to XSendEvent as PutBackEvent puts the event at the top. - Aurax11 uses synthesized flash event to run "run-after-events" task. - exclude events_x.cc from gtk build as it's not necessary. BUG=103497, 104396 TEST=following tests now passes on aura PrintDialogCloudTest.HandlersRegistered (browser tests) several tests in interactive_ui_tests (MenuModelAdapterTest,MenuItemViewTestInsert00) now passes. I'll post the list in the bug. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111219

Patch Set 1 #

Patch Set 2 : new patch #

Patch Set 3 : " #

Total comments: 30

Patch Set 4 : addressed comment, linux ui_unittest dep fix #

Patch Set 5 : " #

Patch Set 6 : update comments #

Total comments: 4

Patch Set 7 : " #

Total comments: 2

Patch Set 8 : no mask for xsendevent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+445 lines, -502 lines) Patch
M chrome/browser/automation/ui_controls_aura.cc View 1 1 chunk +0 lines, -70 lines 0 comments Download
A chrome/browser/automation/ui_controls_aurawin.cc View 1 2 3 1 chunk +72 lines, -0 lines 0 comments Download
A chrome/browser/automation/ui_controls_aurax11.cc View 1 2 3 1 chunk +227 lines, -0 lines 0 comments Download
M chrome/browser/automation/ui_controls_gtk.cc View 1 2 3 6 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/automation/ui_controls_internal.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/automation/ui_controls_internal.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
A + chrome/browser/automation/ui_controls_internal_win.cc View 1 4 chunks +8 lines, -63 lines 0 comments Download
M chrome/browser/automation/ui_controls_mac.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/ui_controls_win.cc View 1 3 chunks +9 lines, -328 lines 0 comments Download
M chrome/browser/printing/print_dialog_cloud_uitest.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/test/automation/automation_proxy.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/view_event_test_base.cc View 1 3 chunks +3 lines, -4 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/test_render_view_host.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/desktop.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ui/aura/desktop.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M ui/aura/desktop_host.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ui/aura/desktop_host_linux.cc View 1 2 3 4 5 6 7 8 chunks +44 lines, -15 lines 0 comments Download
M ui/aura/desktop_host_win.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/desktop_host_win.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M ui/base/x/events_x.cc View 1 2 3 4 5 6 2 chunks +24 lines, -6 lines 0 comments Download
M ui/ui.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/ui_unittests.gypi View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
oshima
sky -> everything derat -> can you check if my use of atom and XSendEvent ...
9 years, 1 month ago (2011-11-22 00:00:17 UTC) #1
Daniel Erat
http://codereview.chromium.org/8585015/diff/18021/ui/aura/desktop.h File ui/aura/desktop.h (right): http://codereview.chromium.org/8585015/diff/18021/ui/aura/desktop.h#newcode131 ui/aura/desktop.h:131: // Converts the |point| in the desktop's coordinate to ...
9 years, 1 month ago (2011-11-22 00:25:32 UTC) #2
sky
http://codereview.chromium.org/8585015/diff/18021/chrome/browser/automation/ui_controls_aurawin.cc File chrome/browser/automation/ui_controls_aurawin.cc (right): http://codereview.chromium.org/8585015/diff/18021/chrome/browser/automation/ui_controls_aurawin.cc#newcode60 chrome/browser/automation/ui_controls_aurawin.cc:60: void MoveMouseToCenterAndPress(views::View* view, MouseButton button, nit: each param on ...
9 years, 1 month ago (2011-11-22 00:28:33 UTC) #3
oshima
uploaded new patch. PTAL. http://codereview.chromium.org/8585015/diff/18021/chrome/browser/automation/ui_controls_aurawin.cc File chrome/browser/automation/ui_controls_aurawin.cc (right): http://codereview.chromium.org/8585015/diff/18021/chrome/browser/automation/ui_controls_aurawin.cc#newcode60 chrome/browser/automation/ui_controls_aurawin.cc:60: void MoveMouseToCenterAndPress(views::View* view, MouseButton button, ...
9 years, 1 month ago (2011-11-22 01:36:09 UTC) #4
Daniel Erat
http://codereview.chromium.org/8585015/diff/18021/ui/aura/desktop_host_linux.cc File ui/aura/desktop_host_linux.cc (right): http://codereview.chromium.org/8585015/diff/18021/ui/aura/desktop_host_linux.cc#newcode505 ui/aura/desktop_host_linux.cc:505: case ButtonRelease: { On 2011/11/22 01:36:10, oshima wrote: > ...
9 years, 1 month ago (2011-11-22 01:46:14 UTC) #5
oshima
http://codereview.chromium.org/8585015/diff/18021/ui/aura/desktop_host_linux.cc File ui/aura/desktop_host_linux.cc (right): http://codereview.chromium.org/8585015/diff/18021/ui/aura/desktop_host_linux.cc#newcode505 ui/aura/desktop_host_linux.cc:505: case ButtonRelease: { On 2011/11/22 01:46:14, Daniel Erat wrote: ...
9 years, 1 month ago (2011-11-22 03:02:09 UTC) #6
sky
LGTM
9 years, 1 month ago (2011-11-22 16:01:30 UTC) #7
Daniel Erat
http://codereview.chromium.org/8585015/diff/20001/ui/aura/desktop_host_linux.cc File ui/aura/desktop_host_linux.cc (right): http://codereview.chromium.org/8585015/diff/20001/ui/aura/desktop_host_linux.cc#newcode489 ui/aura/desktop_host_linux.cc:489: const long kInputEventMask = KeyReleaseMask | KeyPressMask | This ...
9 years, 1 month ago (2011-11-22 16:37:06 UTC) #8
oshima
http://codereview.chromium.org/8585015/diff/20001/ui/aura/desktop_host_linux.cc File ui/aura/desktop_host_linux.cc (right): http://codereview.chromium.org/8585015/diff/20001/ui/aura/desktop_host_linux.cc#newcode489 ui/aura/desktop_host_linux.cc:489: const long kInputEventMask = KeyReleaseMask | KeyPressMask | On ...
9 years, 1 month ago (2011-11-22 17:22:54 UTC) #9
Daniel Erat
On 2011/11/22 17:22:54, oshima wrote: > http://codereview.chromium.org/8585015/diff/20001/ui/aura/desktop_host_linux.cc > File ui/aura/desktop_host_linux.cc (right): > > http://codereview.chromium.org/8585015/diff/20001/ui/aura/desktop_host_linux.cc#newcode489 > ...
9 years, 1 month ago (2011-11-22 17:25:07 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/8585015/22002
9 years, 1 month ago (2011-11-22 17:34:01 UTC) #11
commit-bot: I haz the power
Presubmit check for 8585015-22002 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 1 month ago (2011-11-22 17:34:34 UTC) #12
oshima
On 2011/11/22 17:25:07, Daniel Erat wrote: > On 2011/11/22 17:22:54, oshima wrote: > > > ...
9 years, 1 month ago (2011-11-22 17:37:50 UTC) #13
oshima
Lei, can you give me OWNERS approval for chrome/browser/printing? It's just enabling test for aura.
9 years, 1 month ago (2011-11-22 17:39:19 UTC) #14
Lei Zhang
chrome/browser/printing LGTM
9 years, 1 month ago (2011-11-22 18:35:23 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/8585015/22002
9 years, 1 month ago (2011-11-22 19:26:46 UTC) #16
commit-bot: I haz the power
9 years, 1 month ago (2011-11-22 21:34:19 UTC) #17
Change committed as 111219

Powered by Google App Engine
This is Rietveld 408576698