| OLD | NEW | 
|   1 // Copyright 2017 The Chromium Authors. All rights reserved. |   1 // Copyright 2017 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 WebFactoryImpl_h |   5 #ifndef WebFactoryImpl_h | 
|   6 #define WebFactoryImpl_h |   6 #define WebFactoryImpl_h | 
|   7  |   7  | 
|   8 #include "core/exported/WebFactory.h" |   8 #include "core/exported/WebFactory.h" | 
|   9  |   9  | 
|  10 namespace blink { |  10 namespace blink { | 
|  11  |  11  | 
|  12 class WebFactoryImpl : public WebFactory { |  12 class WebFactoryImpl : public WebFactory { | 
|  13  public: |  13  public: | 
|  14   WebFactoryImpl() {} |  14   WebFactoryImpl() {} | 
|  15   ~WebFactoryImpl() {} |  15   ~WebFactoryImpl() {} | 
|  16  |  16  | 
|  17   // Sets WebFactory to have a new instance of WebFactoryImpl. |  17   // Sets WebFactory to have a new instance of WebFactoryImpl. | 
|  18   static void Initialize(); |  18   static void Initialize(); | 
|  19  |  19  | 
|  20   ChromeClient* CreateChromeClient(WebViewBase*) const override; |  20   ChromeClient* CreateChromeClient(WebViewBase*) const override; | 
|  21   WebViewBase* CreateWebViewBase(WebViewClient*, |  21   WebViewBase* CreateWebViewBase(WebViewClient*, | 
|  22                                  WebPageVisibilityState) const override; |  22                                  WebPageVisibilityState, | 
 |  23                                  WebViewBase* opener) const override; | 
|  23   WebLocalFrameBase* CreateWebLocalFrameBase( |  24   WebLocalFrameBase* CreateWebLocalFrameBase( | 
|  24       WebTreeScopeType, |  25       WebTreeScopeType, | 
|  25       WebFrameClient*, |  26       WebFrameClient*, | 
|  26       blink::InterfaceProvider*, |  27       blink::InterfaceProvider*, | 
|  27       blink::InterfaceRegistry*, |  28       blink::InterfaceRegistry*, | 
|  28       WebFrame* opener = nullptr) const override; |  29       WebFrame* opener = nullptr) const override; | 
|  29 }; |  30 }; | 
|  30  |  31  | 
|  31 }  // namespace blink |  32 }  // namespace blink | 
|  32  |  33  | 
|  33 #endif |  34 #endif | 
| OLD | NEW |