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

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

Issue 9111042: Fix RTL and complex script title in print preview header/footer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
OLDNEW
1 // Copyright (c) 2011 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/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 "base/logging.h" 9 #include "base/logging.h"
10 #include "base/mac/scoped_nsautorelease_pool.h" 10 #include "base/mac/scoped_nsautorelease_pool.h"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 print_preview_context_.total_page_count(), 199 print_preview_context_.total_page_count(),
200 scale_factor, page_layout_in_points, 200 scale_factor, page_layout_in_points,
201 *header_footer_info_); 201 *header_footer_info_);
202 } 202 }
203 #endif // defined(USE_SKIA) 203 #endif // defined(USE_SKIA)
204 } 204 }
205 205
206 // Done printing. Close the device context to retrieve the compiled metafile. 206 // Done printing. Close the device context to retrieve the compiled metafile.
207 metafile->FinishPage(); 207 metafile->FinishPage();
208 } 208 }
209
210 #if defined(USE_SKIA)
211 // static
212 bool PrintWebViewHelper::ConvertTextToGlyphs(SkTypeface* typeface,
213 const string16& text,
214 std::vector<uint16_t>* glyphs) {
215 // TODO(arthurhsu): provide fix for Linux.
216 return false;
217 }
218 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698