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