OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 ANDROID_WEBVIEW_BROWSER_SCOPED_APP_GL_STATE_RESTORE_H_ |
| 6 #define ANDROID_WEBVIEW_BROWSER_SCOPED_APP_GL_STATE_RESTORE_H_ |
| 7 |
5 #include <memory> | 8 #include <memory> |
6 #include <vector> | 9 #include <vector> |
7 | 10 |
8 #include "base/macros.h" | 11 #include "base/macros.h" |
9 | 12 |
10 namespace android_webview { | 13 namespace android_webview { |
11 | 14 |
12 namespace internal { | 15 namespace internal { |
13 class ScopedAppGLStateRestoreImpl; | 16 class ScopedAppGLStateRestoreImpl; |
14 } | 17 } |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 StencilState stencil_state() const; | 51 StencilState stencil_state() const; |
49 int framebuffer_binding_ext() const; | 52 int framebuffer_binding_ext() const; |
50 | 53 |
51 private: | 54 private: |
52 std::unique_ptr<internal::ScopedAppGLStateRestoreImpl> impl_; | 55 std::unique_ptr<internal::ScopedAppGLStateRestoreImpl> impl_; |
53 | 56 |
54 DISALLOW_COPY_AND_ASSIGN(ScopedAppGLStateRestore); | 57 DISALLOW_COPY_AND_ASSIGN(ScopedAppGLStateRestore); |
55 }; | 58 }; |
56 | 59 |
57 } // namespace android_webview | 60 } // namespace android_webview |
| 61 |
| 62 #endif // ANDROID_WEBVIEW_BROWSER_SCOPED_APP_GL_STATE_RESTORE_H_ |
OLD | NEW |