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

Unified Diff: chrome/renderer/print_web_view_helper.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/renderer/localized_error.h ('k') | chrome/service/cloud_print/cloud_print_helpers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/print_web_view_helper.h
===================================================================
--- chrome/renderer/print_web_view_helper.h (revision 92173)
+++ chrome/renderer/print_web_view_helper.h (working copy)
@@ -16,11 +16,14 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h"
#include "ui/gfx/size.h"
-class DictionaryValue;
struct PrintMsg_Print_Params;
struct PrintMsg_PrintPage_Params;
struct PrintMsg_PrintPages_Params;
+namespace base {
+class DictionaryValue;
+}
+
// Class that calls the Begin and End print functions on the frame and changes
// the size of the view temporarily to support full page printing..
// Do not serve any events in the time between construction and destruction of
@@ -107,14 +110,14 @@
void OnInitiatePrintPreview();
// Generate a print preview using |settings|.
- void OnPrintPreview(const DictionaryValue& settings);
+ void OnPrintPreview(const base::DictionaryValue& settings);
// Print / preview the node under the context menu.
void OnPrintNodeUnderContextMenu();
// Print the pages for print preview. Do not display the native print dialog
// for user settings. |job_settings| has new print job settings values.
- void OnPrintForPrintPreview(const DictionaryValue& job_settings);
+ void OnPrintForPrintPreview(const base::DictionaryValue& job_settings);
void OnPrintingDone(bool success);
@@ -124,7 +127,7 @@
void PrintPreview(WebKit::WebFrame* frame,
WebKit::WebNode* node,
- const DictionaryValue& settings);
+ const base::DictionaryValue& settings);
enum PrintingResult {
OK,
@@ -144,7 +147,7 @@
// Update the current print settings with new |job_settings|. |job_settings|
// dictionary contains print job details such as printer name, number of
// copies, page range, etc.
- bool UpdatePrintSettings(const DictionaryValue& job_settings);
+ bool UpdatePrintSettings(const base::DictionaryValue& job_settings);
// Get final print settings from the user.
// Return false if the user cancels or on error.
« no previous file with comments | « chrome/renderer/localized_error.h ('k') | chrome/service/cloud_print/cloud_print_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698