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

Issue 404913002: Break dependency of native_viewport_service on mojo::shell::Context (Closed)

Created:
6 years, 5 months ago by DaveMoore
Modified:
6 years, 5 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

Break dependency of native_viewport_service on mojo::shell::Context BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284660

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 2

Patch Set 3 : Move call to GetApplicationContext() to native_viewport_android #

Patch Set 4 : Move call to GetApplicationContext() to native_viewport_android #

Patch Set 5 : Move call to GetApplicationContext() to native_viewport_android #

Patch Set 6 : Move call to GetApplicationContext() to native_viewport_android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -54 lines) Patch
M mojo/services/native_viewport/native_viewport.h View 1 2 2 chunks +1 line, -7 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_android.h View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_android.cc View 1 2 4 chunks +6 lines, -9 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_mac.mm View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M mojo/services/native_viewport/native_viewport_ozone.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M mojo/services/native_viewport/native_viewport_service.h View 1 2 1 chunk +7 lines, -2 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_service.cc View 1 2 3 4 chunks +12 lines, -19 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_stub.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M mojo/services/native_viewport/native_viewport_win.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M mojo/services/native_viewport/native_viewport_x11.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M mojo/shell/android/mojo_main.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M mojo/shell/context.h View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download
M mojo/shell/context.cc View 1 2 3 4 2 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
DaveMoore
Cleanup
6 years, 5 months ago (2014-07-18 22:14:23 UTC) #1
DaveMoore
6 years, 5 months ago (2014-07-18 22:15:10 UTC) #2
darin (slow to review)
https://codereview.chromium.org/404913002/diff/20001/mojo/shell/context.h File mojo/shell/context.h (right): https://codereview.chromium.org/404913002/diff/20001/mojo/shell/context.h#newcode30 mojo/shell/context.h:30: class Context : public services::NativeViewportContext { Maybe instead of ...
6 years, 5 months ago (2014-07-19 04:26:30 UTC) #3
qsr
https://codereview.chromium.org/404913002/diff/20001/mojo/services/native_viewport/native_viewport_android.cc File mojo/services/native_viewport/native_viewport_android.cc (right): https://codereview.chromium.org/404913002/diff/20001/mojo/services/native_viewport/native_viewport_android.cc#newcode106 mojo/services/native_viewport/native_viewport_android.cc:106: Java_NativeViewportAndroid_createForActivity(env, context_->GetActivity(), Any reason not to use base::android::GetApplicationContext() from ...
6 years, 5 months ago (2014-07-21 08:20:25 UTC) #4
DaveMoore
Move call to GetApplicationContext() to native_viewport_android
6 years, 5 months ago (2014-07-21 16:07:05 UTC) #5
DaveMoore
Move call to GetApplicationContext() to native_viewport_android
6 years, 5 months ago (2014-07-21 16:12:54 UTC) #6
DaveMoore
Move call to GetApplicationContext() to native_viewport_android
6 years, 5 months ago (2014-07-21 16:15:06 UTC) #7
DaveMoore
Thanks to qsr@ for telling me I can just call base::android::GetApplicationContext() from native_viewport_android. This is ...
6 years, 5 months ago (2014-07-21 16:19:29 UTC) #8
qsr
lgtm
6 years, 5 months ago (2014-07-21 16:24:04 UTC) #9
DaveMoore
Move call to GetApplicationContext() to native_viewport_android
6 years, 5 months ago (2014-07-21 16:39:02 UTC) #10
DaveMoore
The CQ bit was checked by davemoore@chromium.org
6 years, 5 months ago (2014-07-21 16:39:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davemoore@chromium.org/404913002/90001
6 years, 5 months ago (2014-07-21 16:40:01 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-21 18:34:20 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-21 19:12:58 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/41169)
6 years, 5 months ago (2014-07-21 19:13:00 UTC) #15
qsr
The CQ bit was checked by qsr@chromium.org
6 years, 5 months ago (2014-07-22 08:12:37 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davemoore@chromium.org/404913002/90001
6 years, 5 months ago (2014-07-22 08:14:16 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-22 09:00:24 UTC) #18
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 10:39:45 UTC) #19
Message was sent while issue was closed.
Change committed as 284660

Powered by Google App Engine
This is Rietveld 408576698