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

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

Issue 3037044: FBTF: Remove unneeded headers from base/ (part 3) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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) 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>
11 11
12 #if defined(OS_LINUX) 12 #if defined(OS_LINUX)
13 #include <unistd.h> 13 #include <unistd.h>
14 #endif 14 #endif
15 15
16 #include "base/file_path.h" 16 #include "base/file_path.h"
17 #include "base/file_util.h" 17 #include "base/file_util.h"
18 #include "base/keyboard_codes.h"
19 #if defined(OS_MACOSX) 18 #if defined(OS_MACOSX)
20 #include "base/mac_util.h" 19 #include "base/mac_util.h"
21 #endif 20 #endif
22 #include "base/md5.h" 21 #include "base/md5.h"
23 #include "base/message_loop.h" 22 #include "base/message_loop.h"
24 #include "base/path_service.h" 23 #include "base/path_service.h"
25 #include "base/process_util.h" 24 #include "base/process_util.h"
26 #if defined(OS_MACOSX) 25 #if defined(OS_MACOSX)
27 #include "base/scoped_cftyperef.h" 26 #include "base/scoped_cftyperef.h"
28 #endif 27 #endif
(...skipping 1727 matching lines...) Expand 10 before | Expand all | Expand 10 after
1756 CGRect bounds; 1755 CGRect bounds;
1757 bounds.origin.x = dest_rect.x(); 1756 bounds.origin.x = dest_rect.x();
1758 bounds.origin.y = canvas_height - dest_rect.y() - dest_rect.height(); 1757 bounds.origin.y = canvas_height - dest_rect.y() - dest_rect.height();
1759 bounds.size.width = dest_rect.width(); 1758 bounds.size.width = dest_rect.width();
1760 bounds.size.height = dest_rect.height(); 1759 bounds.size.height = dest_rect.height();
1761 1760
1762 CGContextDrawImage(canvas, bounds, image); 1761 CGContextDrawImage(canvas, bounds, image);
1763 CGContextRestoreGState(canvas); 1762 CGContextRestoreGState(canvas);
1764 } 1763 }
1765 #endif // defined(OS_MACOSX) 1764 #endif // defined(OS_MACOSX)
OLDNEW
« no previous file with comments | « chrome/renderer/pepper_scrollbar_widget.cc ('k') | chrome/test/automation/automation_proxy_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698