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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 2887523003: Introduced WebFactory and WebFactoryImpl for constructing web/ classes (Closed)
Patch Set: Review feedback as discussed Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebKit.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index 116282d77adead0d14baf59e5ca6b5691e41c245..dc9aea2e6e3192433d0515e508b30b37851a5697 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -34,6 +34,7 @@
#include <memory>
#include "core/exported/WebViewBase.h"
#include "core/frame/ResizeViewportAnchor.h"
+#include "core/page/ChromeClient.h"
#include "core/page/ContextMenuProvider.h"
#include "core/page/EventWithHitTestResults.h"
#include "platform/animation/CompositorAnimationTimeline.h"
@@ -60,7 +61,6 @@
#include "public/platform/WebVector.h"
#include "public/web/WebNavigationPolicy.h"
#include "public/web/WebPageImportanceSignals.h"
-#include "web/ChromeClientImpl.h"
#include "web/ContextMenuClientImpl.h"
#include "web/EditorClientImpl.h"
#include "web/MediaKeysClientImpl.h"
@@ -497,7 +497,7 @@ class WEB_EXPORT WebViewImpl final
}
class ChromeClient& ChromeClient() const override {
- return *chrome_client_impl_.Get();
+ return *chrome_client_.Get();
}
// Returns the currently active WebInputMethodController which is the one
@@ -603,7 +603,9 @@ class WEB_EXPORT WebViewImpl final
WebViewClient* client_; // Can be 0 (e.g. unittests, shared workers, etc.)
WebSpellCheckClient* spell_check_client_;
- Persistent<ChromeClientImpl> chrome_client_impl_;
+ // ChromeClient needs blink:: qualifier so it doesn't clash with ChromeClient
+ // method.
dcheng 2017/05/29 08:02:30 Huh... maybe let's just rename ChromeClient() to G
sashab 2017/05/30 02:56:18 Oh yeah, forgot about the Get prefix trick :) Will
+ Persistent<blink::ChromeClient> chrome_client_;
ContextMenuClientImpl context_menu_client_impl_;
EditorClientImpl editor_client_impl_;
SpellCheckerClientImpl spell_checker_client_impl_;
« no previous file with comments | « third_party/WebKit/Source/web/WebKit.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698