| OLD | NEW |
| 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_CLIENT_H_ | 5 #ifndef IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_CLIENT_H_ |
| 6 #define IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_CLIENT_H_ | 6 #define IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_CLIENT_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #import "ios/web/public/web_client.h" | 10 #import "ios/web/public/web_client.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 // TODO(crbug.com/679895): Find a better way to get a BrowserState object to | 30 // TODO(crbug.com/679895): Find a better way to get a BrowserState object to |
| 31 // AppDelegate. | 31 // AppDelegate. |
| 32 CRIWVBrowserState* browser_state() const; | 32 CRIWVBrowserState* browser_state() const; |
| 33 | 33 |
| 34 private: | 34 private: |
| 35 // This object's delegate. | 35 // This object's delegate. |
| 36 id<CRIWVDelegate> delegate_; | 36 id<CRIWVDelegate> delegate_; |
| 37 | 37 |
| 38 // The WebMainParts created by |CreateWebMainParts()|. | 38 // The WebMainParts created by |CreateWebMainParts()|. |
| 39 CRIWVWebMainParts* web_main_parts_; // weak | 39 CRIWVWebMainParts* web_main_parts_; |
| 40 | 40 |
| 41 DISALLOW_COPY_AND_ASSIGN(CRIWVWebClient); | 41 DISALLOW_COPY_AND_ASSIGN(CRIWVWebClient); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace ios_web_view | 44 } // namespace ios_web_view |
| 45 | 45 |
| 46 #endif // IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_CLIENT_H_ | 46 #endif // IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_CLIENT_H_ |
| OLD | NEW |