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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 const WebFloatSize& elasticOverscrollDelta, | 59 const WebFloatSize& elasticOverscrollDelta, |
60 float scaleFactor, | 60 float scaleFactor, |
61 float topControlsShownRatioDelta) override; | 61 float topControlsShownRatioDelta) override; |
62 void mouseCaptureLost() override; | 62 void mouseCaptureLost() override; |
63 void setFocus(bool) override; | 63 void setFocus(bool) override; |
64 bool setComposition( | 64 bool setComposition( |
65 const WebString& text, | 65 const WebString& text, |
66 const WebVector<WebCompositionUnderline>& underlines, | 66 const WebVector<WebCompositionUnderline>& underlines, |
67 int selectionStart, | 67 int selectionStart, |
68 int selectionEnd) override; | 68 int selectionEnd) override; |
69 bool confirmComposition() override; | 69 bool commitText(const WebString& text, int relativeCaretPosition) override; |
70 bool confirmComposition(ConfirmCompositionBehavior selectionBehavior) overri
de; | 70 bool finishComposingText(ConfirmCompositionBehavior selectionBehavior) overr
ide; |
71 bool confirmComposition(const WebString& text) override; | |
72 WebRange compositionRange() override; | 71 WebRange compositionRange() override; |
73 WebTextInputInfo textInputInfo() override; | 72 WebTextInputInfo textInputInfo() override; |
74 WebTextInputType textInputType() override; | 73 WebTextInputType textInputType() override; |
75 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; | 74 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; |
76 bool selectionTextDirection(WebTextDirection& start, WebTextDirection& end)
const override; | 75 bool selectionTextDirection(WebTextDirection& start, WebTextDirection& end)
const override; |
77 bool isSelectionAnchorFirst() const override; | 76 bool isSelectionAnchorFirst() const override; |
78 WebRange caretOrSelectionRange() override; | 77 WebRange caretOrSelectionRange() override; |
79 void setTextDirection(WebTextDirection) override; | 78 void setTextDirection(WebTextDirection) override; |
80 bool isAcceleratedCompositingActive() const override; | 79 bool isAcceleratedCompositingActive() const override; |
81 bool isWebView() const override { return false; } | 80 bool isWebView() const override { return false; } |
(...skipping 25 matching lines...) Expand all Loading... |
107 | 106 |
108 private: | 107 private: |
109 WebWidgetClient* m_client; | 108 WebWidgetClient* m_client; |
110 RefPtr<WebViewImpl> m_webView; | 109 RefPtr<WebViewImpl> m_webView; |
111 Persistent<WebLocalFrameImpl> m_mainFrame; | 110 Persistent<WebLocalFrameImpl> m_mainFrame; |
112 }; | 111 }; |
113 | 112 |
114 } // namespace blink | 113 } // namespace blink |
115 | 114 |
116 #endif // WebViewFrameWidget_h | 115 #endif // WebViewFrameWidget_h |
OLD | NEW |