| 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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 LocalDOMWindow* pagePopupWindow() const; | 418 LocalDOMWindow* pagePopupWindow() const; |
| 419 | 419 |
| 420 // Returns the input event we're currently processing. This is used in some | 420 // Returns the input event we're currently processing. This is used in some |
| 421 // cases where the WebCore DOM event doesn't have the information we need. | 421 // cases where the WebCore DOM event doesn't have the information we need. |
| 422 static const WebInputEvent* currentInputEvent() | 422 static const WebInputEvent* currentInputEvent() |
| 423 { | 423 { |
| 424 return m_currentInputEvent; | 424 return m_currentInputEvent; |
| 425 } | 425 } |
| 426 | 426 |
| 427 GraphicsLayer* rootGraphicsLayer(); | 427 GraphicsLayer* rootGraphicsLayer(); |
| 428 void registerViewportLayersWithCompositor(); |
| 428 PaintLayerCompositor* compositor() const; | 429 PaintLayerCompositor* compositor() const; |
| 429 void scheduleAnimation(); | 430 void scheduleAnimation(); |
| 430 CompositorAnimationTimeline* linkHighlightsTimeline() const { return m_linkH
ighlightsTimeline.get(); } | 431 CompositorAnimationTimeline* linkHighlightsTimeline() const { return m_linkH
ighlightsTimeline.get(); } |
| 431 | 432 |
| 432 WebViewScheduler* scheduler() const override; | 433 WebViewScheduler* scheduler() const override; |
| 433 void setVisibilityState(WebPageVisibilityState, bool) override; | 434 void setVisibilityState(WebPageVisibilityState, bool) override; |
| 434 | 435 |
| 435 bool hasOpenedPopup() const { return m_pagePopup.get(); } | 436 bool hasOpenedPopup() const { return m_pagePopup.get(); } |
| 436 | 437 |
| 437 // Returns true if the event leads to scrolling. | 438 // Returns true if the event leads to scrolling. |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 bool m_overrideCompositorVisibility; | 772 bool m_overrideCompositorVisibility; |
| 772 }; | 773 }; |
| 773 | 774 |
| 774 // We have no ways to check if the specified WebView is an instance of | 775 // We have no ways to check if the specified WebView is an instance of |
| 775 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 776 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 776 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 777 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 777 | 778 |
| 778 } // namespace blink | 779 } // namespace blink |
| 779 | 780 |
| 780 #endif | 781 #endif |
| OLD | NEW |