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

Side by Side Diff: ui/gl/android_native_window.h

Issue 10392068: ui: Move gl/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac_rel Created 8 years, 7 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
« no previous file with comments | « ui/gl/OWNERS ('k') | ui/gl/android_native_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GFX_GL_ANDROID_NATIVE_WINDOW_H_ 5 #ifndef UI_GL_ANDROID_NATIVE_WINDOW_H_
6 #define UI_GFX_GL_ANDROID_NATIVE_WINDOW_H_ 6 #define UI_GL_ANDROID_NATIVE_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 11
12 struct ANativeWindow; 12 struct ANativeWindow;
13 13
14 namespace gfx { 14 namespace gfx {
15 15
16 // This class deals with the Android native window ref count. 16 // This class deals with the Android native window ref count.
17 class AndroidNativeWindow { 17 class AndroidNativeWindow {
18 public: 18 public:
19 explicit AndroidNativeWindow(ANativeWindow* window); 19 explicit AndroidNativeWindow(ANativeWindow* window);
20 ~AndroidNativeWindow(); 20 ~AndroidNativeWindow();
21 21
22 ANativeWindow* GetNativeHandle() const; 22 ANativeWindow* GetNativeHandle() const;
23 23
24 private: 24 private:
25 ANativeWindow* window_; 25 ANativeWindow* window_;
26 26
27 DISALLOW_COPY_AND_ASSIGN(AndroidNativeWindow); 27 DISALLOW_COPY_AND_ASSIGN(AndroidNativeWindow);
28 }; 28 };
29 29
30 } // namespace gfx 30 } // namespace gfx
31 31
32 #endif // UI_GFX_GL_ANDROID_NATIVE_WINDOW_H_ 32 #endif // UI_GL_ANDROID_NATIVE_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/gl/OWNERS ('k') | ui/gl/android_native_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698