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

Unified Diff: content/renderer/render_view.cc

Issue 6873069: Change the method name from enumerateDirectory to enumerateChosenDirectory in order to match the ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view.cc
===================================================================
--- content/renderer/render_view.cc (revision 82079)
+++ content/renderer/render_view.cc (working copy)
@@ -1378,6 +1378,17 @@
return notification_provider_;
}
+bool RenderView::enumerateChosenDirectory(
+ const WebString& path,
+ WebFileChooserCompletion* chooser_completion) {
+ int id = enumeration_completion_id_++;
+ enumeration_completions_[id] = chooser_completion;
+ return Send(new ViewHostMsg_EnumerateDirectory(
+ routing_id_,
+ id,
+ webkit_glue::WebStringToFilePath(path)));
+}
+
void RenderView::didStartLoading() {
if (is_loading_) {
DLOG(WARNING) << "didStartLoading called while loading";
@@ -1545,17 +1556,6 @@
return ScheduleFileChooser(ipc_params, chooser_completion);
}
-bool RenderView::enumerateDirectory(
- const WebString& path,
- WebFileChooserCompletion* chooser_completion) {
- int id = enumeration_completion_id_++;
- enumeration_completions_[id] = chooser_completion;
- return Send(new ViewHostMsg_EnumerateDirectory(
- routing_id_,
- id,
- webkit_glue::WebStringToFilePath(path)));
-}
-
void RenderView::runModalAlertDialog(
WebFrame* frame, const WebString& message) {
RunJavaScriptMessage(ui::MessageBoxFlags::kIsJavascriptAlert,
« no previous file with comments | « content/renderer/render_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698