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

Side by Side Diff: ppapi/proxy/pdf_resource.cc

Issue 18252003: Replace third_party/icu/public with third_party/icu/source (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: roll ICU to 211851 Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "ppapi/proxy/pdf_resource.h" 5 #include "ppapi/proxy/pdf_resource.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
12 #include "ppapi/c/pp_errors.h" 12 #include "ppapi/c/pp_errors.h"
13 #include "ppapi/c/private/ppb_pdf.h" 13 #include "ppapi/c/private/ppb_pdf.h"
14 #include "ppapi/proxy/ppapi_messages.h" 14 #include "ppapi/proxy/ppapi_messages.h"
15 #include "ppapi/proxy/ppb_image_data_proxy.h" 15 #include "ppapi/proxy/ppb_image_data_proxy.h"
16 #include "ppapi/shared_impl/var.h" 16 #include "ppapi/shared_impl/var.h"
17 #include "third_party/icu/public/i18n/unicode/usearch.h" 17 #include "third_party/icu/source/i18n/unicode/usearch.h"
18 18
19 namespace ppapi { 19 namespace ppapi {
20 namespace proxy { 20 namespace proxy {
21 21
22 namespace { 22 namespace {
23 23
24 // TODO(raymes): This is just copied from render_thread_impl.cc. We should have 24 // TODO(raymes): This is just copied from render_thread_impl.cc. We should have
25 // generic code somewhere to get the locale in the plugin. 25 // generic code somewhere to get the locale in the plugin.
26 std::string GetLocale() { 26 std::string GetLocale() {
27 // The browser process should have passed the locale to the plugin via the 27 // The browser process should have passed the locale to the plugin via the
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 return 0; 183 return 0;
184 return (new SimpleImageData(resource, image_desc, handle))->GetReference(); 184 return (new SimpleImageData(resource, image_desc, handle))->GetReference();
185 } 185 }
186 186
187 PP_Resource PDFResource::GetResourceImage(PP_ResourceImage image_id) { 187 PP_Resource PDFResource::GetResourceImage(PP_ResourceImage image_id) {
188 return GetResourceImageForScale(image_id, 1.0f); 188 return GetResourceImageForScale(image_id, 1.0f);
189 } 189 }
190 190
191 } // namespace proxy 191 } // namespace proxy
192 } // namespace ppapi 192 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/browser_font_resource_trusted.cc ('k') | ppapi/shared_impl/private/ppb_char_set_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698