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

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

Issue 946323002: Animations: Introduce compositor AnimationPlayer and AnimationTimeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Support multiple timelines. Created 5 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 virtual void enumerateChosenDirectory(FileChooser*) override; 128 virtual void enumerateChosenDirectory(FileChooser*) override;
129 virtual void setCursor(const Cursor&) override; 129 virtual void setCursor(const Cursor&) override;
130 virtual void needTouchEvents(bool needTouchEvents) override; 130 virtual void needTouchEvents(bool needTouchEvents) override;
131 virtual void setTouchAction(TouchAction) override; 131 virtual void setTouchAction(TouchAction) override;
132 132
133 virtual GraphicsLayerFactory* graphicsLayerFactory() const override; 133 virtual GraphicsLayerFactory* graphicsLayerFactory() const override;
134 134
135 // Pass 0 as the GraphicsLayer to detatch the root layer. 135 // Pass 0 as the GraphicsLayer to detatch the root layer.
136 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override; 136 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override;
137 137
138 virtual void attachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) override;
139 virtual void detachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*, LocalFrame* localRoot) override;
140
138 virtual void enterFullScreenForElement(Element*) override; 141 virtual void enterFullScreenForElement(Element*) override;
139 virtual void exitFullScreenForElement(Element*) override; 142 virtual void exitFullScreenForElement(Element*) override;
140 143
141 virtual void clearCompositedSelectionBounds() override; 144 virtual void clearCompositedSelectionBounds() override;
142 virtual void updateCompositedSelectionBounds(const blink::CompositedSelectio nBound& anchor, const blink::CompositedSelectionBound& focus) override; 145 virtual void updateCompositedSelectionBounds(const blink::CompositedSelectio nBound& anchor, const blink::CompositedSelectionBound& focus) override;
143 146
144 // ChromeClient methods: 147 // ChromeClient methods:
145 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) override; 148 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) override;
146 virtual String acceptLanguages() override; 149 virtual String acceptLanguages() override;
147 150
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 WindowFeatures m_windowFeatures; 192 WindowFeatures m_windowFeatures;
190 193
191 PagePopupDriver* m_pagePopupDriver; 194 PagePopupDriver* m_pagePopupDriver;
192 }; 195 };
193 196
194 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 197 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
195 198
196 } // namespace blink 199 } // namespace blink
197 200
198 #endif 201 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698