diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 19:15:03 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 19:15:03 +0000 |
commit | f3a1c64a4d81c412273ed567536f23c2c14813a2 (patch) | |
tree | f0ced21805b18546e879413e4f808dd4f683c534 /chrome/browser/ui/webui/print_preview_handler.h | |
parent | 2338319a9acbaecba44243740b3f01b5c408a78a (diff) | |
download | chromium_src-f3a1c64a4d81c412273ed567536f23c2c14813a2.zip chromium_src-f3a1c64a4d81c412273ed567536f23c2c14813a2.tar.gz chromium_src-f3a1c64a4d81c412273ed567536f23c2c14813a2.tar.bz2 |
Move base/values.h into the base namespace. This includes a cros DEPS roll
with a minor change to that code since libcros also uses base/values.h.
BUG=88666
TEST=none
Review URL: http://codereview.chromium.org/7259019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/webui/print_preview_handler.h')
-rw-r--r-- | chrome/browser/ui/webui/print_preview_handler.h | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/chrome/browser/ui/webui/print_preview_handler.h b/chrome/browser/ui/webui/print_preview_handler.h index 651a70f..510b81a 100644 --- a/chrome/browser/ui/webui/print_preview_handler.h +++ b/chrome/browser/ui/webui/print_preview_handler.h @@ -13,9 +13,12 @@ #include "content/browser/webui/web_ui.h" class FilePath; -class FundamentalValue; class PrintSystemTaskProxy; + +namespace base { +class FundamentalValue; class StringValue; +} namespace printing { class PrintBackend; @@ -54,52 +57,52 @@ class PrintPreviewHandler : public WebUIMessageHandler, TabContents* preview_tab(); // Get the default printer. |args| is unused. - void HandleGetDefaultPrinter(const ListValue* args); + void HandleGetDefaultPrinter(const base::ListValue* args); // Get the list of printers. |args| is unused. - void HandleGetPrinters(const ListValue* args); + void HandleGetPrinters(const base::ListValue* args); // Ask the initiator renderer to generate a preview. // First element of |args| is a job settings JSON string. - void HandleGetPreview(const ListValue* args); + void HandleGetPreview(const base::ListValue* args); // Get the job settings from Web UI and initiate printing. // First element of |args| is a job settings JSON string. - void HandlePrint(const ListValue* args); + void HandlePrint(const base::ListValue* args); // Handles the request to hide the preview tab for printing. // |args| is unused. - void HandleHidePreview(const ListValue* args); + void HandleHidePreview(const base::ListValue* args); // Handles the request to cancel the pending print request. // |args| is unused. - void HandleCancelPendingPrintRequest(const ListValue* args); + void HandleCancelPendingPrintRequest(const base::ListValue* args); // Get the printer capabilities. // First element of |args| is the printer name. - void HandleGetPrinterCapabilities(const ListValue* args); + void HandleGetPrinterCapabilities(const base::ListValue* args); // Ask the initiator renderer to show the native print system dialog. // |args| is unused. - void HandleShowSystemDialog(const ListValue* args); + void HandleShowSystemDialog(const base::ListValue* args); // Ask the browser to show the native printer management dialog. // |args| is unused. - void HandleManagePrinters(const ListValue* args); + void HandleManagePrinters(const base::ListValue* args); // Ask the browser to close the preview tab. // |args| is unused. - void HandleClosePreviewTab(const ListValue* args); + void HandleClosePreviewTab(const base::ListValue* args); // Send the printer capabilities to the Web UI. // |settings_info| contains printer capabilities information. - void SendPrinterCapabilities(const DictionaryValue& settings_info); + void SendPrinterCapabilities(const base::DictionaryValue& settings_info); // Send the default printer to the Web UI. - void SendDefaultPrinter(const StringValue& default_printer); + void SendDefaultPrinter(const base::StringValue& default_printer); // Send the list of printers to the Web UI. - void SendPrinterList(const ListValue& printers); + void SendPrinterList(const base::ListValue& printers); // Helper function to get the initiator tab for the print preview tab. TabContents* GetInitiatorTab(); |