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

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

Issue 2278283002: Implement Mac Pop-up Dictionary for OOPIF. (Closed)
Patch Set: Addressing lfg@'s comment Created 4 years, 2 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
« no previous file with comments | « content/test/BUILD.gn ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 WebFrameWidgetBase_h 5 #ifndef WebFrameWidgetBase_h
6 #define WebFrameWidgetBase_h 6 #define WebFrameWidgetBase_h
7 7
8 #include "public/web/WebFrameWidget.h" 8 #include "public/web/WebFrameWidget.h"
9 #include "wtf/Assertions.h" 9 #include "wtf/Assertions.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class CompositorAnimationTimeline; 13 class CompositorAnimationTimeline;
14 class CompositorProxyClient; 14 class CompositorProxyClient;
15 class GraphicsLayer; 15 class GraphicsLayer;
16 class WebLayer; 16 class WebLayer;
17 class HitTestResult;
18 struct WebPoint;
17 19
18 class WebFrameWidgetBase : public WebFrameWidget { 20 class WebFrameWidgetBase : public WebFrameWidget {
19 public: 21 public:
20 virtual bool forSubframe() const = 0; 22 virtual bool forSubframe() const = 0;
21 virtual void scheduleAnimation() = 0; 23 virtual void scheduleAnimation() = 0;
22 virtual CompositorProxyClient* createCompositorProxyClient() = 0; 24 virtual CompositorProxyClient* createCompositorProxyClient() = 0;
23 virtual WebWidgetClient* client() const = 0; 25 virtual WebWidgetClient* client() const = 0;
24 26
25 // Sets the root graphics layer. |GraphicsLayer| can be null when detaching 27 // Sets the root graphics layer. |GraphicsLayer| can be null when detaching
26 // the root layer. 28 // the root layer.
27 virtual void setRootGraphicsLayer(GraphicsLayer*) = 0; 29 virtual void setRootGraphicsLayer(GraphicsLayer*) = 0;
28 30
29 // Sets the root layer. |WebLayer| can be null when detaching the root layer . 31 // Sets the root layer. |WebLayer| can be null when detaching the root layer .
30 virtual void setRootLayer(WebLayer*) = 0; 32 virtual void setRootLayer(WebLayer*) = 0;
31 33
32 // Attaches/detaches a CompositorAnimationTimeline to the layer tree. 34 // Attaches/detaches a CompositorAnimationTimeline to the layer tree.
33 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) = 0; 35 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) = 0;
34 virtual void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) = 0; 36 virtual void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) = 0;
37
38 virtual HitTestResult coreHitTestResultAt(const WebPoint&) = 0;
35 }; 39 };
36 40
37 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true); 41 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true);
38 42
39 } // namespace blink 43 } // namespace blink
40 44
41 #endif 45 #endif
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698