OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) OVERRIDE; | 149 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) OVERRIDE; |
150 virtual bool confirmComposition(const WebString& text) OVERRIDE; | 150 virtual bool confirmComposition(const WebString& text) OVERRIDE; |
151 virtual bool compositionRange(size_t* location, size_t* length) OVERRIDE; | 151 virtual bool compositionRange(size_t* location, size_t* length) OVERRIDE; |
152 virtual WebTextInputInfo textInputInfo() OVERRIDE; | 152 virtual WebTextInputInfo textInputInfo() OVERRIDE; |
153 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE; | 153 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE; |
154 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE; | 154 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE; |
155 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE; | 155 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE; |
156 virtual bool isSelectionEditable() const OVERRIDE; | 156 virtual bool isSelectionEditable() const OVERRIDE; |
157 virtual WebColor backgroundColor() const OVERRIDE; | 157 virtual WebColor backgroundColor() const OVERRIDE; |
158 virtual bool selectionBounds(WebRect& anchor, WebRect& focus) const OVERRIDE
; | 158 virtual bool selectionBounds(WebRect& anchor, WebRect& focus) const OVERRIDE
; |
| 159 virtual bool selectionRootBounds(WebRect& bounds) const OVERRIDE; |
159 virtual void didShowCandidateWindow() OVERRIDE; | 160 virtual void didShowCandidateWindow() OVERRIDE; |
160 virtual void didUpdateCandidateWindow() OVERRIDE; | 161 virtual void didUpdateCandidateWindow() OVERRIDE; |
161 virtual void didHideCandidateWindow() OVERRIDE; | 162 virtual void didHideCandidateWindow() OVERRIDE; |
162 virtual bool selectionTextDirection(WebTextDirection& start, WebTextDirectio
n& end) const OVERRIDE; | 163 virtual bool selectionTextDirection(WebTextDirection& start, WebTextDirectio
n& end) const OVERRIDE; |
163 virtual bool isSelectionAnchorFirst() const OVERRIDE; | 164 virtual bool isSelectionAnchorFirst() const OVERRIDE; |
164 virtual bool caretOrSelectionRange(size_t* location, size_t* length) OVERRID
E; | 165 virtual bool caretOrSelectionRange(size_t* location, size_t* length) OVERRID
E; |
165 virtual void setTextDirection(WebTextDirection) OVERRIDE; | 166 virtual void setTextDirection(WebTextDirection) OVERRIDE; |
166 virtual bool isAcceleratedCompositingActive() const OVERRIDE; | 167 virtual bool isAcceleratedCompositingActive() const OVERRIDE; |
167 virtual void willCloseLayerTreeView() OVERRIDE; | 168 virtual void willCloseLayerTreeView() OVERRIDE; |
168 virtual void didAcquirePointerLock() OVERRIDE; | 169 virtual void didAcquirePointerLock() OVERRIDE; |
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
770 float m_zoomFactorOverride; | 771 float m_zoomFactorOverride; |
771 }; | 772 }; |
772 | 773 |
773 // We have no ways to check if the specified WebView is an instance of | 774 // We have no ways to check if the specified WebView is an instance of |
774 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 775 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
775 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 776 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
776 | 777 |
777 } // namespace blink | 778 } // namespace blink |
778 | 779 |
779 #endif | 780 #endif |
OLD | NEW |