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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 class DataObject; | 69 class DataObject; |
70 class Frame; | 70 class Frame; |
71 class FullscreenController; | 71 class FullscreenController; |
72 class InputMethodContext; | 72 class InputMethodContext; |
73 class LinkHighlight; | 73 class LinkHighlight; |
74 class PopupContainer; | 74 class PopupContainer; |
75 class LayerCompositor; | 75 class LayerCompositor; |
76 class UserGestureToken; | 76 class UserGestureToken; |
77 class WebActiveGestureAnimation; | 77 class WebActiveGestureAnimation; |
| 78 class WebCompositorAnimationTimeline; |
78 class WebDevToolsAgentImpl; | 79 class WebDevToolsAgentImpl; |
79 class WebLayerTreeView; | 80 class WebLayerTreeView; |
80 class WebLocalFrameImpl; | 81 class WebLocalFrameImpl; |
81 class WebImage; | 82 class WebImage; |
82 class WebPagePopupImpl; | 83 class WebPagePopupImpl; |
83 class WebPlugin; | 84 class WebPlugin; |
84 class WebSettingsImpl; | 85 class WebSettingsImpl; |
85 | 86 |
86 struct WebSelectionBound; | 87 struct WebSelectionBound; |
87 | 88 |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 return m_currentInputEvent; | 434 return m_currentInputEvent; |
434 } | 435 } |
435 | 436 |
436 GraphicsLayer* rootGraphicsLayer(); | 437 GraphicsLayer* rootGraphicsLayer(); |
437 void setRootGraphicsLayer(GraphicsLayer*); | 438 void setRootGraphicsLayer(GraphicsLayer*); |
438 void scheduleCompositingLayerSync(); | 439 void scheduleCompositingLayerSync(); |
439 GraphicsLayerFactory* graphicsLayerFactory() const; | 440 GraphicsLayerFactory* graphicsLayerFactory() const; |
440 LayerCompositor* compositor() const; | 441 LayerCompositor* compositor() const; |
441 void registerForAnimations(WebLayer*); | 442 void registerForAnimations(WebLayer*); |
442 void scheduleAnimation(); | 443 void scheduleAnimation(); |
| 444 void setCompositorAnimationTimeline(WebCompositorAnimationTimeline*); |
443 | 445 |
444 virtual void setVisibilityState(WebPageVisibilityState, bool) override; | 446 virtual void setVisibilityState(WebPageVisibilityState, bool) override; |
445 | 447 |
446 PopupContainer* selectPopup() const { return m_selectPopup.get(); } | 448 PopupContainer* selectPopup() const { return m_selectPopup.get(); } |
447 bool hasOpenedPopup() const { return m_selectPopup || m_pagePopup; } | 449 bool hasOpenedPopup() const { return m_selectPopup || m_pagePopup; } |
448 | 450 |
449 // Returns true if the event leads to scrolling. | 451 // Returns true if the event leads to scrolling. |
450 static bool mapKeyCodeForScroll( | 452 static bool mapKeyCodeForScroll( |
451 int keyCode, | 453 int keyCode, |
452 ScrollDirection*, | 454 ScrollDirection*, |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 }; | 775 }; |
774 | 776 |
775 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 777 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
776 // We have no ways to check if the specified WebView is an instance of | 778 // We have no ways to check if the specified WebView is an instance of |
777 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 779 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
778 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 780 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
779 | 781 |
780 } // namespace blink | 782 } // namespace blink |
781 | 783 |
782 #endif | 784 #endif |
OLD | NEW |