| Index: ios/web_view/internal/criwv_web_main_delegate.mm
|
| diff --git a/ios/web_view/internal/criwv_web_main_delegate.mm b/ios/web_view/internal/criwv_web_main_delegate.mm
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2a170cd617ce0343ebb18002260b1c87bd5b56d9
|
| --- /dev/null
|
| +++ b/ios/web_view/internal/criwv_web_main_delegate.mm
|
| @@ -0,0 +1,23 @@
|
| +// 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.
|
| +
|
| +#import "ios/web_view/internal/criwv_web_main_delegate.h"
|
| +
|
| +#import "ios/web_view/internal/criwv_web_client.h"
|
| +#import "ios/web_view/public/criwv_delegate.h"
|
| +
|
| +namespace ios_web_view {
|
| +
|
| +CRIWVWebMainDelegate::CRIWVWebMainDelegate(id<CRIWVDelegate> delegate) {
|
| + delegate_ = delegate;
|
| +}
|
| +
|
| +CRIWVWebMainDelegate::~CRIWVWebMainDelegate() {}
|
| +
|
| +void CRIWVWebMainDelegate::BasicStartupComplete() {
|
| + web_client_.reset(new CRIWVWebClient(delegate_));
|
| + web::SetWebClient(web_client_.get());
|
| +}
|
| +
|
| +} // namespace ios_web_view
|
|
|