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