Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Side by Side Diff: Source/web/WebViewImpl.h

Issue 1131833002: [Sketch] Animations: Torpedo the old intrusive animation system. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@scroll
Patch Set: Delete more. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/web/WebRuntimeFeatures.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 static const WebInputEvent* currentInputEvent() 436 static const WebInputEvent* currentInputEvent()
437 { 437 {
438 return m_currentInputEvent; 438 return m_currentInputEvent;
439 } 439 }
440 440
441 GraphicsLayer* rootGraphicsLayer(); 441 GraphicsLayer* rootGraphicsLayer();
442 void setRootGraphicsLayer(GraphicsLayer*); 442 void setRootGraphicsLayer(GraphicsLayer*);
443 void scheduleCompositingLayerSync(); 443 void scheduleCompositingLayerSync();
444 GraphicsLayerFactory* graphicsLayerFactory() const; 444 GraphicsLayerFactory* graphicsLayerFactory() const;
445 DeprecatedPaintLayerCompositor* compositor() const; 445 DeprecatedPaintLayerCompositor* compositor() const;
446 void registerForAnimations(WebLayer*);
447 void scheduleAnimation(); 446 void scheduleAnimation();
448 void attachCompositorAnimationTimeline(WebCompositorAnimationTimeline*); 447 void attachCompositorAnimationTimeline(WebCompositorAnimationTimeline*);
449 void detachCompositorAnimationTimeline(WebCompositorAnimationTimeline*); 448 void detachCompositorAnimationTimeline(WebCompositorAnimationTimeline*);
450 WebCompositorAnimationTimeline* linkHighlightsTimeline() const { return m_li nkHighlightsTimeline.get(); } 449 WebCompositorAnimationTimeline* linkHighlightsTimeline() const { return m_li nkHighlightsTimeline.get(); }
451 450
452 virtual void setVisibilityState(WebPageVisibilityState, bool) override; 451 virtual void setVisibilityState(WebPageVisibilityState, bool) override;
453 452
454 PopupContainer* selectPopup() const { return m_selectPopup.get(); } 453 PopupContainer* selectPopup() const { return m_selectPopup.get(); }
455 bool hasOpenedPopup() const { return m_selectPopup || m_pagePopup; } 454 bool hasOpenedPopup() const { return m_selectPopup || m_pagePopup; }
456 455
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 }; 766 };
768 767
769 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 768 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
770 // 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
771 // WebViewImpl because WebViewImpl is the only implementation of WebView. 770 // WebViewImpl because WebViewImpl is the only implementation of WebView.
772 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 771 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
773 772
774 } // namespace blink 773 } // namespace blink
775 774
776 #endif 775 #endif
OLDNEW
« no previous file with comments | « Source/web/WebRuntimeFeatures.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698