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

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

Issue 2848513002: Introduce the abstract class WebViewBase, to decouple WebViewImpl. (Closed)
Patch Set: Fix typo. Created 3 years, 8 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
Index: third_party/WebKit/Source/web/FullscreenController.h
diff --git a/third_party/WebKit/Source/web/FullscreenController.h b/third_party/WebKit/Source/web/FullscreenController.h
index 3dde753c7715d766c5536264608c4f79404b2182..f8d493901977991219386a546917ee13acb3b887 100644
--- a/third_party/WebKit/Source/web/FullscreenController.h
+++ b/third_party/WebKit/Source/web/FullscreenController.h
@@ -41,11 +41,11 @@ namespace blink {
class Element;
class LocalFrame;
-class WebViewImpl;
+class WebViewBase;
class FullscreenController {
public:
- static std::unique_ptr<FullscreenController> Create(WebViewImpl*);
+ static std::unique_ptr<FullscreenController> Create(WebViewBase*);
// Called by Fullscreen (via ChromeClient) to request entering or exiting
// fullscreen.
@@ -69,13 +69,13 @@ class FullscreenController {
void DidUpdateLayout();
protected:
- explicit FullscreenController(WebViewImpl*);
+ explicit FullscreenController(WebViewBase*);
private:
void UpdatePageScaleConstraints(bool remove_constraints);
void RestoreBackgroundColorOverride();
- WebViewImpl* web_view_impl_;
+ WebViewBase* web_view_base_;
// State is used to avoid unnecessary enter/exit requests, and to restore the
// m_initial* after the first layout upon exiting fullscreen. Typically, the
« no previous file with comments | « third_party/WebKit/Source/web/ExternalPopupMenu.cpp ('k') | third_party/WebKit/Source/web/FullscreenController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698