1 // Copyright (c) 2012 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.
5 #ifndef UI_GL_ANDROID_NATIVE_WINDOW_H_
6 #define UI_GL_ANDROID_NATIVE_WINDOW_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
15 // This class deals with the Android native window ref count.
16 class AndroidNativeWindow
{
18 explicit AndroidNativeWindow(ANativeWindow
* window
);
19 ~AndroidNativeWindow();
21 ANativeWindow
* GetNativeWindow() const;
24 ANativeWindow
* window_
;
26 DISALLOW_COPY_AND_ASSIGN(AndroidNativeWindow
);
31 #endif // UI_GL_ANDROID_NATIVE_WINDOW_H_