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

Side by Side Diff: content/common/android/surface.h

Issue 12388038: Android: Remove Surface cruft (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved.
bulach 2013/03/01 11:38:24 see my comments above, I think we can get rid of t
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 CONTENT_COMMON_ANDROID_SURFACE_H_
6 #define CONTENT_COMMON_ANDROID_SURFACE_H_
7
8 #include <jni.h>
9
10 #include "base/android/scoped_java_ref.h"
11
12 namespace content {
13
14 class Surface {
15 public:
16 Surface(const base::android::JavaRef<jobject>& surface_texture);
17 ~Surface();
18
19 void Release();
20 static void Release(jobject surface);
21
22 const base::android::JavaRef<jobject>& j_surface() const {
23 return j_surface_;
24 }
25
26 private:
27 base::android::ScopedJavaGlobalRef<jobject> j_surface_;
28 };
29
30 } // namespace content
31
32 #endif // CONTENT_COMMON_ANDROID_SURFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698