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

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

Issue 2703413004: Rename CRIWV class to CWV. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « ios/web_view/internal/criwv_web_main_delegate.h ('k') | ios/web_view/internal/cwv.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_MAIN_PARTS_H_ 5 #ifndef IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_MAIN_PARTS_H_
6 #define IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_MAIN_PARTS_H_ 6 #define IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_MAIN_PARTS_H_
7 7
8 #include "ios/web/public/app/web_main_parts.h" 8 #include "ios/web/public/app/web_main_parts.h"
9 9
10 #include <memory> 10 #include <memory>
11 11
12 @protocol CWVDelegate; 12 @protocol CWVDelegate;
13 13
14 namespace ios_web_view { 14 namespace ios_web_view {
15 class CRIWVBrowserState; 15 class CRIWVBrowserState;
16 16
17 // CRIWV-specific implementation of WebMainParts. 17 // CWV-specific implementation of WebMainParts.
18 class CRIWVWebMainParts : public web::WebMainParts { 18 class CRIWVWebMainParts : public web::WebMainParts {
19 public: 19 public:
20 explicit CRIWVWebMainParts(id<CWVDelegate> delegate); 20 explicit CRIWVWebMainParts(id<CWVDelegate> delegate);
21 ~CRIWVWebMainParts() override; 21 ~CRIWVWebMainParts() override;
22 22
23 // WebMainParts implementation. 23 // WebMainParts implementation.
24 void PreMainMessageLoopRun() override; 24 void PreMainMessageLoopRun() override;
25 25
26 // Returns the CRIWVBrowserState for this embedder. 26 // Returns the CRIWVBrowserState for this embedder.
27 CRIWVBrowserState* browser_state() const { return browser_state_.get(); } 27 CRIWVBrowserState* browser_state() const { return browser_state_.get(); }
(...skipping 10 matching lines...) Expand all
38 // The BrowserState for this embedder. 38 // The BrowserState for this embedder.
39 std::unique_ptr<CRIWVBrowserState> browser_state_; 39 std::unique_ptr<CRIWVBrowserState> browser_state_;
40 40
41 // The BrowserState for this embedder. 41 // The BrowserState for this embedder.
42 std::unique_ptr<CRIWVBrowserState> off_the_record_browser_state_; 42 std::unique_ptr<CRIWVBrowserState> off_the_record_browser_state_;
43 }; 43 };
44 44
45 } // namespace ios_web_view 45 } // namespace ios_web_view
46 46
47 #endif // IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_MAIN_PARTS_H_ 47 #endif // IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_MAIN_PARTS_H_
OLDNEW
« no previous file with comments | « ios/web_view/internal/criwv_web_main_delegate.h ('k') | ios/web_view/internal/cwv.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698