Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: ui/base/android/system_ui_resource_manager.h

Issue 377013002: android: Use UIResource for overscroll glow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698