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

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

Issue 2278283002: Implement Mac Pop-up Dictionary for OOPIF. (Closed)
Patch Set: Moved ownership of TextInputClientObserver to RenderWidget Created 4 years, 3 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 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 HitTestResult;
17 struct WebPoint;
16 18
17 class WebFrameWidgetBase : public WebFrameWidget { 19 class WebFrameWidgetBase : public WebFrameWidget {
18 public: 20 public:
19 virtual bool forSubframe() const = 0; 21 virtual bool forSubframe() const = 0;
20 virtual void scheduleAnimation() = 0; 22 virtual void scheduleAnimation() = 0;
21 virtual CompositorProxyClient* createCompositorProxyClient() = 0; 23 virtual CompositorProxyClient* createCompositorProxyClient() = 0;
22 virtual WebWidgetClient* client() const = 0; 24 virtual WebWidgetClient* client() const = 0;
23 25
24 // Sets the root graphics layer. |GraphicsLayer| can be null when detaching 26 // Sets the root graphics layer. |GraphicsLayer| can be null when detaching
25 // the root layer. 27 // the root layer.
26 virtual void setRootGraphicsLayer(GraphicsLayer*) = 0; 28 virtual void setRootGraphicsLayer(GraphicsLayer*) = 0;
27 29
28 // Attaches/detaches a CompositorAnimationTimeline to the layer tree. 30 // Attaches/detaches a CompositorAnimationTimeline to the layer tree.
29 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) = 0; 31 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) = 0;
30 virtual void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) = 0; 32 virtual void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) = 0;
33
34 virtual HitTestResult coreHitTestResultAt(const WebPoint&) = 0;
31 }; 35 };
32 36
33 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true); 37 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true);
34 38
35 } // namespace blink 39 } // namespace blink
36 40
37 #endif 41 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698