| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 const WebString& text, | 117 const WebString& text, |
| 118 const WebVector<WebCompositionUnderline>& underlines, | 118 const WebVector<WebCompositionUnderline>& underlines, |
| 119 int selectionStart, | 119 int selectionStart, |
| 120 int selectionEnd) OVERRIDE; | 120 int selectionEnd) OVERRIDE; |
| 121 virtual bool confirmComposition() OVERRIDE; | 121 virtual bool confirmComposition() OVERRIDE; |
| 122 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) OVERRIDE; | 122 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) OVERRIDE; |
| 123 virtual bool confirmComposition(const WebString& text) OVERRIDE; | 123 virtual bool confirmComposition(const WebString& text) OVERRIDE; |
| 124 virtual bool compositionRange(size_t* location, size_t* length) OVERRIDE; | 124 virtual bool compositionRange(size_t* location, size_t* length) OVERRIDE; |
| 125 virtual WebTextInputInfo textInputInfo() OVERRIDE; | 125 virtual WebTextInputInfo textInputInfo() OVERRIDE; |
| 126 virtual WebColor backgroundColor() const OVERRIDE; | 126 virtual WebColor backgroundColor() const OVERRIDE; |
| 127 virtual WebPagePopup* popup() const OVERRIDE; |
| 127 virtual bool selectionBounds(WebRect& anchor, WebRect& focus) const OVERRIDE
; | 128 virtual bool selectionBounds(WebRect& anchor, WebRect& focus) const OVERRIDE
; |
| 128 virtual void didShowCandidateWindow() OVERRIDE; | 129 virtual void didShowCandidateWindow() OVERRIDE; |
| 129 virtual void didUpdateCandidateWindow() OVERRIDE; | 130 virtual void didUpdateCandidateWindow() OVERRIDE; |
| 130 virtual void didHideCandidateWindow() OVERRIDE; | 131 virtual void didHideCandidateWindow() OVERRIDE; |
| 131 virtual bool selectionTextDirection(WebTextDirection& start, WebTextDirectio
n& end) const OVERRIDE; | 132 virtual bool selectionTextDirection(WebTextDirection& start, WebTextDirectio
n& end) const OVERRIDE; |
| 132 virtual bool isSelectionAnchorFirst() const OVERRIDE; | 133 virtual bool isSelectionAnchorFirst() const OVERRIDE; |
| 133 virtual bool caretOrSelectionRange(size_t* location, size_t* length) OVERRID
E; | 134 virtual bool caretOrSelectionRange(size_t* location, size_t* length) OVERRID
E; |
| 134 virtual void setTextDirection(WebTextDirection) OVERRIDE; | 135 virtual void setTextDirection(WebTextDirection) OVERRIDE; |
| 135 virtual bool isAcceleratedCompositingActive() const OVERRIDE; | 136 virtual bool isAcceleratedCompositingActive() const OVERRIDE; |
| 136 virtual void willCloseLayerTreeView() OVERRIDE; | 137 virtual void willCloseLayerTreeView() OVERRIDE; |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 WebDragOperationsMask mask, | 391 WebDragOperationsMask mask, |
| 391 const WebImage& dragImage, | 392 const WebImage& dragImage, |
| 392 const WebPoint& dragImageOffset); | 393 const WebPoint& dragImageOffset); |
| 393 | 394 |
| 394 // Notification that a popup was opened/closed. | 395 // Notification that a popup was opened/closed. |
| 395 void popupOpened(PopupContainer*); | 396 void popupOpened(PopupContainer*); |
| 396 void popupClosed(PopupContainer*); | 397 void popupClosed(PopupContainer*); |
| 397 // PagePopupDriver functions. | 398 // PagePopupDriver functions. |
| 398 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun
dsInRootView) OVERRIDE; | 399 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun
dsInRootView) OVERRIDE; |
| 399 virtual void closePagePopup(PagePopup*) OVERRIDE; | 400 virtual void closePagePopup(PagePopup*) OVERRIDE; |
| 401 virtual LocalDOMWindow* pagePopupWindow() OVERRIDE; |
| 400 | 402 |
| 401 // Returns the input event we're currently processing. This is used in some | 403 // Returns the input event we're currently processing. This is used in some |
| 402 // cases where the WebCore DOM event doesn't have the information we need. | 404 // cases where the WebCore DOM event doesn't have the information we need. |
| 403 static const WebInputEvent* currentInputEvent() | 405 static const WebInputEvent* currentInputEvent() |
| 404 { | 406 { |
| 405 return m_currentInputEvent; | 407 return m_currentInputEvent; |
| 406 } | 408 } |
| 407 | 409 |
| 408 GraphicsLayer* rootGraphicsLayer(); | 410 GraphicsLayer* rootGraphicsLayer(); |
| 409 void setRootGraphicsLayer(GraphicsLayer*); | 411 void setRootGraphicsLayer(GraphicsLayer*); |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 716 bool m_userGestureObserved; | 718 bool m_userGestureObserved; |
| 717 }; | 719 }; |
| 718 | 720 |
| 719 // We have no ways to check if the specified WebView is an instance of | 721 // We have no ways to check if the specified WebView is an instance of |
| 720 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 722 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 721 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 723 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 722 | 724 |
| 723 } // namespace blink | 725 } // namespace blink |
| 724 | 726 |
| 725 #endif | 727 #endif |
| OLD | NEW |