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

Side by Side Diff: ui/ozone/platform/test/test_window_manager.h

Issue 406093002: ozone: Remove GetAcceleratedWidget from SurfaceFactoryOzone (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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
OLDNEW
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 UI_OZONE_PLATFORM_TEST_FILE_SURFACE_FACTORY_H_ 5 #ifndef UI_OZONE_PLATFORM_TEST_FILE_SURFACE_FACTORY_H_
6 #define UI_OZONE_PLATFORM_TEST_FILE_SURFACE_FACTORY_H_ 6 #define UI_OZONE_PLATFORM_TEST_FILE_SURFACE_FACTORY_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 16 matching lines...) Expand all
27 27
28 // Remove a window. 28 // Remove a window.
29 void RemoveWindow(int32_t window_id, TestWindow* window); 29 void RemoveWindow(int32_t window_id, TestWindow* window);
30 30
31 // User-supplied path for images. 31 // User-supplied path for images.
32 base::FilePath base_path() const; 32 base::FilePath base_path() const;
33 33
34 // SurfaceFactoryOzone: 34 // SurfaceFactoryOzone:
35 virtual HardwareState InitializeHardware() OVERRIDE; 35 virtual HardwareState InitializeHardware() OVERRIDE;
36 virtual void ShutdownHardware() OVERRIDE; 36 virtual void ShutdownHardware() OVERRIDE;
37 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
38 virtual scoped_ptr<SurfaceOzoneCanvas> CreateCanvasForWidget( 37 virtual scoped_ptr<SurfaceOzoneCanvas> CreateCanvasForWidget(
39 gfx::AcceleratedWidget w) OVERRIDE; 38 gfx::AcceleratedWidget w) OVERRIDE;
40 virtual bool LoadEGLGLES2Bindings( 39 virtual bool LoadEGLGLES2Bindings(
41 AddGLLibraryCallback add_gl_library, 40 AddGLLibraryCallback add_gl_library,
42 SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE; 41 SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE;
43 42
44 private: 43 private:
45 base::FilePath location_; 44 base::FilePath location_;
46 45
47 IDMap<TestWindow> windows_; 46 IDMap<TestWindow> windows_;
48 47
49 DISALLOW_COPY_AND_ASSIGN(TestWindowManager); 48 DISALLOW_COPY_AND_ASSIGN(TestWindowManager);
50 }; 49 };
51 50
52 } // namespace ui 51 } // namespace ui
53 52
54 #endif // UI_OZONE_PLATFORM_TEST_FILE_SURFACE_FACTORY_H_ 53 #endif // UI_OZONE_PLATFORM_TEST_FILE_SURFACE_FACTORY_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/egltest/ozone_platform_egltest.cc ('k') | ui/ozone/platform/test/test_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698