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

Unified Diff: ui/ozone/public/surface_factory_ozone.h

Issue 399953003: ozone: Remove InitializeHardware / ShutdownHardware (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests more 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/test/test_window_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/surface_factory_ozone.h
diff --git a/ui/ozone/public/surface_factory_ozone.h b/ui/ozone/public/surface_factory_ozone.h
index fc570837caa7a2cad59dbb91d2a188d1b0483c72..08b977459b202f92cf470fe491f46ca144e72bbf 100644
--- a/ui/ozone/public/surface_factory_ozone.h
+++ b/ui/ozone/public/surface_factory_ozone.h
@@ -58,13 +58,6 @@ class SurfaceOzoneEGL;
// modes (See comments bellow for descriptions).
class OZONE_BASE_EXPORT SurfaceFactoryOzone {
public:
- // Describes the state of the hardware after initialization.
- enum HardwareState {
- UNINITIALIZED,
- INITIALIZED,
- FAILED,
- };
-
// Describes overlay buffer format.
// TODO: this is a placeholder for now and will be populated with more
// formats once we know what sorts of content, video, etc. we can support.
@@ -85,14 +78,6 @@ class OZONE_BASE_EXPORT SurfaceFactoryOzone {
// Returns the singleton instance.
static SurfaceFactoryOzone* GetInstance();
- // Configures the display hardware. Must be called from within the GPU
- // process before the sandbox has been activated.
- virtual HardwareState InitializeHardware() = 0;
-
- // Cleans up display hardware state. Call this from within the GPU process.
- // This method must be safe to run inside of the sandbox.
- virtual void ShutdownHardware() = 0;
-
// Returns native platform display handle. This is used to obtain the EGL
// display connection for the native display.
virtual intptr_t GetNativeDisplay();
« no previous file with comments | « ui/ozone/platform/test/test_window_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698