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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 #include "wtf/Vector.h" | 65 #include "wtf/Vector.h" |
66 | 66 |
67 namespace blink { | 67 namespace blink { |
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 RenderLayerCompositor; | 75 class LayerCompositor; |
76 class UserGestureToken; | 76 class UserGestureToken; |
77 class WebActiveGestureAnimation; | 77 class WebActiveGestureAnimation; |
78 class WebDevToolsAgentImpl; | 78 class WebDevToolsAgentImpl; |
79 class WebLayerTreeView; | 79 class WebLayerTreeView; |
80 class WebLocalFrameImpl; | 80 class WebLocalFrameImpl; |
81 class WebImage; | 81 class WebImage; |
82 class WebPagePopupImpl; | 82 class WebPagePopupImpl; |
83 class WebPlugin; | 83 class WebPlugin; |
84 class WebSettingsImpl; | 84 class WebSettingsImpl; |
85 | 85 |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 // cases where the WebCore DOM event doesn't have the information we need. | 429 // cases where the WebCore DOM event doesn't have the information we need. |
430 static const WebInputEvent* currentInputEvent() | 430 static const WebInputEvent* currentInputEvent() |
431 { | 431 { |
432 return m_currentInputEvent; | 432 return m_currentInputEvent; |
433 } | 433 } |
434 | 434 |
435 GraphicsLayer* rootGraphicsLayer(); | 435 GraphicsLayer* rootGraphicsLayer(); |
436 void setRootGraphicsLayer(GraphicsLayer*); | 436 void setRootGraphicsLayer(GraphicsLayer*); |
437 void scheduleCompositingLayerSync(); | 437 void scheduleCompositingLayerSync(); |
438 GraphicsLayerFactory* graphicsLayerFactory() const; | 438 GraphicsLayerFactory* graphicsLayerFactory() const; |
439 RenderLayerCompositor* compositor() const; | 439 LayerCompositor* compositor() const; |
440 void registerForAnimations(WebLayer*); | 440 void registerForAnimations(WebLayer*); |
441 void scheduleAnimation(); | 441 void scheduleAnimation(); |
442 | 442 |
443 virtual void setVisibilityState(WebPageVisibilityState, bool) override; | 443 virtual void setVisibilityState(WebPageVisibilityState, bool) override; |
444 | 444 |
445 PopupContainer* selectPopup() const { return m_selectPopup.get(); } | 445 PopupContainer* selectPopup() const { return m_selectPopup.get(); } |
446 bool hasOpenedPopup() const { return m_selectPopup || m_pagePopup; } | 446 bool hasOpenedPopup() const { return m_selectPopup || m_pagePopup; } |
447 | 447 |
448 // Returns true if the event leads to scrolling. | 448 // Returns true if the event leads to scrolling. |
449 static bool mapKeyCodeForScroll( | 449 static bool mapKeyCodeForScroll( |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 }; | 766 }; |
767 | 767 |
768 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 768 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
769 // We have no ways to check if the specified WebView is an instance of | 769 // We have no ways to check if the specified WebView is an instance of |
770 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 770 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
771 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 771 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
772 | 772 |
773 } // namespace blink | 773 } // namespace blink |
774 | 774 |
775 #endif | 775 #endif |
OLD | NEW |