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

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

Issue 12209082: Remove dead code related to WebAnimationController (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/glue/dom_operations.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <vector> 9 #include <vector>
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 // Get all savable resource links from current webview, include main frame 55 // Get all savable resource links from current webview, include main frame
56 // and sub-frame. After collecting all savable resource links, this function 56 // and sub-frame. After collecting all savable resource links, this function
57 // will send those links to embedder. Return value indicates whether we get 57 // will send those links to embedder. Return value indicates whether we get
58 // all saved resource links successfully. 58 // all saved resource links successfully.
59 WEBKIT_GLUE_EXPORT bool GetAllSavableResourceLinksForCurrentPage( 59 WEBKIT_GLUE_EXPORT bool GetAllSavableResourceLinksForCurrentPage(
60 WebKit::WebView* view, 60 WebKit::WebView* view,
61 const GURL& page_url, SavableResourcesResult* savable_resources_result, 61 const GURL& page_url, SavableResourcesResult* savable_resources_result,
62 const char** savable_schemes); 62 const char** savable_schemes);
63 63
64 // Invokes pauseAnimationAtTime on the AnimationController associated with the
65 // |view|s main frame.
66 // This is used by test shell.
67 bool PauseAnimationAtTimeOnElementWithId(WebKit::WebView* view,
68 const std::string& animation_name,
69 double time,
70 const std::string& element_id);
71
72 // Invokes pauseTransitionAtTime on the AnimationController associated with the
73 // |view|s main frame.
74 // This is used by test shell.
75 bool PauseTransitionAtTimeOnElementWithId(WebKit::WebView* view,
76 const std::string& property_name,
77 double time,
78 const std::string& element_id);
79
80 // Returns true if the element with |element_id| as its id has autocomplete 64 // Returns true if the element with |element_id| as its id has autocomplete
81 // on. 65 // on.
82 bool ElementDoesAutoCompleteForElementWithId(WebKit::WebView* view, 66 bool ElementDoesAutoCompleteForElementWithId(WebKit::WebView* view,
83 const std::string& element_id); 67 const std::string& element_id);
84 68
85 // Returns the number of animations currently running.
86 int NumberOfActiveAnimations(WebKit::WebView* view);
87
88 // Returns the value in an elements resource url attribute. For IMG, SCRIPT or 69 // Returns the value in an elements resource url attribute. For IMG, SCRIPT or
89 // INPUT TYPE=image, returns the value in "src". For LINK TYPE=text/css, returns 70 // INPUT TYPE=image, returns the value in "src". For LINK TYPE=text/css, returns
90 // the value in "href". For BODY, TABLE, TR, TD, returns the value in 71 // the value in "href". For BODY, TABLE, TR, TD, returns the value in
91 // "background". For BLOCKQUOTE, Q, DEL, INS, returns the value in "cite" 72 // "background". For BLOCKQUOTE, Q, DEL, INS, returns the value in "cite"
92 // attribute. Otherwise returns a null WebString. 73 // attribute. Otherwise returns a null WebString.
93 WEBKIT_GLUE_EXPORT WebKit::WebString GetSubResourceLinkFromElement( 74 WEBKIT_GLUE_EXPORT WebKit::WebString GetSubResourceLinkFromElement(
94 const WebKit::WebElement& element); 75 const WebKit::WebElement& element);
95 76
96 // Puts the meta-elements of |document| that have the attribute |attribute_name| 77 // Puts the meta-elements of |document| that have the attribute |attribute_name|
97 // with a value of |attribute_value| in |meta_elements|. 78 // with a value of |attribute_value| in |meta_elements|.
98 WEBKIT_GLUE_EXPORT void GetMetaElementsWithAttribute( 79 WEBKIT_GLUE_EXPORT void GetMetaElementsWithAttribute(
99 WebKit::WebDocument* document, 80 WebKit::WebDocument* document,
100 const string16& attribute_name, 81 const string16& attribute_name,
101 const string16& atribute_value, 82 const string16& atribute_value,
102 std::vector<WebKit::WebElement>* meta_elements); 83 std::vector<WebKit::WebElement>* meta_elements);
103 84
104 } // namespace webkit_glue 85 } // namespace webkit_glue
105 86
106 #endif // WEBKIT_GLUE_DOM_OPERATIONS_H__ 87 #endif // WEBKIT_GLUE_DOM_OPERATIONS_H__
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/dom_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698