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

Side by Side Diff: ios/web_view/internal/criwv_web_main_delegate.h

Issue 2715043002: Replace prefix of ios/web_view C++ classes. (Closed)
Patch Set: Respond to comments. Created 3 years, 9 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 2014 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 #ifndef IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_MAIN_DELEGATE_H_
6 #define IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_MAIN_DELEGATE_H_
7
8 #include <memory>
9 #include "base/macros.h"
10 #include "ios/web/public/app/web_main_delegate.h"
11
12 @protocol CWVDelegate;
13
14 namespace ios_web_view {
15 class CRIWVWebClient;
16
17 // CWV-specific implementation of WebMainDelegate.
18 class CRIWVWebMainDelegate : public web::WebMainDelegate {
19 public:
20 explicit CRIWVWebMainDelegate(id<CWVDelegate> delegate);
21 ~CRIWVWebMainDelegate() override;
22
23 // WebMainDelegate implementation.
24 void BasicStartupComplete() override;
25
26 private:
27 // This object's delegate.
28 __weak id<CWVDelegate> delegate_;
29
30 // The content and web clients registered by this object.
31 std::unique_ptr<CRIWVWebClient> web_client_;
32
33 DISALLOW_COPY_AND_ASSIGN(CRIWVWebMainDelegate);
34 };
35
36 } // namespace ios_web_view
37
38 #endif // IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « ios/web_view/internal/criwv_web_client.mm ('k') | ios/web_view/internal/criwv_web_main_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698