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

Side by Side Diff: chrome/renderer/webplugin_delegate_pepper.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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/renderer/webplugin_delegate_pepper.h ('k') | chrome/renderer/webplugin_delegate_proxy.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) 2010 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 #define PEPPER_APIS_ENABLED 1 5 #define PEPPER_APIS_ENABLED 1
6 6
7 #include "chrome/renderer/webplugin_delegate_pepper.h" 7 #include "chrome/renderer/webplugin_delegate_pepper.h"
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 25 matching lines...) Expand all
36 #include "chrome/common/chrome_paths.h" 36 #include "chrome/common/chrome_paths.h"
37 #include "chrome/common/render_messages.h" 37 #include "chrome/common/render_messages.h"
38 #include "chrome/common/render_messages_params.h" 38 #include "chrome/common/render_messages_params.h"
39 #include "chrome/renderer/pepper_widget.h" 39 #include "chrome/renderer/pepper_widget.h"
40 #include "chrome/renderer/render_thread.h" 40 #include "chrome/renderer/render_thread.h"
41 #include "chrome/renderer/render_view.h" 41 #include "chrome/renderer/render_view.h"
42 #if defined(OS_LINUX) 42 #if defined(OS_LINUX)
43 #include "chrome/renderer/renderer_sandbox_support_linux.h" 43 #include "chrome/renderer/renderer_sandbox_support_linux.h"
44 #endif 44 #endif
45 #include "chrome/renderer/webplugin_delegate_proxy.h" 45 #include "chrome/renderer/webplugin_delegate_proxy.h"
46 #include "gfx/blit.h" 46 #include "ui/gfx/blit.h"
47 #if defined(OS_WIN) 47 #if defined(OS_WIN)
48 #include "gfx/codec/jpeg_codec.h"
49 #include "gfx/gdi_util.h"
50 #include "printing/units.h" 48 #include "printing/units.h"
51 #include "skia/ext/vector_platform_device.h" 49 #include "skia/ext/vector_platform_device.h"
50 #include "ui/gfx/codec/jpeg_codec.h"
51 #include "ui/gfx/gdi_util.h"
52 #endif 52 #endif
53 #include "printing/native_metafile.h" 53 #include "printing/native_metafile.h"
54 #include "third_party/npapi/bindings/npapi_extensions.h" 54 #include "third_party/npapi/bindings/npapi_extensions.h"
55 #include "third_party/npapi/bindings/npapi_extensions_private.h" 55 #include "third_party/npapi/bindings/npapi_extensions_private.h"
56 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" 56 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h"
57 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 57 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
58 #include "webkit/glue/webcursor.h" 58 #include "webkit/glue/webcursor.h"
59 #include "webkit/glue/webkit_glue.h" 59 #include "webkit/glue/webkit_glue.h"
60 #include "webkit/plugins/npapi/plugin_constants_win.h" 60 #include "webkit/plugins/npapi/plugin_constants_win.h"
61 #include "webkit/plugins/npapi/plugin_instance.h" 61 #include "webkit/plugins/npapi/plugin_instance.h"
(...skipping 1698 matching lines...) Expand 10 before | Expand all | Expand 10 after
1760 CGRect bounds; 1760 CGRect bounds;
1761 bounds.origin.x = dest_rect.x(); 1761 bounds.origin.x = dest_rect.x();
1762 bounds.origin.y = canvas_height - dest_rect.y() - dest_rect.height(); 1762 bounds.origin.y = canvas_height - dest_rect.y() - dest_rect.height();
1763 bounds.size.width = dest_rect.width(); 1763 bounds.size.width = dest_rect.width();
1764 bounds.size.height = dest_rect.height(); 1764 bounds.size.height = dest_rect.height();
1765 1765
1766 CGContextDrawImage(canvas, bounds, image); 1766 CGContextDrawImage(canvas, bounds, image);
1767 CGContextRestoreGState(canvas); 1767 CGContextRestoreGState(canvas);
1768 } 1768 }
1769 #endif // defined(OS_MACOSX) 1769 #endif // defined(OS_MACOSX)
OLDNEW
« no previous file with comments | « chrome/renderer/webplugin_delegate_pepper.h ('k') | chrome/renderer/webplugin_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698