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 "web/WebFrameWidgetBase.h" | 9 #include "web/WebFrameWidgetBase.h" |
10 #include "web/WebInputMethodControllerImpl.h" | 10 #include "web/WebInputMethodControllerImpl.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 void resizeVisualViewport(const WebSize&) override; | 48 void resizeVisualViewport(const WebSize&) override; |
49 void didEnterFullscreen() override; | 49 void didEnterFullscreen() override; |
50 void didExitFullscreen() override; | 50 void didExitFullscreen() override; |
51 void beginFrame(double lastFrameTimeMonotonic) override; | 51 void beginFrame(double lastFrameTimeMonotonic) override; |
52 void updateAllLifecyclePhases() override; | 52 void updateAllLifecyclePhases() override; |
53 void paint(WebCanvas*, const WebRect& viewPort) override; | 53 void paint(WebCanvas*, const WebRect& viewPort) override; |
54 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; | 54 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; |
55 void compositeAndReadbackAsync( | 55 void compositeAndReadbackAsync( |
56 WebCompositeAndReadbackAsyncCallback*) override; | 56 WebCompositeAndReadbackAsyncCallback*) override; |
57 void themeChanged() override; | 57 void themeChanged() override; |
58 WebInputEventResult handleInputEvent(const WebInputEvent&) override; | 58 WebInputEventResult handleInputEvent(const CoalescedWebInputEvent&) override; |
59 void setCursorVisibilityState(bool isVisible) override; | 59 void setCursorVisibilityState(bool isVisible) override; |
60 bool hasTouchEventHandlersAt(const WebPoint&) override; | 60 bool hasTouchEventHandlersAt(const WebPoint&) override; |
61 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, | 61 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, |
62 const WebFloatSize& layoutViewportDelta, | 62 const WebFloatSize& layoutViewportDelta, |
63 const WebFloatSize& elasticOverscrollDelta, | 63 const WebFloatSize& elasticOverscrollDelta, |
64 float scaleFactor, | 64 float scaleFactor, |
65 float browserControlsShownRatioDelta) override; | 65 float browserControlsShownRatioDelta) override; |
66 void mouseCaptureLost() override; | 66 void mouseCaptureLost() override; |
67 void setFocus(bool) override; | 67 void setFocus(bool) override; |
68 WebRange compositionRange() override; | 68 WebRange compositionRange() override; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 109 |
110 private: | 110 private: |
111 WebWidgetClient* m_client; | 111 WebWidgetClient* m_client; |
112 RefPtr<WebViewImpl> m_webView; | 112 RefPtr<WebViewImpl> m_webView; |
113 Persistent<WebLocalFrameImpl> m_mainFrame; | 113 Persistent<WebLocalFrameImpl> m_mainFrame; |
114 }; | 114 }; |
115 | 115 |
116 } // namespace blink | 116 } // namespace blink |
117 | 117 |
118 #endif // WebViewFrameWidget_h | 118 #endif // WebViewFrameWidget_h |
OLD | NEW |