| OLD | NEW |
| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 DISALLOW_COPY_AND_ASSIGN(SavableResourcesResult); | 52 DISALLOW_COPY_AND_ASSIGN(SavableResourcesResult); |
| 53 }; | 53 }; |
| 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* const* savable_schemes); |
| 63 | 63 |
| 64 // Invokes pauseAnimationAtTime on the AnimationController associated with the | 64 // Invokes pauseAnimationAtTime on the AnimationController associated with the |
| 65 // |view|s main frame. | 65 // |view|s main frame. |
| 66 // This is used by test shell. | 66 // This is used by test shell. |
| 67 bool PauseAnimationAtTimeOnElementWithId(WebKit::WebView* view, | 67 bool PauseAnimationAtTimeOnElementWithId(WebKit::WebView* view, |
| 68 const std::string& animation_name, | 68 const std::string& animation_name, |
| 69 double time, | 69 double time, |
| 70 const std::string& element_id); | 70 const std::string& element_id); |
| 71 | 71 |
| 72 // Invokes pauseTransitionAtTime on the AnimationController associated with the | 72 // Invokes pauseTransitionAtTime on the AnimationController associated with the |
| (...skipping 24 matching lines...) Expand all Loading... |
| 97 // with a value of |attribute_value| in |meta_elements|. | 97 // with a value of |attribute_value| in |meta_elements|. |
| 98 WEBKIT_GLUE_EXPORT void GetMetaElementsWithAttribute( | 98 WEBKIT_GLUE_EXPORT void GetMetaElementsWithAttribute( |
| 99 WebKit::WebDocument* document, | 99 WebKit::WebDocument* document, |
| 100 const string16& attribute_name, | 100 const string16& attribute_name, |
| 101 const string16& atribute_value, | 101 const string16& atribute_value, |
| 102 std::vector<WebKit::WebElement>* meta_elements); | 102 std::vector<WebKit::WebElement>* meta_elements); |
| 103 | 103 |
| 104 } // namespace webkit_glue | 104 } // namespace webkit_glue |
| 105 | 105 |
| 106 #endif // WEBKIT_GLUE_DOM_OPERATIONS_H__ | 106 #endif // WEBKIT_GLUE_DOM_OPERATIONS_H__ |
| OLD | NEW |