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

Unified Diff: ui/base/android/system_ui_resource_layer.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 side-by-side diff with in-line comments
Download patch
Index: ui/base/android/system_ui_resource_layer.h
diff --git a/ui/base/android/system_ui_resource_layer.h b/ui/base/android/system_ui_resource_layer.h
new file mode 100644
index 0000000000000000000000000000000000000000..a65a7e615b93e3dfe7ec3457f83a82d2d1f773cc
--- /dev/null
+++ b/ui/base/android/system_ui_resource_layer.h
@@ -0,0 +1,22 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_BASE_ANDROID_SYSTEM_UI_RESOURCE_LAYER_H_
+#define UI_BASE_ANDROID_SYSTEM_UI_RESOURCE_LAYER_H_
+
+#include "cc/resources/ui_resource_client.h"
+#include "ui/base/ui_base_export.h"
+
+namespace ui {
+
+class UI_BASE_EXPORT SystemUIResourceLayer {
+ public:
+ virtual ~SystemUIResourceLayer() {}
+
+ virtual void SetUIResourceId(cc::UIResourceId id) = 0;
+};
+
+} // namespace ui
+
+#endif // UI_BASE_ANDROID_SYSTEM_UI_RESOURCE_LAYER_H_

Powered by Google App Engine
This is Rietveld 408576698