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

Side by Side Diff: third_party/WebKit/Source/core/exported/WebViewBase.h

Issue 2855843002: Reland "Sync requestFullscreen() and exitFullscreen() algorithms with the spec" (Closed)
Patch Set: Reland "Sync requestFullscreen() and exitFullscreen() algorithms with the spec" 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.#ifndef WebViewBase_h 3 // found in the LICENSE file.#ifndef WebViewBase_h
4 4
5 #ifndef WebViewBase_h 5 #ifndef WebViewBase_h
6 #define WebViewBase_h 6 #define WebViewBase_h
7 7
8 #include "core/page/EventWithHitTestResults.h" 8 #include "core/page/EventWithHitTestResults.h"
9 #include "platform/transforms/TransformationMatrix.h" 9 #include "platform/transforms/TransformationMatrix.h"
10 #include "platform/wtf/RefCounted.h" 10 #include "platform/wtf/RefCounted.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // After calling WebWidget::updateAllLifecyclePhases(), expect to get this 138 // After calling WebWidget::updateAllLifecyclePhases(), expect to get this
139 // notification unless the view did not need a layout. 139 // notification unless the view did not need a layout.
140 virtual void LayoutUpdated(WebLocalFrameBase*) = 0; 140 virtual void LayoutUpdated(WebLocalFrameBase*) = 0;
141 virtual void ResizeAfterLayout(WebLocalFrameBase*) = 0; 141 virtual void ResizeAfterLayout(WebLocalFrameBase*) = 0;
142 142
143 virtual void UpdatePageDefinedViewportConstraints( 143 virtual void UpdatePageDefinedViewportConstraints(
144 const ViewportDescription&) = 0; 144 const ViewportDescription&) = 0;
145 145
146 virtual void EnterFullscreen(LocalFrame&) = 0; 146 virtual void EnterFullscreen(LocalFrame&) = 0;
147 virtual void ExitFullscreen(LocalFrame&) = 0; 147 virtual void ExitFullscreen(LocalFrame&) = 0;
148 virtual void FullscreenElementChanged(Element*, Element*) = 0; 148 virtual void FullscreenElementChanged(Element* from_element,
149 Element* to_element) = 0;
149 150
150 virtual bool HasOpenedPopup() const = 0; 151 virtual bool HasOpenedPopup() const = 0;
151 152
152 // Returns true if popup menus should be rendered by the browser, false if 153 // Returns true if popup menus should be rendered by the browser, false if
153 // they should be rendered by WebKit (which is the default). 154 // they should be rendered by WebKit (which is the default).
154 static bool UseExternalPopupMenus(); 155 static bool UseExternalPopupMenus();
155 156
156 virtual GraphicsLayer* RootGraphicsLayer() = 0; 157 virtual GraphicsLayer* RootGraphicsLayer() = 0;
157 virtual void RegisterViewportLayersWithCompositor() = 0; 158 virtual void RegisterViewportLayersWithCompositor() = 0;
158 virtual PaintLayerCompositor* Compositor() const = 0; 159 virtual PaintLayerCompositor* Compositor() const = 0;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 virtual void EnableTapHighlightAtPoint( 217 virtual void EnableTapHighlightAtPoint(
217 const GestureEventWithHitTestResults& targeted_tap_event) = 0; 218 const GestureEventWithHitTestResults& targeted_tap_event) = 0;
218 virtual LinkHighlightImpl* GetLinkHighlight(int) = 0; 219 virtual LinkHighlightImpl* GetLinkHighlight(int) = 0;
219 virtual unsigned NumLinkHighlights() = 0; 220 virtual unsigned NumLinkHighlights() = 0;
220 virtual void EnableTapHighlights(HeapVector<Member<Node>>&) = 0; 221 virtual void EnableTapHighlights(HeapVector<Member<Node>>&) = 0;
221 virtual void SetCurrentInputEventForTest(const WebInputEvent*) = 0; 222 virtual void SetCurrentInputEventForTest(const WebInputEvent*) = 0;
222 }; 223 };
223 } 224 }
224 225
225 #endif 226 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698