OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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 SKY_SHELL_UI_DELEGATE_H_ |
| 6 #define SKY_SHELL_UI_DELEGATE_H_ |
| 7 |
| 8 #include "ui/gfx/geometry/size.h" |
| 9 |
| 10 namespace sky { |
| 11 namespace shell { |
| 12 |
| 13 class UIDelegate { |
| 14 public: |
| 15 virtual void OnViewportMetricsChanged(const gfx::Size& size, |
| 16 float device_pixel_ratio) = 0; |
| 17 |
| 18 protected: |
| 19 virtual ~UIDelegate(); |
| 20 }; |
| 21 |
| 22 } // namespace shell |
| 23 } // namespace sky |
| 24 |
| 25 #endif // SKY_SHELL_UI_DELEGATE_H_ |
OLD | NEW |