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

Side by Side Diff: mojo/services/native_viewport/native_viewport_context.h

Issue 404913002: Break dependency of native_viewport_service on mojo::shell::Context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MOJO_SERVICES_NATIVE_VIEWPORT_CONTEXT_H_
6 #define MOJO_SERVICES_NATIVE_VIEWPORT_CONTEXT_H_
7
8 #include "build/build_config.h"
9
10 #if defined(OS_ANDROID)
11 #include "base/android/scoped_java_ref.h"
12 #endif // defined(OS_ANDROID)
13
14 namespace mojo {
15 namespace services {
16
17 // Class used by native_viewport to provide the activity (on Android).
18 class NativeViewportContext {
19 public:
20 #if defined(OS_ANDROID)
21 virtual jobject GetActivity() = 0;
22 #endif // defined(OS_ANDROID)
23 };
24
25 } // namespace services
26 } // namespace mojo
27
28 #endif // MOJO_SERVICES_NATIVE_VIEWPORT_CONTEXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698