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

Unified Diff: ios/public/provider/web/web_ui_ios_controller.h

Issue 2116673002: [ios] Moved WebUI provider code to ios/web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self review Created 4 years, 6 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
« no previous file with comments | « ios/public/provider/web/web_ui_ios.h ('k') | ios/public/provider/web/web_ui_ios_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/public/provider/web/web_ui_ios_controller.h
diff --git a/ios/public/provider/web/web_ui_ios_controller.h b/ios/public/provider/web/web_ui_ios_controller.h
index a053132a5c008b9a86397b71ed836ec8f5ff3475..aa338286a1559784a0ffefe1f8e6144620d9eaed 100644
--- a/ios/public/provider/web/web_ui_ios_controller.h
+++ b/ios/public/provider/web/web_ui_ios_controller.h
@@ -5,37 +5,8 @@
#ifndef IOS_PUBLIC_PROVIDER_WEB_WEB_UI_IOS_CONTROLLER_H_
#define IOS_PUBLIC_PROVIDER_WEB_WEB_UI_IOS_CONTROLLER_H_
-#include "base/strings/string16.h"
-
-class GURL;
-
-namespace base {
-class ListValue;
-}
-
-namespace web {
-
-class WebUIIOS;
-
-// A WebUIIOS page is controlled by the embedder's WebUIIOSController object. It
-// manages the data source and message handlers.
-class WebUIIOSController {
- public:
- explicit WebUIIOSController(WebUIIOS* web_ui) : web_ui_(web_ui) {}
- virtual ~WebUIIOSController() {}
-
- // Allows the controller to override handling all messages from the page.
- // Return true if the message handling was overridden.
- virtual bool OverrideHandleWebUIIOSMessage(const GURL& source_url,
- const std::string& message,
- const base::ListValue& args);
-
- WebUIIOS* web_ui() const { return web_ui_; }
-
- private:
- WebUIIOS* web_ui_;
-};
-
-} // namespace web
+// TODO(crbug.com/524467): Remove this file once downstream code is switched to
+// use correct header.
+#include "ios/web/public/webui/web_ui_ios_controller.h"
#endif // IOS_PUBLIC_PROVIDER_WEB_WEB_UI_IOS_CONTROLLER_H_
« no previous file with comments | « ios/public/provider/web/web_ui_ios.h ('k') | ios/public/provider/web/web_ui_ios_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698