OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 float topControlsDelta) override; | 94 float topControlsDelta) override; |
95 void mouseCaptureLost() override; | 95 void mouseCaptureLost() override; |
96 void setFocus(bool enable) override; | 96 void setFocus(bool enable) override; |
97 bool setComposition( | 97 bool setComposition( |
98 const WebString& text, | 98 const WebString& text, |
99 const WebVector<WebCompositionUnderline>& underlines, | 99 const WebVector<WebCompositionUnderline>& underlines, |
100 int selectionStart, int selectionEnd) override; | 100 int selectionStart, int selectionEnd) override; |
101 bool confirmComposition() override; | 101 bool confirmComposition() override; |
102 bool confirmComposition(ConfirmCompositionBehavior selectionBehavior) overri
de; | 102 bool confirmComposition(ConfirmCompositionBehavior selectionBehavior) overri
de; |
103 bool confirmComposition(const WebString& text) override; | 103 bool confirmComposition(const WebString& text) override; |
104 bool compositionRange(size_t* location, size_t* length) override; | 104 WebRange compositionRange() override; |
105 WebTextInputInfo textInputInfo() override; | 105 WebTextInputInfo textInputInfo() override; |
106 WebTextInputType textInputType() override; | 106 WebTextInputType textInputType() override; |
107 WebColor backgroundColor() const override; | 107 WebColor backgroundColor() const override; |
108 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; | 108 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; |
109 bool selectionTextDirection(WebTextDirection& start, WebTextDirection& end)
const override; | 109 bool selectionTextDirection(WebTextDirection& start, WebTextDirection& end)
const override; |
110 bool isSelectionAnchorFirst() const override; | 110 bool isSelectionAnchorFirst() const override; |
111 WebRange caretOrSelectionRange() override; | 111 WebRange caretOrSelectionRange() override; |
112 void setTextDirection(WebTextDirection) override; | 112 void setTextDirection(WebTextDirection) override; |
113 bool isAcceleratedCompositingActive() const override; | 113 bool isAcceleratedCompositingActive() const override; |
114 void willCloseLayerTreeView() override; | 114 void willCloseLayerTreeView() override; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 WebColor m_baseBackgroundColor; | 254 WebColor m_baseBackgroundColor; |
255 | 255 |
256 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; | 256 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; |
257 }; | 257 }; |
258 | 258 |
259 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidgetBase, widget, widget->forSub
frame(), widget.forSubframe()); | 259 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidgetBase, widget, widget->forSub
frame(), widget.forSubframe()); |
260 | 260 |
261 } // namespace blink | 261 } // namespace blink |
262 | 262 |
263 #endif | 263 #endif |
OLD | NEW |