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

Side by Side Diff: chrome/renderer/pepper/pepper_flash_renderer_host.cc

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 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
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/printing/mock_printer.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) 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/renderer/pepper/pepper_flash_renderer_host.h" 5 #include "chrome/renderer/pepper/pepper_flash_renderer_host.h"
6 6
7 #include <map> 7 #include <map>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 14 matching lines...) Expand all
25 #include "ppapi/proxy/serialized_structs.h" 25 #include "ppapi/proxy/serialized_structs.h"
26 #include "ppapi/thunk/enter.h" 26 #include "ppapi/thunk/enter.h"
27 #include "ppapi/thunk/ppb_image_data_api.h" 27 #include "ppapi/thunk/ppb_image_data_api.h"
28 #include "skia/ext/platform_canvas.h" 28 #include "skia/ext/platform_canvas.h"
29 #include "third_party/skia/include/core/SkCanvas.h" 29 #include "third_party/skia/include/core/SkCanvas.h"
30 #include "third_party/skia/include/core/SkMatrix.h" 30 #include "third_party/skia/include/core/SkMatrix.h"
31 #include "third_party/skia/include/core/SkPaint.h" 31 #include "third_party/skia/include/core/SkPaint.h"
32 #include "third_party/skia/include/core/SkPoint.h" 32 #include "third_party/skia/include/core/SkPoint.h"
33 #include "third_party/skia/include/core/SkTemplates.h" 33 #include "third_party/skia/include/core/SkTemplates.h"
34 #include "third_party/skia/include/core/SkTypeface.h" 34 #include "third_party/skia/include/core/SkTypeface.h"
35 #include "ui/gfx/rect.h" 35 #include "ui/gfx/geometry/rect.h"
36 #include "url/gurl.h" 36 #include "url/gurl.h"
37 37
38 using ppapi::thunk::EnterResourceNoLock; 38 using ppapi::thunk::EnterResourceNoLock;
39 using ppapi::thunk::PPB_ImageData_API; 39 using ppapi::thunk::PPB_ImageData_API;
40 40
41 namespace { 41 namespace {
42 42
43 // Some non-simple HTTP request headers that Flash may set. 43 // Some non-simple HTTP request headers that Flash may set.
44 // (Please see http://www.w3.org/TR/cors/#simple-header for the definition of 44 // (Please see http://www.w3.org/TR/cors/#simple-header for the definition of
45 // simple headers.) 45 // simple headers.)
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 rect.point.x, rect.point.y, rect.size.width, rect.size.height))) 373 rect.point.x, rect.point.y, rect.size.width, rect.size.height)))
374 return PP_OK; 374 return PP_OK;
375 return PP_ERROR_FAILED; 375 return PP_ERROR_FAILED;
376 } 376 }
377 377
378 int32_t PepperFlashRendererHost::OnInvokePrinting( 378 int32_t PepperFlashRendererHost::OnInvokePrinting(
379 ppapi::host::HostMessageContext* host_context) { 379 ppapi::host::HostMessageContext* host_context) {
380 pdf::PPB_PDF_Impl::InvokePrintingForInstance(pp_instance()); 380 pdf::PPB_PDF_Impl::InvokePrintingForInstance(pp_instance());
381 return PP_OK; 381 return PP_OK;
382 } 382 }
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/printing/mock_printer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698