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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 class PaintLayerCompositor; | 83 class PaintLayerCompositor; |
84 class UserGestureToken; | 84 class UserGestureToken; |
85 class WebActiveGestureAnimation; | 85 class WebActiveGestureAnimation; |
86 class WebDevToolsAgentImpl; | 86 class WebDevToolsAgentImpl; |
87 class WebElement; | 87 class WebElement; |
88 class WebInputMethodControllerImpl; | 88 class WebInputMethodControllerImpl; |
89 class WebLayerTreeView; | 89 class WebLayerTreeView; |
90 class WebLocalFrame; | 90 class WebLocalFrame; |
91 class WebLocalFrameImpl; | 91 class WebLocalFrameImpl; |
92 class CompositorMutatorImpl; | 92 class CompositorMutatorImpl; |
93 class WebPlugin; | |
94 class WebRemoteFrame; | 93 class WebRemoteFrame; |
95 class WebSettingsImpl; | 94 class WebSettingsImpl; |
96 class WebViewScheduler; | 95 class WebViewScheduler; |
97 | 96 |
98 class WEB_EXPORT WebViewImpl final | 97 class WEB_EXPORT WebViewImpl final |
99 : NON_EXPORTED_BASE(public WebViewBase), | 98 : NON_EXPORTED_BASE(public WebViewBase), |
100 NON_EXPORTED_BASE(public WebGestureCurveTarget), | 99 NON_EXPORTED_BASE(public WebGestureCurveTarget), |
101 public PageWidgetEventHandler, | 100 public PageWidgetEventHandler, |
102 public WebScheduler::InterventionReporter, | 101 public WebScheduler::InterventionReporter, |
103 public WebViewScheduler::WebViewSchedulerSettings { | 102 public WebViewScheduler::WebViewSchedulerSettings { |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 void HandleMouseUp(LocalFrame&, const WebMouseEvent&) override; | 572 void HandleMouseUp(LocalFrame&, const WebMouseEvent&) override; |
574 WebInputEventResult HandleMouseWheel(LocalFrame&, | 573 WebInputEventResult HandleMouseWheel(LocalFrame&, |
575 const WebMouseWheelEvent&) override; | 574 const WebMouseWheelEvent&) override; |
576 WebInputEventResult HandleGestureEvent(const WebGestureEvent&) override; | 575 WebInputEventResult HandleGestureEvent(const WebGestureEvent&) override; |
577 WebInputEventResult HandleKeyEvent(const WebKeyboardEvent&) override; | 576 WebInputEventResult HandleKeyEvent(const WebKeyboardEvent&) override; |
578 WebInputEventResult HandleCharEvent(const WebKeyboardEvent&) override; | 577 WebInputEventResult HandleCharEvent(const WebKeyboardEvent&) override; |
579 | 578 |
580 WebInputEventResult HandleSyntheticWheelFromTouchpadPinchEvent( | 579 WebInputEventResult HandleSyntheticWheelFromTouchpadPinchEvent( |
581 const WebGestureEvent&); | 580 const WebGestureEvent&); |
582 | 581 |
583 WebPlugin* FocusedPluginIfInputMethodSupported(LocalFrame*); | |
584 | |
585 WebGestureEvent CreateGestureScrollEventFromFling(WebInputEvent::Type, | 582 WebGestureEvent CreateGestureScrollEventFromFling(WebInputEvent::Type, |
586 WebGestureDevice) const; | 583 WebGestureDevice) const; |
587 | 584 |
588 void EnablePopupMouseWheelEventListener(WebLocalFrameImpl* local_root); | 585 void EnablePopupMouseWheelEventListener(WebLocalFrameImpl* local_root); |
589 void DisablePopupMouseWheelEventListener(); | 586 void DisablePopupMouseWheelEventListener(); |
590 | 587 |
591 void CancelPagePopup(); | 588 void CancelPagePopup(); |
592 void UpdatePageOverlays(); | 589 void UpdatePageOverlays(); |
593 | 590 |
594 float DeviceScaleFactor() const; | 591 float DeviceScaleFactor() const; |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; | 743 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; |
747 }; | 744 }; |
748 | 745 |
749 // We have no ways to check if the specified WebView is an instance of | 746 // We have no ways to check if the specified WebView is an instance of |
750 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 747 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
751 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 748 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
752 | 749 |
753 } // namespace blink | 750 } // namespace blink |
754 | 751 |
755 #endif | 752 #endif |
OLD | NEW |