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

Side by Side Diff: chrome/browser/printing/print_dialog_cloud.cc

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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
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 #include "chrome/browser/printing/print_dialog_cloud.h" 5 #include "chrome/browser/printing/print_dialog_cloud.h"
6 #include "chrome/browser/printing/print_dialog_cloud_internal.h" 6 #include "chrome/browser/printing/print_dialog_cloud_internal.h"
7 7
8 #include "base/base64.h" 8 #include "base/base64.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // down and released. 107 // down and released.
108 108
109 // TODO(scottbyer): 109 // TODO(scottbyer):
110 // http://code.google.com/p/chromium/issues/detail?id=44093 The 110 // http://code.google.com/p/chromium/issues/detail?id=44093 The
111 // high-level flow (where the data is generated before even 111 // high-level flow (where the data is generated before even
112 // bringing up the dialog) isn't what we want. 112 // bringing up the dialog) isn't what we want.
113 113
114 using content::BrowserThread; 114 using content::BrowserThread;
115 using content::NavigationController; 115 using content::NavigationController;
116 using content::NavigationEntry; 116 using content::NavigationEntry;
117 using content::RenderViewHost;
117 using content::WebContents; 118 using content::WebContents;
118 using content::WebUIMessageHandler; 119 using content::WebUIMessageHandler;
119 120
120 namespace internal_cloud_print_helpers { 121 namespace internal_cloud_print_helpers {
121 122
122 // From the JSON parsed value, get the entries for the page setup 123 // From the JSON parsed value, get the entries for the page setup
123 // parameters. 124 // parameters.
124 bool GetPageSetupParameters(const std::string& json, 125 bool GetPageSetupParameters(const std::string& json,
125 PrintMsg_Print_Params& parameters) { 126 PrintMsg_Print_Params& parameters) {
126 scoped_ptr<Value> parsed_value(base::JSONReader::Read(json, false)); 127 scoped_ptr<Value> parsed_value(base::JSONReader::Read(json, false));
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 file_type, 809 file_type,
809 false, 810 false,
810 delete_on_close); 811 delete_on_close);
811 return true; 812 return true;
812 } 813 }
813 } 814 }
814 return false; 815 return false;
815 } 816 }
816 817
817 } // end namespace 818 } // end namespace
OLDNEW
« no previous file with comments | « chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc ('k') | chrome/browser/printing/print_dialog_cloud_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698