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

Side by Side Diff: chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc

Issue 6204002: Carnitas: Remove chrome/browser/views, update references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yay, more syncing Created 9 years, 11 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
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/shell_dialogs.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/cloud_print/cloud_print_setup_flow.h" 5 #include "chrome/browser/printing/cloud_print/cloud_print_setup_flow.h"
6 6
7 #include "app/gfx/font_util.h" 7 #include "app/gfx/font_util.h"
8 #include "base/json/json_writer.h" 8 #include "base/json/json_writer.h"
9 #include "base/singleton.h" 9 #include "base/singleton.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
(...skipping 12 matching lines...) Expand all
24 #include "chrome/browser/printing/cloud_print/cloud_print_setup_source.h" 24 #include "chrome/browser/printing/cloud_print/cloud_print_setup_source.h"
25 #include "chrome/browser/printing/cloud_print/cloud_print_url.h" 25 #include "chrome/browser/printing/cloud_print/cloud_print_url.h"
26 #include "chrome/browser/profiles/profile.h" 26 #include "chrome/browser/profiles/profile.h"
27 #include "chrome/browser/renderer_host/render_view_host.h" 27 #include "chrome/browser/renderer_host/render_view_host.h"
28 #include "chrome/browser/service/service_process_control.h" 28 #include "chrome/browser/service/service_process_control.h"
29 #include "chrome/browser/service/service_process_control_manager.h" 29 #include "chrome/browser/service/service_process_control_manager.h"
30 #include "chrome/browser/tab_contents/tab_contents.h" 30 #include "chrome/browser/tab_contents/tab_contents.h"
31 #include "chrome/browser/ui/browser.h" 31 #include "chrome/browser/ui/browser.h"
32 #include "chrome/browser/ui/browser_window.h" 32 #include "chrome/browser/ui/browser_window.h"
33 #if defined(TOOLKIT_VIEWS) 33 #if defined(TOOLKIT_VIEWS)
34 #include "chrome/browser/views/browser_dialogs.h" 34 #include "chrome/browser/ui/views/browser_dialogs.h"
35 #endif // defined(TOOLKIT_GTK) 35 #endif // defined(TOOLKIT_GTK)
36 #include "chrome/common/net/gaia/gaia_auth_fetcher.h" 36 #include "chrome/common/net/gaia/gaia_auth_fetcher.h"
37 #include "chrome/common/net/gaia/gaia_constants.h" 37 #include "chrome/common/net/gaia/gaia_constants.h"
38 #include "chrome/common/net/gaia/google_service_auth_error.h" 38 #include "chrome/common/net/gaia/google_service_auth_error.h"
39 #include "chrome/common/pref_names.h" 39 #include "chrome/common/pref_names.h"
40 #include "chrome/common/service_messages.h" 40 #include "chrome/common/service_messages.h"
41 #include "gfx/font.h" 41 #include "gfx/font.h"
42 42
43 #include "grit/chromium_strings.h" 43 #include "grit/chromium_strings.h"
44 #include "grit/locale_settings.h" 44 #include "grit/locale_settings.h"
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 } 299 }
300 300
301 void CloudPrintSetupFlow::ExecuteJavascriptInIFrame( 301 void CloudPrintSetupFlow::ExecuteJavascriptInIFrame(
302 const std::wstring& iframe_xpath, 302 const std::wstring& iframe_xpath,
303 const std::wstring& js) { 303 const std::wstring& js) {
304 if (dom_ui_) { 304 if (dom_ui_) {
305 RenderViewHost* rvh = dom_ui_->tab_contents()->render_view_host(); 305 RenderViewHost* rvh = dom_ui_->tab_contents()->render_view_host();
306 rvh->ExecuteJavascriptInWebFrame(iframe_xpath, js); 306 rvh->ExecuteJavascriptInWebFrame(iframe_xpath, js);
307 } 307 }
308 } 308 }
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/shell_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698