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

Side by Side Diff: ios/public/provider/web/web_controller_provider.mm

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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ios/public/provider/web/web_controller_provider.h"
6
7 #if !defined(__has_feature) || !__has_feature(objc_arc)
8 #error "This file requires ARC support."
9 #endif
10
11 namespace ios {
12
13 WebControllerProvider::WebControllerProvider(web::BrowserState* browser_state) {
14 }
15
16 WebControllerProvider::~WebControllerProvider() {}
17
18 bool WebControllerProvider::SuppressesDialogs() const {
19 return false;
20 }
21
22 web::WebState* WebControllerProvider::GetWebState() const {
23 return nullptr;
24 }
25
26 void WebControllerProvider::InjectScript(
27 const std::string& script,
28 web::JavaScriptResultBlock completion) {
29 if (completion)
30 completion(nil, nil);
31 }
32
33 } // namespace ios
OLDNEW
« no previous file with comments | « ios/public/provider/web/web_controller_provider.h ('k') | ios/public/provider/web/web_controller_provider_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698