OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_BASE_ANDROID_SYSTEM_UI_RESOURCE_MANAGER_H_ |
| 6 #define UI_BASE_ANDROID_SYSTEM_UI_RESOURCE_MANAGER_H_ |
| 7 |
| 8 #include "ui/base/ui_base_export.h" |
| 9 |
| 10 namespace ui { |
| 11 |
| 12 class SystemUIResourceLayer; |
| 13 |
| 14 class UI_BASE_EXPORT SystemUIResourceManager { |
| 15 public: |
| 16 enum Type { OVERSCROLL_EDGE, OVERSCROLL_GLOW }; |
| 17 |
| 18 virtual ~SystemUIResourceManager() {} |
| 19 |
| 20 virtual void Subscribe(Type type, SystemUIResourceLayer* layer) = 0; |
| 21 virtual void Unsubscribe(Type type, SystemUIResourceLayer* layer) = 0; |
| 22 }; |
| 23 |
| 24 } // namespace ui |
| 25 |
| 26 #endif // UI_BASE_ANDROID_SYSTEM_UI_RESOURCE_MANAGER_H_ |
OLD | NEW |