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

Unified Diff: chrome/browser/ui/webui/downloads_dom_handler.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | « chrome/browser/ui/webui/cookies_tree_model_util.h ('k') | chrome/browser/ui/webui/history2_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/downloads_dom_handler.h
===================================================================
--- chrome/browser/ui/webui/downloads_dom_handler.h (revision 92173)
+++ chrome/browser/ui/webui/downloads_dom_handler.h (working copy)
@@ -13,7 +13,9 @@
#include "chrome/browser/download/download_manager.h"
#include "content/browser/webui/web_ui.h"
+namespace base {
class ListValue;
+}
// The handler for Javascript messages related to the "downloads" view,
// also observes changes to the download manager.
@@ -37,37 +39,37 @@
virtual void ModelChanged();
// Callback for the "getDownloads" message.
- void HandleGetDownloads(const ListValue* args);
+ void HandleGetDownloads(const base::ListValue* args);
// Callback for the "openFile" message - opens the file in the shell.
- void HandleOpenFile(const ListValue* args);
+ void HandleOpenFile(const base::ListValue* args);
// Callback for the "drag" message - initiates a file object drag.
- void HandleDrag(const ListValue* args);
+ void HandleDrag(const base::ListValue* args);
// Callback for the "saveDangerous" message - specifies that the user
// wishes to save a dangerous file.
- void HandleSaveDangerous(const ListValue* args);
+ void HandleSaveDangerous(const base::ListValue* args);
// Callback for the "discardDangerous" message - specifies that the user
// wishes to discard (remove) a dangerous file.
- void HandleDiscardDangerous(const ListValue* args);
+ void HandleDiscardDangerous(const base::ListValue* args);
// Callback for the "show" message - shows the file in explorer.
- void HandleShow(const ListValue* args);
+ void HandleShow(const base::ListValue* args);
// Callback for the "pause" message - pauses the file download.
- void HandlePause(const ListValue* args);
+ void HandlePause(const base::ListValue* args);
// Callback for the "remove" message - removes the file download from shelf
// and list.
- void HandleRemove(const ListValue* args);
+ void HandleRemove(const base::ListValue* args);
// Callback for the "cancel" message - cancels the download.
- void HandleCancel(const ListValue* args);
+ void HandleCancel(const base::ListValue* args);
// Callback for the "clearAll" message - clears all the downloads.
- void HandleClearAll(const ListValue* args);
+ void HandleClearAll(const base::ListValue* args);
private:
// Send the current list of downloads to the page.
@@ -80,7 +82,7 @@
DownloadItem* GetDownloadById(int id);
// Return the download that is referred to in a given value.
- DownloadItem* GetDownloadByValue(const ListValue* args);
+ DownloadItem* GetDownloadByValue(const base::ListValue* args);
// Current search text.
std::wstring search_text_;
« no previous file with comments | « chrome/browser/ui/webui/cookies_tree_model_util.h ('k') | chrome/browser/ui/webui/history2_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698