| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 void themeChanged() override; | 53 void themeChanged() override; |
| 54 WebInputEventResult handleInputEvent(const WebInputEvent&) override; | 54 WebInputEventResult handleInputEvent(const WebInputEvent&) override; |
| 55 void setCursorVisibilityState(bool isVisible) override; | 55 void setCursorVisibilityState(bool isVisible) override; |
| 56 bool hasTouchEventHandlersAt(const WebPoint&) override; | 56 bool hasTouchEventHandlersAt(const WebPoint&) override; |
| 57 void applyViewportDeltas( | 57 void applyViewportDeltas( |
| 58 const WebFloatSize& visualViewportDelta, | 58 const WebFloatSize& visualViewportDelta, |
| 59 const WebFloatSize& layoutViewportDelta, | 59 const WebFloatSize& layoutViewportDelta, |
| 60 const WebFloatSize& elasticOverscrollDelta, | 60 const WebFloatSize& elasticOverscrollDelta, |
| 61 float scaleFactor, | 61 float scaleFactor, |
| 62 float topControlsShownRatioDelta) override; | 62 float topControlsShownRatioDelta) override; |
| 63 void recordFrameTimingEvent(FrameTimingEventType, int64_t rectId, const WebV
ector<WebFrameTimingEvent>& events) override; | |
| 64 void mouseCaptureLost() override; | 63 void mouseCaptureLost() override; |
| 65 void setFocus(bool) override; | 64 void setFocus(bool) override; |
| 66 bool setComposition( | 65 bool setComposition( |
| 67 const WebString& text, | 66 const WebString& text, |
| 68 const WebVector<WebCompositionUnderline>& underlines, | 67 const WebVector<WebCompositionUnderline>& underlines, |
| 69 int selectionStart, | 68 int selectionStart, |
| 70 int selectionEnd) override; | 69 int selectionEnd) override; |
| 71 bool confirmComposition() override; | 70 bool confirmComposition() override; |
| 72 bool confirmComposition(ConfirmCompositionBehavior selectionBehavior) overri
de; | 71 bool confirmComposition(ConfirmCompositionBehavior selectionBehavior) overri
de; |
| 73 bool confirmComposition(const WebString& text) override; | 72 bool confirmComposition(const WebString& text) override; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 100 | 99 |
| 101 private: | 100 private: |
| 102 WebWidgetClient* m_client; | 101 WebWidgetClient* m_client; |
| 103 RefPtr<WebViewImpl> m_webView; | 102 RefPtr<WebViewImpl> m_webView; |
| 104 Persistent<WebLocalFrameImpl> m_mainFrame; | 103 Persistent<WebLocalFrameImpl> m_mainFrame; |
| 105 }; | 104 }; |
| 106 | 105 |
| 107 } // namespace blink | 106 } // namespace blink |
| 108 | 107 |
| 109 #endif // WebViewFrameWidget_h | 108 #endif // WebViewFrameWidget_h |
| OLD | NEW |