| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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; |
| 69 WebTextInputInfo textInputInfo() override; | |
| 70 WebTextInputType textInputType() override; | |
| 71 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; | 69 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; |
| 72 bool selectionTextDirection(WebTextDirection& start, | 70 bool selectionTextDirection(WebTextDirection& start, |
| 73 WebTextDirection& end) const override; | 71 WebTextDirection& end) const override; |
| 74 bool isSelectionAnchorFirst() const override; | 72 bool isSelectionAnchorFirst() const override; |
| 75 WebRange caretOrSelectionRange() override; | 73 WebRange caretOrSelectionRange() override; |
| 76 void setTextDirection(WebTextDirection) override; | 74 void setTextDirection(WebTextDirection) override; |
| 77 bool isAcceleratedCompositingActive() const override; | 75 bool isAcceleratedCompositingActive() const override; |
| 78 bool isWebView() const override { return false; } | 76 bool isWebView() const override { return false; } |
| 79 bool isPagePopup() const override { return false; } | 77 bool isPagePopup() const override { return false; } |
| 80 void willCloseLayerTreeView() override; | 78 void willCloseLayerTreeView() override; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 109 | 107 |
| 110 private: | 108 private: |
| 111 WebWidgetClient* m_client; | 109 WebWidgetClient* m_client; |
| 112 RefPtr<WebViewImpl> m_webView; | 110 RefPtr<WebViewImpl> m_webView; |
| 113 Persistent<WebLocalFrameImpl> m_mainFrame; | 111 Persistent<WebLocalFrameImpl> m_mainFrame; |
| 114 }; | 112 }; |
| 115 | 113 |
| 116 } // namespace blink | 114 } // namespace blink |
| 117 | 115 |
| 118 #endif // WebViewFrameWidget_h | 116 #endif // WebViewFrameWidget_h |
| OLD | NEW |