OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be found | 2 // Use of this source code is governed by a BSD-style license that can be found |
3 // in the LICENSE file. | 3 // in the LICENSE file. |
4 | 4 |
5 #ifndef WebViewFrameWidget_h | 5 #ifndef WebViewFrameWidget_h |
6 #define WebViewFrameWidget_h | 6 #define WebViewFrameWidget_h |
7 | 7 |
8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
9 #include "public/web/WebFrameWidget.h" | 9 #include "public/web/WebFrameWidget.h" |
10 #include "wtf/Noncopyable.h" | 10 #include "wtf/Noncopyable.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 void willEndLiveResize() override; | 46 void willEndLiveResize() override; |
47 void didEnterFullScreen() override; | 47 void didEnterFullScreen() override; |
48 void didExitFullScreen() override; | 48 void didExitFullScreen() override; |
49 void beginFrame(double lastFrameTimeMonotonic) override; | 49 void beginFrame(double lastFrameTimeMonotonic) override; |
50 void updateAllLifecyclePhases() override; | 50 void updateAllLifecyclePhases() override; |
51 void paint(WebCanvas*, const WebRect& viewPort) override; | 51 void paint(WebCanvas*, const WebRect& viewPort) override; |
52 void paintCompositedDeprecated(WebCanvas*, const WebRect&) override; | 52 void paintCompositedDeprecated(WebCanvas*, const WebRect&) override; |
53 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; | 53 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; |
54 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri
de; | 54 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri
de; |
55 void themeChanged() override; | 55 void themeChanged() override; |
56 bool handleInputEvent(const WebInputEvent&) override; | 56 WebInputEventResult handleInputEvent(const WebInputEvent&) override; |
57 void setCursorVisibilityState(bool isVisible) override; | 57 void setCursorVisibilityState(bool isVisible) override; |
58 bool hasTouchEventHandlersAt(const WebPoint&) override; | 58 bool hasTouchEventHandlersAt(const WebPoint&) override; |
59 void applyViewportDeltas( | 59 void applyViewportDeltas( |
60 const WebFloatSize& visualViewportDelta, | 60 const WebFloatSize& visualViewportDelta, |
61 const WebFloatSize& layoutViewportDelta, | 61 const WebFloatSize& layoutViewportDelta, |
62 const WebFloatSize& elasticOverscrollDelta, | 62 const WebFloatSize& elasticOverscrollDelta, |
63 float scaleFactor, | 63 float scaleFactor, |
64 float topControlsShownRatioDelta) override; | 64 float topControlsShownRatioDelta) override; |
65 void recordFrameTimingEvent(FrameTimingEventType, int64_t rectId, const WebV
ector<WebFrameTimingEvent>& events) override; | 65 void recordFrameTimingEvent(FrameTimingEventType, int64_t rectId, const WebV
ector<WebFrameTimingEvent>& events) override; |
66 void mouseCaptureLost() override; | 66 void mouseCaptureLost() override; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 98 |
99 private: | 99 private: |
100 WebWidgetClient* m_client; | 100 WebWidgetClient* m_client; |
101 RefPtr<WebViewImpl> m_webView; | 101 RefPtr<WebViewImpl> m_webView; |
102 RefPtrWillBePersistent<WebLocalFrameImpl> m_mainFrame; | 102 RefPtrWillBePersistent<WebLocalFrameImpl> m_mainFrame; |
103 }; | 103 }; |
104 | 104 |
105 } // namespace blink | 105 } // namespace blink |
106 | 106 |
107 #endif // WebViewFrameWidget_h | 107 #endif // WebViewFrameWidget_h |
OLD | NEW |