| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 #include "wtf/OwnPtr.h" | 62 #include "wtf/OwnPtr.h" |
| 63 #include "wtf/RefCounted.h" | 63 #include "wtf/RefCounted.h" |
| 64 #include "wtf/Vector.h" | 64 #include "wtf/Vector.h" |
| 65 | 65 |
| 66 namespace blink { | 66 namespace blink { |
| 67 | 67 |
| 68 class DataObject; | 68 class DataObject; |
| 69 class DevToolsEmulator; | 69 class DevToolsEmulator; |
| 70 class Frame; | 70 class Frame; |
| 71 class FullscreenController; | 71 class FullscreenController; |
| 72 class InputMethodContext; | |
| 73 class InspectorOverlay; | 72 class InspectorOverlay; |
| 74 class InspectorOverlayImpl; | 73 class InspectorOverlayImpl; |
| 75 class LinkHighlight; | 74 class LinkHighlight; |
| 76 class PageScaleConstraintsSet; | 75 class PageScaleConstraintsSet; |
| 77 class PopupContainer; | 76 class PopupContainer; |
| 78 class DeprecatedPaintLayerCompositor; | 77 class DeprecatedPaintLayerCompositor; |
| 79 class TopControls; | 78 class TopControls; |
| 80 class UserGestureToken; | 79 class UserGestureToken; |
| 81 class WebActiveGestureAnimation; | 80 class WebActiveGestureAnimation; |
| 82 class WebCompositorAnimationTimeline; | 81 class WebCompositorAnimationTimeline; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 int selectionStart, | 138 int selectionStart, |
| 140 int selectionEnd) override; | 139 int selectionEnd) override; |
| 141 virtual bool confirmComposition() override; | 140 virtual bool confirmComposition() override; |
| 142 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) override; | 141 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) override; |
| 143 virtual bool confirmComposition(const WebString& text) override; | 142 virtual bool confirmComposition(const WebString& text) override; |
| 144 virtual bool compositionRange(size_t* location, size_t* length) override; | 143 virtual bool compositionRange(size_t* location, size_t* length) override; |
| 145 virtual WebTextInputInfo textInputInfo() override; | 144 virtual WebTextInputInfo textInputInfo() override; |
| 146 virtual WebColor backgroundColor() const override; | 145 virtual WebColor backgroundColor() const override; |
| 147 virtual WebPagePopup* pagePopup() const override; | 146 virtual WebPagePopup* pagePopup() const override; |
| 148 virtual bool selectionBounds(WebRect& anchor, WebRect& focus) const override
; | 147 virtual bool selectionBounds(WebRect& anchor, WebRect& focus) const override
; |
| 149 virtual void didShowCandidateWindow() override; | |
| 150 virtual void didUpdateCandidateWindow() override; | |
| 151 virtual void didHideCandidateWindow() override; | |
| 152 virtual bool selectionTextDirection(WebTextDirection& start, WebTextDirectio
n& end) const override; | 148 virtual bool selectionTextDirection(WebTextDirection& start, WebTextDirectio
n& end) const override; |
| 153 virtual bool isSelectionAnchorFirst() const override; | 149 virtual bool isSelectionAnchorFirst() const override; |
| 154 virtual bool caretOrSelectionRange(size_t* location, size_t* length) overrid
e; | 150 virtual bool caretOrSelectionRange(size_t* location, size_t* length) overrid
e; |
| 155 virtual void setTextDirection(WebTextDirection) override; | 151 virtual void setTextDirection(WebTextDirection) override; |
| 156 virtual bool isAcceleratedCompositingActive() const override; | 152 virtual bool isAcceleratedCompositingActive() const override; |
| 157 virtual void willCloseLayerTreeView() override; | 153 virtual void willCloseLayerTreeView() override; |
| 158 virtual void didAcquirePointerLock() override; | 154 virtual void didAcquirePointerLock() override; |
| 159 virtual void didNotAcquirePointerLock() override; | 155 virtual void didNotAcquirePointerLock() override; |
| 160 virtual void didLosePointerLock() override; | 156 virtual void didLosePointerLock() override; |
| 161 virtual void didChangeWindowResizerRect() override; | 157 virtual void didChangeWindowResizerRect() override; |
| (...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 virtual void handleMouseLeave(LocalFrame&, const WebMouseEvent&) override; | 609 virtual void handleMouseLeave(LocalFrame&, const WebMouseEvent&) override; |
| 614 virtual void handleMouseDown(LocalFrame&, const WebMouseEvent&) override; | 610 virtual void handleMouseDown(LocalFrame&, const WebMouseEvent&) override; |
| 615 virtual void handleMouseUp(LocalFrame&, const WebMouseEvent&) override; | 611 virtual void handleMouseUp(LocalFrame&, const WebMouseEvent&) override; |
| 616 virtual bool handleMouseWheel(LocalFrame&, const WebMouseWheelEvent&) overri
de; | 612 virtual bool handleMouseWheel(LocalFrame&, const WebMouseWheelEvent&) overri
de; |
| 617 virtual bool handleGestureEvent(const WebGestureEvent&) override; | 613 virtual bool handleGestureEvent(const WebGestureEvent&) override; |
| 618 virtual bool handleKeyEvent(const WebKeyboardEvent&) override; | 614 virtual bool handleKeyEvent(const WebKeyboardEvent&) override; |
| 619 virtual bool handleCharEvent(const WebKeyboardEvent&) override; | 615 virtual bool handleCharEvent(const WebKeyboardEvent&) override; |
| 620 | 616 |
| 621 bool handleSyntheticWheelFromTouchpadPinchEvent(const WebGestureEvent&); | 617 bool handleSyntheticWheelFromTouchpadPinchEvent(const WebGestureEvent&); |
| 622 | 618 |
| 623 InputMethodContext* inputMethodContext(); | |
| 624 WebPlugin* focusedPluginIfInputMethodSupported(LocalFrame*); | 619 WebPlugin* focusedPluginIfInputMethodSupported(LocalFrame*); |
| 625 | 620 |
| 626 void enablePopupMouseWheelEventListener(); | 621 void enablePopupMouseWheelEventListener(); |
| 627 void disablePopupMouseWheelEventListener(); | 622 void disablePopupMouseWheelEventListener(); |
| 628 | 623 |
| 629 void cancelPagePopup(); | 624 void cancelPagePopup(); |
| 630 | 625 |
| 631 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.) | 626 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.) |
| 632 WebSpellCheckClient* m_spellCheckClient; | 627 WebSpellCheckClient* m_spellCheckClient; |
| 633 | 628 |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 770 }; | 765 }; |
| 771 | 766 |
| 772 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 767 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
| 773 // We have no ways to check if the specified WebView is an instance of | 768 // We have no ways to check if the specified WebView is an instance of |
| 774 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 769 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 775 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 770 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 776 | 771 |
| 777 } // namespace blink | 772 } // namespace blink |
| 778 | 773 |
| 779 #endif | 774 #endif |
| OLD | NEW |