| Index: ios/web_view/internal/web_view_web_main_delegate.h
|
| diff --git a/ios/web_view/internal/criwv_web_main_delegate.h b/ios/web_view/internal/web_view_web_main_delegate.h
|
| similarity index 52%
|
| rename from ios/web_view/internal/criwv_web_main_delegate.h
|
| rename to ios/web_view/internal/web_view_web_main_delegate.h
|
| index 98696dab199ed612b997f9207b4c7dbd1cba4b3a..8620560f75141eb077ba58823543cc86dd1bfabc 100644
|
| --- a/ios/web_view/internal/criwv_web_main_delegate.h
|
| +++ b/ios/web_view/internal/web_view_web_main_delegate.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_MAIN_DELEGATE_H_
|
| -#define IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_MAIN_DELEGATE_H_
|
| +#ifndef IOS_WEB_VIEW_INTERNAL_WEB_VIEW_WEB_MAIN_DELEGATE_H_
|
| +#define IOS_WEB_VIEW_INTERNAL_WEB_VIEW_WEB_MAIN_DELEGATE_H_
|
|
|
| #include <memory>
|
| #include "base/macros.h"
|
| @@ -12,13 +12,13 @@
|
| @protocol CWVDelegate;
|
|
|
| namespace ios_web_view {
|
| -class CRIWVWebClient;
|
| +class WebViewWebClient;
|
|
|
| -// CWV-specific implementation of WebMainDelegate.
|
| -class CRIWVWebMainDelegate : public web::WebMainDelegate {
|
| +// WebView implementation of WebMainDelegate.
|
| +class WebViewWebMainDelegate : public web::WebMainDelegate {
|
| public:
|
| - explicit CRIWVWebMainDelegate(id<CWVDelegate> delegate);
|
| - ~CRIWVWebMainDelegate() override;
|
| + explicit WebViewWebMainDelegate(id<CWVDelegate> delegate);
|
| + ~WebViewWebMainDelegate() override;
|
|
|
| // WebMainDelegate implementation.
|
| void BasicStartupComplete() override;
|
| @@ -28,11 +28,11 @@ class CRIWVWebMainDelegate : public web::WebMainDelegate {
|
| __weak id<CWVDelegate> delegate_;
|
|
|
| // The content and web clients registered by this object.
|
| - std::unique_ptr<CRIWVWebClient> web_client_;
|
| + std::unique_ptr<WebViewWebClient> web_client_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(CRIWVWebMainDelegate);
|
| + DISALLOW_COPY_AND_ASSIGN(WebViewWebMainDelegate);
|
| };
|
|
|
| } // namespace ios_web_view
|
|
|
| -#endif // IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_MAIN_DELEGATE_H_
|
| +#endif // IOS_WEB_VIEW_INTERNAL_WEB_VIEW_WEB_MAIN_DELEGATE_H_
|
|
|