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

Unified Diff: content/public/browser/android/ui_resource_listener.h

Issue 287593002: android: content::UIResourceProvider and content::UIResourceClientAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: user->listener Created 6 years, 7 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: content/public/browser/android/ui_resource_listener.h
diff --git a/content/public/browser/android/ui_resource_listener.h b/content/public/browser/android/ui_resource_listener.h
new file mode 100644
index 0000000000000000000000000000000000000000..c56326aa8503a5bdabd238ae871d995816745c48
--- /dev/null
+++ b/content/public/browser/android/ui_resource_listener.h
@@ -0,0 +1,25 @@
+// 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 CONTENT_PUBLIC_BROWSER_ANDROID_UI_RESOURCE_LISTENER_H_
+#define CONTENT_PUBLIC_BROWSER_ANDROID_UI_RESOURCE_LISTENER_H_
+
+#include "base/containers/hash_tables.h"
+#include "content/common/content_export.h"
+
+namespace content {
+
+class UIResourceProvider;
+
+class CONTENT_EXPORT UIResourceListener {
David Trainor- moved to gerrit 2014/05/13 20:38:00 Some comments on this class about when all methods
powei 2014/05/13 23:38:03 Done.
+ public:
+ virtual void SetUIResourceProvider(
David Trainor- moved to gerrit 2014/05/13 20:38:00 Do we need this?
powei 2014/05/13 23:38:03 No. Removed.
+ UIResourceProvider* ui_resurce_provider) = 0;
+ virtual void OnUIResourcesAreInvalid() = 0;
+ virtual void OnRecreateUIResources() = 0;
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_ANDROID_UI_RESOURCE_LISTENER_H_

Powered by Google App Engine
This is Rietveld 408576698