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

Issue 59383011: Factor common code into native_viewport_controller.cc (Closed)

Created:
7 years, 1 month ago by abarth-chromium
Modified:
7 years, 1 month ago
CC:
chromium-reviews, Aaron Boodman, darin (slow to review), viettrungluu+watch_chromium.org, ben+mojo_chromium.org
Visibility:
Public.

Description

Factor common code into native_viewport_controller.cc The platform-specific implementations of NativeViewport have a bunch of duplicated code. This CL centralizes that code in the cross-platform controller class. R=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233511

Patch Set 1 #

Patch Set 2 : Fix X11 #

Total comments: 6

Patch Set 3 : Fix indent #

Patch Set 4 : Now with moar composition #

Patch Set 5 : Moar composition #

Patch Set 6 : Attempt to fix android build #

Patch Set 7 : Fix windows build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -92 lines) Patch
M mojo/services/native_viewport/native_viewport.h View 1 2 3 3 chunks +5 lines, -13 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_android.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_android.cc View 1 2 3 4 5 3 chunks +5 lines, -16 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_controller.h View 1 2 3 2 chunks +10 lines, -3 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_controller.cc View 1 2 3 2 chunks +13 lines, -3 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_mac.mm View 1 2 3 3 chunks +5 lines, -18 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_stub.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_win.cc View 1 2 3 4 5 6 4 chunks +6 lines, -19 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_x11.cc View 1 2 3 4 chunks +4 lines, -18 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
abarth-chromium
7 years, 1 month ago (2013-11-06 06:59:44 UTC) #1
Ben Goodger (Google)
https://codereview.chromium.org/59383011/diff/50001/mojo/services/native_viewport/native_viewport.cc File mojo/services/native_viewport/native_viewport.cc (right): https://codereview.chromium.org/59383011/diff/50001/mojo/services/native_viewport/native_viewport.cc#newcode25 mojo/services/native_viewport/native_viewport.cc:25: false, widget_, bounds_.size(), false, nit: 4-space indent here https://codereview.chromium.org/59383011/diff/50001/mojo/services/native_viewport/native_viewport.cc#newcode28 ...
7 years, 1 month ago (2013-11-06 07:17:16 UTC) #2
abarth-chromium
https://codereview.chromium.org/59383011/diff/50001/mojo/services/native_viewport/native_viewport.cc File mojo/services/native_viewport/native_viewport.cc (right): https://codereview.chromium.org/59383011/diff/50001/mojo/services/native_viewport/native_viewport.cc#newcode25 mojo/services/native_viewport/native_viewport.cc:25: false, widget_, bounds_.size(), false, On 2013/11/06 07:17:17, Ben Goodger ...
7 years, 1 month ago (2013-11-06 15:40:54 UTC) #3
Ben Goodger (Google)
On 2013/11/06 15:40:54, abarth wrote: > https://codereview.chromium.org/59383011/diff/50001/mojo/services/native_viewport/native_viewport.h#newcode54 > mojo/services/native_viewport/native_viewport.h:54: void > OnAcceleratedWidgetAvailable(); > On 2013/11/06 ...
7 years, 1 month ago (2013-11-06 18:25:33 UTC) #4
abarth-chromium
On 2013/11/06 18:25:33, Ben Goodger (Google) wrote: > So with that in mind, should the ...
7 years, 1 month ago (2013-11-06 18:28:45 UTC) #5
Ben Goodger (Google)
On Wed, Nov 6, 2013 at 10:28 AM, <abarth@chromium.org> wrote: > On 2013/11/06 18:25:33, Ben ...
7 years, 1 month ago (2013-11-06 20:07:38 UTC) #6
abarth-chromium
Done. PTAL
7 years, 1 month ago (2013-11-06 20:12:33 UTC) #7
Ben Goodger (Google)
lgtm !`
7 years, 1 month ago (2013-11-06 20:14:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/59383011/220001
7 years, 1 month ago (2013-11-06 20:59:04 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-06 21:46:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/59383011/490001
7 years, 1 month ago (2013-11-06 22:05:01 UTC) #11
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-07 00:03:56 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/59383011/680001
7 years, 1 month ago (2013-11-07 00:21:45 UTC) #13
commit-bot: I haz the power
7 years, 1 month ago (2013-11-07 06:48:18 UTC) #14
Message was sent while issue was closed.
Change committed as 233511

Powered by Google App Engine
This is Rietveld 408576698