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

Unified Diff: ui/android/resources/ui_resource_client_android.h

Issue 755643004: Replace SystemUIResourceManager with ResourceManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix clang build failure Created 6 years 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
« no previous file with comments | « ui/android/resources/ui_resource_android.cc ('k') | ui/android/resources/ui_resource_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/resources/ui_resource_client_android.h
diff --git a/content/public/browser/android/ui_resource_client_android.h b/ui/android/resources/ui_resource_client_android.h
similarity index 64%
rename from content/public/browser/android/ui_resource_client_android.h
rename to ui/android/resources/ui_resource_client_android.h
index 83228bd0f56ffba83f7b6a162ae17cfe8c42c510..4ada671fa6231b52dea1222c4d1eb749764e9dd7 100644
--- a/content/public/browser/android/ui_resource_client_android.h
+++ b/ui/android/resources/ui_resource_client_android.h
@@ -2,22 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_PUBLIC_BROWSER_ANDROID_UI_RESOURCE_CLIENT_ANDROID_H_
-#define CONTENT_PUBLIC_BROWSER_ANDROID_UI_RESOURCE_CLIENT_ANDROID_H_
+#ifndef UI_ANDROID_RESOURCES_UI_RESOURCE_CLIENT_ANDROID_H_
+#define UI_ANDROID_RESOURCES_UI_RESOURCE_CLIENT_ANDROID_H_
#include "cc/resources/ui_resource_client.h"
-#include "content/common/content_export.h"
+#include "ui/android/ui_android_export.h"
-namespace content {
-
-class UIResourceProvider;
+namespace ui {
// Android's UIResourceClient has one extra callback (UIResourceIsInvalid).
// This signal is intended for the case when the LayerTreeHost is cleared and
// the user needs to recreate their resources.
// TODO(powei): This interface can be removed once crbug.com/374906 has been
// addressed.
-class CONTENT_EXPORT UIResourceClientAndroid : public cc::UIResourceClient {
+class UI_ANDROID_EXPORT UIResourceClientAndroid : public cc::UIResourceClient {
public:
// This method indicates that the UI resource the user holds is no longer
// valid. The user should not call DeleteUIResource on any resource generated
@@ -25,6 +23,6 @@ class CONTENT_EXPORT UIResourceClientAndroid : public cc::UIResourceClient {
virtual void UIResourceIsInvalid() = 0;
};
-} // namespace content
+} // namespace ui
-#endif // CONTENT_PUBLIC_BROWSER_ANDROID_UI_RESOURCE_CLIENT_ANDROID_H_
+#endif // UI_ANDROID_RESOURCES_UI_RESOURCE_CLIENT_ANDROID_H_
« no previous file with comments | « ui/android/resources/ui_resource_android.cc ('k') | ui/android/resources/ui_resource_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698