| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_COMMON_GPU_CHILD_WINDOW_SURFACE_WIN_H_ | 5 #ifndef CONTENT_COMMON_GPU_CHILD_WINDOW_SURFACE_WIN_H_ |
| 6 #define CONTENT_COMMON_GPU_CHILD_WINDOW_SURFACE_WIN_H_ | 6 #define CONTENT_COMMON_GPU_CHILD_WINDOW_SURFACE_WIN_H_ |
| 7 |
| 7 #include "ui/gl/gl_surface_egl.h" | 8 #include "ui/gl/gl_surface_egl.h" |
| 8 | 9 |
| 9 #include <windows.h> | 10 #include <windows.h> |
| 10 | 11 |
| 11 namespace content { | 12 namespace content { |
| 12 | 13 |
| 13 class GpuChannelManager; | 14 class GpuChannelManager; |
| 14 | 15 |
| 15 class ChildWindowSurfaceWin : public gfx::NativeViewGLSurfaceEGL { | 16 class ChildWindowSurfaceWin : public gfx::NativeViewGLSurfaceEGL { |
| 16 public: | 17 public: |
| (...skipping 21 matching lines...) Expand all Loading... |
| 38 gfx::Rect rect_to_clear_; | 39 gfx::Rect rect_to_clear_; |
| 39 bool alpha_; | 40 bool alpha_; |
| 40 bool first_swap_; | 41 bool first_swap_; |
| 41 | 42 |
| 42 DISALLOW_COPY_AND_ASSIGN(ChildWindowSurfaceWin); | 43 DISALLOW_COPY_AND_ASSIGN(ChildWindowSurfaceWin); |
| 43 }; | 44 }; |
| 44 | 45 |
| 45 } // namespace content | 46 } // namespace content |
| 46 | 47 |
| 47 #endif // CONTENT_COMMON_GPU_CHILD_WINDOW_SURFACE_WIN_H_ | 48 #endif // CONTENT_COMMON_GPU_CHILD_WINDOW_SURFACE_WIN_H_ |
| OLD | NEW |