| 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 UI_OZONE_PUBLIC_OVERLAY_CANDIDATES_OZONE_H_ | 5 #ifndef UI_OZONE_PUBLIC_OVERLAY_CANDIDATES_OZONE_H_ |
| 6 #define UI_OZONE_PUBLIC_OVERLAY_CANDIDATES_OZONE_H_ | 6 #define UI_OZONE_PUBLIC_OVERLAY_CANDIDATES_OZONE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "ui/gfx/rect_f.h" | 11 #include "ui/gfx/geometry/rect_f.h" |
| 12 #include "ui/ozone/ozone_base_export.h" | 12 #include "ui/ozone/ozone_base_export.h" |
| 13 #include "ui/ozone/public/surface_factory_ozone.h" | 13 #include "ui/ozone/public/surface_factory_ozone.h" |
| 14 | 14 |
| 15 namespace ui { | 15 namespace ui { |
| 16 | 16 |
| 17 // This class can be used to answer questions about possible overlay | 17 // This class can be used to answer questions about possible overlay |
| 18 // configurations for a particular output device. We get an instance of this | 18 // configurations for a particular output device. We get an instance of this |
| 19 // class from SurfaceFactoryOzone given an AcceleratedWidget. | 19 // class from SurfaceFactoryOzone given an AcceleratedWidget. |
| 20 class OZONE_BASE_EXPORT OverlayCandidatesOzone { | 20 class OZONE_BASE_EXPORT OverlayCandidatesOzone { |
| 21 public: | 21 public: |
| (...skipping 25 matching lines...) Expand all Loading... |
| 47 // plane are marked with |overlay_handled| set to true, otherwise they are | 47 // plane are marked with |overlay_handled| set to true, otherwise they are |
| 48 // to be tranditionally composited. | 48 // to be tranditionally composited. |
| 49 virtual void CheckOverlaySupport(OverlaySurfaceCandidateList* surfaces); | 49 virtual void CheckOverlaySupport(OverlaySurfaceCandidateList* surfaces); |
| 50 | 50 |
| 51 virtual ~OverlayCandidatesOzone(); | 51 virtual ~OverlayCandidatesOzone(); |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace ui | 54 } // namespace ui |
| 55 | 55 |
| 56 #endif // UI_OZONE_PUBLIC_OVERLAY_CANDIDATES_OZONE_H_ | 56 #endif // UI_OZONE_PUBLIC_OVERLAY_CANDIDATES_OZONE_H_ |
| OLD | NEW |