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

Side by Side Diff: webkit/glue/dom_operations.h

Issue 16216: Adds support for pauseAnimationAtTimeOnElementWithId and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_GLUE_DOM_OPERATIONS_H__ 5 #ifndef WEBKIT_GLUE_DOM_OPERATIONS_H__
6 #define WEBKIT_GLUE_DOM_OPERATIONS_H__ 6 #define WEBKIT_GLUE_DOM_OPERATIONS_H__
7 7
8 #include <string> 8 #include <string>
9 #include <map> 9 #include <map>
10 10
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 // 164 //
165 // You shouldn't have a need to invoke this directly, it's public for testing. 165 // You shouldn't have a need to invoke this directly, it's public for testing.
166 bool ParseIconSizes(const std::wstring& text, 166 bool ParseIconSizes(const std::wstring& text,
167 std::vector<gfx::Size>* sizes, 167 std::vector<gfx::Size>* sizes,
168 bool* is_any); 168 bool* is_any);
169 169
170 // Gets the application info for the specified page. See the description of 170 // Gets the application info for the specified page. See the description of
171 // WebApplicationInfo for details as to where each field comes from. 171 // WebApplicationInfo for details as to where each field comes from.
172 void GetApplicationInfo(WebView* view, WebApplicationInfo* app_info); 172 void GetApplicationInfo(WebView* view, WebApplicationInfo* app_info);
173 173
174 // Invokes pauseAnimationAtTime on the AnimationController associated with the
175 // |view|s main frame.
176 // This is used by test shell.
177 bool PauseAnimationAtTimeOnElementWithId(WebView* view,
178 const std::string& animation_name,
179 double time,
180 const std::string& element_id);
181
182 // Invokes pauseTransitionAtTime on the AnimationController associated with the
183 // |view|s main frame.
184 // This is used by test shell.
185 bool PauseTransitionAtTimeOnElementWithId(WebView* view,
186 const std::string& property_name,
187 double time,
188 const std::string& element_id);
189
174 } // namespace webkit_glue 190 } // namespace webkit_glue
175 191
176 #endif // WEBKIT_GLUE_DOM_OPERATIONS_H__ 192 #endif // WEBKIT_GLUE_DOM_OPERATIONS_H__
177 193
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698