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

Unified Diff: ios/chrome/browser/web/web_controller_provider_impl.h

Issue 2612433002: Remove CRWWebControllerProvider (Closed)
Patch Set: Remove DEPS Created 3 years, 11 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: ios/chrome/browser/web/web_controller_provider_impl.h
diff --git a/ios/chrome/browser/web/web_controller_provider_impl.h b/ios/chrome/browser/web/web_controller_provider_impl.h
deleted file mode 100644
index 4da9e7b645777ac653217f4b06c9b7dbcbaf4233..0000000000000000000000000000000000000000
--- a/ios/chrome/browser/web/web_controller_provider_impl.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2015 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 IOS_CHROME_BROWSER_WEB_WEB_CONTROLLER_PROVIDER_IMPL_H_
-#define IOS_CHROME_BROWSER_WEB_WEB_CONTROLLER_PROVIDER_IMPL_H_
-
-#include <memory>
-
-#import "ios/public/provider/web/web_controller_provider.h"
-
-namespace web {
-class WebStateImpl;
-}
-
-// Concrete implementation of ios::WebControllerProvider.
-class WebControllerProviderImpl : public ios::WebControllerProvider {
- public:
- explicit WebControllerProviderImpl(web::BrowserState* browser_state);
- ~WebControllerProviderImpl() override;
-
- // ios::WebControllerProvider implementation.
- bool SuppressesDialogs() const override;
- void SetSuppressesDialogs(bool should_suppress_dialogs) override;
- void LoadURL(const GURL& url) override;
- web::WebState* GetWebState() const override;
- void InjectScript(const std::string& script,
- web::JavaScriptResultBlock completion) override;
-
- private:
- std::unique_ptr<web::WebStateImpl> web_state_impl_;
- GURL last_requested_url_;
- bool suppresses_dialogs_;
-};
-
-#endif // IOS_CHROME_BROWSER_WEB_WEB_CONTROLLER_PROVIDER_IMPL_H_
« no previous file with comments | « ios/chrome/browser/web/web_controller_provider_factory_impl.mm ('k') | ios/chrome/browser/web/web_controller_provider_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698