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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 class FullscreenController; | 72 class FullscreenController; |
73 class InputMethodContext; | 73 class InputMethodContext; |
74 class InspectorOverlay; | 74 class InspectorOverlay; |
75 class InspectorOverlayImpl; | 75 class InspectorOverlayImpl; |
76 class LinkHighlight; | 76 class LinkHighlight; |
77 class PopupContainer; | 77 class PopupContainer; |
78 class DeprecatedPaintLayerCompositor; | 78 class DeprecatedPaintLayerCompositor; |
79 class TopControls; | 79 class TopControls; |
80 class UserGestureToken; | 80 class UserGestureToken; |
81 class WebActiveGestureAnimation; | 81 class WebActiveGestureAnimation; |
| 82 class WebCompositorAnimationTimeline; |
82 class WebDevToolsAgentImpl; | 83 class WebDevToolsAgentImpl; |
83 class WebLayerTreeView; | 84 class WebLayerTreeView; |
84 class WebLocalFrameImpl; | 85 class WebLocalFrameImpl; |
85 class WebImage; | 86 class WebImage; |
86 class WebPagePopupImpl; | 87 class WebPagePopupImpl; |
87 class WebPlugin; | 88 class WebPlugin; |
88 class WebSettingsImpl; | 89 class WebSettingsImpl; |
89 | 90 |
90 struct WebSelectionBound; | 91 struct WebSelectionBound; |
91 | 92 |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 return m_currentInputEvent; | 440 return m_currentInputEvent; |
440 } | 441 } |
441 | 442 |
442 GraphicsLayer* rootGraphicsLayer(); | 443 GraphicsLayer* rootGraphicsLayer(); |
443 void setRootGraphicsLayer(GraphicsLayer*); | 444 void setRootGraphicsLayer(GraphicsLayer*); |
444 void scheduleCompositingLayerSync(); | 445 void scheduleCompositingLayerSync(); |
445 GraphicsLayerFactory* graphicsLayerFactory() const; | 446 GraphicsLayerFactory* graphicsLayerFactory() const; |
446 DeprecatedPaintLayerCompositor* compositor() const; | 447 DeprecatedPaintLayerCompositor* compositor() const; |
447 void registerForAnimations(WebLayer*); | 448 void registerForAnimations(WebLayer*); |
448 void scheduleAnimation(); | 449 void scheduleAnimation(); |
| 450 void attachCompositorAnimationTimeline(WebCompositorAnimationTimeline*); |
| 451 void detachCompositorAnimationTimeline(WebCompositorAnimationTimeline*); |
449 | 452 |
450 virtual void setVisibilityState(WebPageVisibilityState, bool) override; | 453 virtual void setVisibilityState(WebPageVisibilityState, bool) override; |
451 | 454 |
452 PopupContainer* selectPopup() const { return m_selectPopup.get(); } | 455 PopupContainer* selectPopup() const { return m_selectPopup.get(); } |
453 bool hasOpenedPopup() const { return m_selectPopup || m_pagePopup; } | 456 bool hasOpenedPopup() const { return m_selectPopup || m_pagePopup; } |
454 | 457 |
455 // Returns true if the event leads to scrolling. | 458 // Returns true if the event leads to scrolling. |
456 static bool mapKeyCodeForScroll( | 459 static bool mapKeyCodeForScroll( |
457 int keyCode, | 460 int keyCode, |
458 ScrollDirection*, | 461 ScrollDirection*, |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
770 }; | 773 }; |
771 | 774 |
772 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 775 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 | 776 // We have no ways to check if the specified WebView is an instance of |
774 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 777 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
775 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 778 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
776 | 779 |
777 } // namespace blink | 780 } // namespace blink |
778 | 781 |
779 #endif | 782 #endif |
OLD | NEW |