| OLD | NEW | 
|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_TEST_FAKE_WINDOW_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_TEST_FAKE_WINDOW_H_ | 
| 6 #define ANDROID_WEBVIEW_BROWSER_TEST_FAKE_WINDOW_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_TEST_FAKE_WINDOW_H_ | 
| 7 | 7 | 
| 8 #include <map> | 8 #include <map> | 
| 9 | 9 | 
| 10 #include "android_webview/public/browser/draw_gl.h" | 10 #include "android_webview/public/browser/draw_gl.h" | 
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 74   BrowserViewRenderer* const view_; | 74   BrowserViewRenderer* const view_; | 
| 75   WindowHooks* const hooks_; | 75   WindowHooks* const hooks_; | 
| 76   const gfx::Size surface_size_; | 76   const gfx::Size surface_size_; | 
| 77 | 77 | 
| 78   // UI thread members. | 78   // UI thread members. | 
| 79   gfx::Rect location_; | 79   gfx::Rect location_; | 
| 80   bool on_draw_hardware_pending_; | 80   bool on_draw_hardware_pending_; | 
| 81   base::SequenceChecker ui_checker_; | 81   base::SequenceChecker ui_checker_; | 
| 82 | 82 | 
| 83   // Render thread members. | 83   // Render thread members. | 
| 84   scoped_ptr<base::Thread> render_thread_; | 84   std::unique_ptr<base::Thread> render_thread_; | 
| 85   base::SequenceChecker rt_checker_; | 85   base::SequenceChecker rt_checker_; | 
| 86   SharedRendererState* functor_; | 86   SharedRendererState* functor_; | 
| 87   scoped_refptr<base::SingleThreadTaskRunner> render_thread_loop_; | 87   scoped_refptr<base::SingleThreadTaskRunner> render_thread_loop_; | 
| 88   scoped_refptr<gfx::GLSurface> surface_; | 88   scoped_refptr<gfx::GLSurface> surface_; | 
| 89   scoped_refptr<gfx::GLContext> context_; | 89   scoped_refptr<gfx::GLContext> context_; | 
| 90   bool context_current_; | 90   bool context_current_; | 
| 91 | 91 | 
| 92   base::WeakPtrFactory<FakeWindow> weak_ptr_factory_; | 92   base::WeakPtrFactory<FakeWindow> weak_ptr_factory_; | 
| 93 | 93 | 
| 94   DISALLOW_COPY_AND_ASSIGN(FakeWindow); | 94   DISALLOW_COPY_AND_ASSIGN(FakeWindow); | 
| 95 }; | 95 }; | 
| 96 | 96 | 
| 97 }  // namespace android_webview | 97 }  // namespace android_webview | 
| 98 | 98 | 
| 99 #endif  // ANDROID_WEBVIEW_BROWSER_TEST_FAKE_WINDOW_H_ | 99 #endif  // ANDROID_WEBVIEW_BROWSER_TEST_FAKE_WINDOW_H_ | 
| OLD | NEW | 
|---|