| Index: ui/ozone/platform/dri/screen_manager.h
|
| diff --git a/ui/ozone/platform/dri/screen_manager.h b/ui/ozone/platform/dri/screen_manager.h
|
| index eeca56ae31e96174f868b931168226e099f67f09..72278dbac074dabfde2d45bd4c69b0da6bcc8bd2 100644
|
| --- a/ui/ozone/platform/dri/screen_manager.h
|
| +++ b/ui/ozone/platform/dri/screen_manager.h
|
| @@ -57,6 +57,11 @@ class ScreenManager {
|
| base::WeakPtr<HardwareDisplayController> GetDisplayController(
|
| const gfx::Rect& bounds);
|
|
|
| + // On non CrOS builds there is no display configurator to look-up available
|
| + // displays and initialize the HDCs. In such cases this is called internally
|
| + // to initialize a display.
|
| + virtual void ForceInitializationOfPrimaryDisplay();
|
| +
|
| private:
|
| typedef ScopedVector<HardwareDisplayController> HardwareDisplayControllers;
|
|
|
| @@ -69,11 +74,6 @@ class ScreenManager {
|
| HardwareDisplayControllers::iterator FindActiveDisplayControllerByLocation(
|
| const gfx::Rect& bounds);
|
|
|
| - // Returns an iterator to the first controller located at |origin|. The
|
| - // controller may be disabled.
|
| - HardwareDisplayControllers::iterator FindDisplayControllerByLocation(
|
| - const gfx::Rect& bounds);
|
| -
|
| // Perform modesetting in |controller| using |origin| and |mode|.
|
| bool ModesetDisplayController(HardwareDisplayController* controller,
|
| const gfx::Point& origin,
|
| @@ -87,11 +87,6 @@ class ScreenManager {
|
| uint32_t crtc,
|
| uint32_t connector);
|
|
|
| - // On non CrOS builds there is no display configurator to look-up available
|
| - // displays and initialize the HDCs. In such cases this is called internally
|
| - // to initialize a display.
|
| - virtual void ForceInitializationOfPrimaryDisplay();
|
| -
|
| DriWrapper* dri_; // Not owned.
|
| ScanoutBufferGenerator* buffer_generator_; // Not owned.
|
| // List of display controllers (active and disabled).
|
|
|