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

Issue 8113028: Consolidate ui::NativeEvent and base::NativeEvent (Closed)

Created:
9 years, 2 months ago by oshima
Modified:
9 years, 2 months ago
CC:
chromium-reviews, tfarina, dhollowa, derat+watch_chromium.org, brettw-cc_chromium.org, Mandeep Singh Baines, sadrul
Visibility:
Public.

Description

Consolidate ui::NativeEvent and base::NativeEvent Note: I didn't add Wayland version of NativeEvent because the type is defined in ui, which base shouldn't depend on. I looked at the original CL and this typedef in message_pump_wayland seems to be added after reviewer gave LGTM. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104123

Patch Set 1 #

Patch Set 2 : fix build #

Total comments: 10

Patch Set 3 : new patch #

Total comments: 1

Patch Set 4 : sync #

Total comments: 2

Patch Set 5 : base.gypi #

Patch Set 6 : sync/resolve #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -85 lines) Patch
M base/base.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A base/event_types.h View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
M base/message_pump_observer.h View 1 2 1 chunk +2 lines, -9 lines 0 comments Download
M ui/aura/desktop.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/desktop.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/event.h View 6 chunks +8 lines, -7 lines 0 comments Download
M ui/aura/event.cc View 5 chunks +7 lines, -6 lines 0 comments Download
M ui/base/events.h View 1 2 3 4 chunks +10 lines, -29 lines 0 comments Download
M ui/base/wayland/events_wayland.cc View 1 2 5 chunks +7 lines, -7 lines 0 comments Download
M ui/base/win/events_win.cc View 1 2 3 9 chunks +14 lines, -14 lines 0 comments Download
M ui/base/x/events_x.cc View 6 chunks +7 lines, -7 lines 0 comments Download
M views/events/event.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M views/events/event.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M views/events/event_x.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
oshima
9 years, 2 months ago (2011-10-04 16:49:35 UTC) #1
msw
You should add another reviewer for OWNERS approval on the new base filename, etc. Also, ...
9 years, 2 months ago (2011-10-04 18:10:37 UTC) #2
oshima
For wayland part, I didn't add Wayland not because we want to remove it, but ...
9 years, 2 months ago (2011-10-04 19:42:48 UTC) #3
msw
Afaict you're defining base::NativeEvent as void* for Wayland, but that type is used (expecting ui::WaylandEvent*) ...
9 years, 2 months ago (2011-10-04 20:45:40 UTC) #4
oshima
On 2011/10/04 20:45:40, msw wrote: > Afaict you're defining base::NativeEvent as void* for Wayland, but ...
9 years, 2 months ago (2011-10-04 22:06:48 UTC) #5
msw
LGTM since you said we can ignore Wayland for now. Weird win trybot error; I'm ...
9 years, 2 months ago (2011-10-04 22:49:13 UTC) #6
oshima
On 2011/10/04 22:49:13, msw wrote: > LGTM since you said we can ignore Wayland for ...
9 years, 2 months ago (2011-10-04 23:13:01 UTC) #7
oshima
Mark, ben, I need OWNERS approval. mark: please review base ben: please review ui/views Thanks!
9 years, 2 months ago (2011-10-04 23:15:23 UTC) #8
Ben Goodger (Google)
LGTM for ui bits.
9 years, 2 months ago (2011-10-05 01:30:33 UTC) #9
Mark Mentovai
LGTM otherwise. I only reviewed the changes in base. http://codereview.chromium.org/8113028/diff/4005/base/event_types.h File base/event_types.h (right): http://codereview.chromium.org/8113028/diff/4005/base/event_types.h#newcode1 base/event_types.h:1: ...
9 years, 2 months ago (2011-10-05 12:49:38 UTC) #10
oshima
On 2011/10/05 01:30:33, Ben Goodger (Google) wrote: > LGTM for ui bits. Ben, can you ...
9 years, 2 months ago (2011-10-05 15:09:20 UTC) #11
oshima
9 years, 2 months ago (2011-10-05 17:14:21 UTC) #12
http://codereview.chromium.org/8113028/diff/4005/base/event_types.h
File base/event_types.h (right):

http://codereview.chromium.org/8113028/diff/4005/base/event_types.h#newcode1
base/event_types.h:1: // Copyright (c) 2011 The Chromium Authors. All rights
reserved.
On 2011/10/05 12:49:38, Mark Mentovai wrote:
> You should add this file to base.gypi.

Done.

Powered by Google App Engine
This is Rietveld 408576698