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

Side by Side Diff: gpu/ipc/common/dialog_surface_lookup.h

Issue 2178973004: DialogSurfaceManager implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved jni out of content/app Created 4 years, 4 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
OLDNEW
(Empty)
1 // Copyright 2016 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 GPU_IPC_COMMON_DIALOG_SURFACE_LOOKUP_H_
6 #define GPU_IPC_COMMON_DIALOG_SURFACE_LOOKUP_H_
7
8 #include "base/macros.h"
9 #include "gpu/gpu_export.h"
10
11 namespace gpu {
12
13 // This class provides an interface to look up the browser-based Dialog
14 // Surface manager.
15 class GPU_EXPORT DialogSurfaceLookup {
16 public:
17 DialogSurfaceLookup() {}
18 virtual ~DialogSurfaceLookup() {}
19
20 static DialogSurfaceLookup* GetInstance();
21 static void InitInstance(DialogSurfaceLookup* lookup);
22
23 #if defined(OS_ANDROID)
watk 2016/07/26 21:34:30 Shouldn't we only compile this on Android?
liberato (no reviews please) 2016/07/26 22:49:15 Done.
24 virtual base::android::ScopedJavaLocalRef<jobject>
25 GetDialogSurfaceManager() = 0;
26 #endif
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(DialogSurfaceLookup);
30 };
31
32 } // namespace gpu
33
34 #endif // GPU_IPC_COMMON_DIALOG_SURFACE_LOOKUP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698