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

Side by Side Diff: third_party/WebKit/Source/web/WebFactoryImpl.h

Issue 2913613003: Made WebFactory::SetInstance private (Closed)
Patch Set: Moved to be protected Created 3 years, 6 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
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.
18 static void Initialize();
19
17 ChromeClient* CreateChromeClient(WebViewBase*) const override; 20 ChromeClient* CreateChromeClient(WebViewBase*) const override;
18 WebViewBase* CreateWebViewBase(WebViewClient*, 21 WebViewBase* CreateWebViewBase(WebViewClient*,
19 WebPageVisibilityState) const override; 22 WebPageVisibilityState) const override;
20 }; 23 };
21 24
22 } // namespace blink 25 } // namespace blink
23 26
24 #endif 27 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/exported/WebFactory.h ('k') | third_party/WebKit/Source/web/WebFactoryImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698