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

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

Issue 10445025: GetAllSavableResourceLinksForCurrentPage shouldn't be permitted to modify the array of savable sche… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated to remove cast added in r139253 Created 8 years, 6 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 | « content/renderer/render_view_impl.cc ('k') | 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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__
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | webkit/glue/dom_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698