OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_OZONE_PUBLIC_OZONE_PLATFORM_SCREEN_DELEGATE_H_ |
| 6 #define UI_OZONE_PUBLIC_OZONE_PLATFORM_SCREEN_DELEGATE_H_ |
| 7 |
| 8 namespace ui { |
| 9 |
| 10 // A simple observer interface for all clients interested in receiving various |
| 11 // output change notifications like size changes, when a new output is added, |
| 12 // etc. |
| 13 class OzonePlatformScreenDelegate { |
| 14 public: |
| 15 // Called when the current output geometry has changed. |
| 16 virtual void OnOutputGeometryChanged(int32_t name, const gfx::Rect& rect) = 0; |
| 17 |
| 18 protected: |
| 19 virtual ~OzonePlatformScreenDelegate() {} |
| 20 }; |
| 21 |
| 22 } // namespace ui |
| 23 |
| 24 #endif // UI_OZONE_PUBLIC_OZONE_PLATFORM_SCREEN_DELEGATE_H_ |
OLD | NEW |