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

Side by Side Diff: chrome/renderer/print_web_view_helper_mac.mm

Issue 3855001: Move scoped_cftyperef from base to base/mac, use the new namespace, and name ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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/plugin/webplugin_proxy.cc ('k') | chrome/renderer/webplugin_delegate_pepper.cc » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/renderer/print_web_view_helper.h" 5 #include "chrome/renderer/print_web_view_helper.h"
6 6
7 #import <AppKit/AppKit.h> 7 #import <AppKit/AppKit.h>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/process_util.h" 11 #include "base/process_util.h"
12 #include "base/scoped_cftyperef.h"
13 #include "chrome/common/render_messages.h" 12 #include "chrome/common/render_messages.h"
14 #include "chrome/common/render_messages_params.h" 13 #include "chrome/common/render_messages_params.h"
15 #include "chrome/renderer/render_view.h" 14 #include "chrome/renderer/render_view.h"
16 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
17 #include "printing/native_metafile.h" 16 #include "printing/native_metafile.h"
18 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h" 17 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h"
19 #include "third_party/WebKit/WebKit/chromium/public/WebCanvas.h" 18 #include "third_party/WebKit/WebKit/chromium/public/WebCanvas.h"
20 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" 19 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h"
21 #include "third_party/WebKit/WebKit/chromium/public/WebSize.h" 20 #include "third_party/WebKit/WebKit/chromium/public/WebSize.h"
22 21
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 } else { 97 } else {
99 NOTREACHED() << "Browser failed to allocate shared memory"; 98 NOTREACHED() << "Browser failed to allocate shared memory";
100 } 99 }
101 } else { 100 } else {
102 NOTREACHED() << "Browser allocation request message failed"; 101 NOTREACHED() << "Browser allocation request message failed";
103 } 102 }
104 103
105 Send(new ViewHostMsg_DidPrintPage(routing_id(), page_params)); 104 Send(new ViewHostMsg_DidPrintPage(routing_id(), page_params));
106 } 105 }
107 106
OLDNEW
« no previous file with comments | « chrome/plugin/webplugin_proxy.cc ('k') | chrome/renderer/webplugin_delegate_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698