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

Side by Side Diff: webkit/glue/plugins/webplugin_delegate_impl_win.cc

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month 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 | « webkit/glue/plugins/webplugin_delegate_impl_mac.mm ('k') | webkit/glue/resource_fetcher.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "webkit/glue/plugins/webplugin_delegate_impl.h" 5 #include "webkit/glue/plugins/webplugin_delegate_impl.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/iat_patch.h" 11 #include "base/iat_patch.h"
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/registry.h" 14 #include "base/registry.h"
15 #include "base/scoped_ptr.h" 15 #include "base/scoped_ptr.h"
16 #include "base/stats_counters.h" 16 #include "base/stats_counters.h"
17 #include "base/string_util.h" 17 #include "base/string_util.h"
18 #include "base/win_util.h" 18 #include "base/win_util.h"
19 #include "skia/ext/platform_canvas.h" 19 #include "skia/ext/platform_canvas.h"
20 #include "webkit/api/public/WebInputEvent.h" 20 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h"
21 #include "webkit/default_plugin/plugin_impl.h" 21 #include "webkit/default_plugin/plugin_impl.h"
22 #include "webkit/glue/glue_util.h" 22 #include "webkit/glue/glue_util.h"
23 #include "webkit/glue/plugins/plugin_constants_win.h" 23 #include "webkit/glue/plugins/plugin_constants_win.h"
24 #include "webkit/glue/plugins/plugin_instance.h" 24 #include "webkit/glue/plugins/plugin_instance.h"
25 #include "webkit/glue/plugins/plugin_lib.h" 25 #include "webkit/glue/plugins/plugin_lib.h"
26 #include "webkit/glue/plugins/plugin_list.h" 26 #include "webkit/glue/plugins/plugin_list.h"
27 #include "webkit/glue/plugins/plugin_stream_url.h" 27 #include "webkit/glue/plugins/plugin_stream_url.h"
28 #include "webkit/glue/webkit_glue.h" 28 #include "webkit/glue/webkit_glue.h"
29 #include "webkit/glue/webplugin.h" 29 #include "webkit/glue/webplugin.h"
30 30
(...skipping 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after
1271 GetKeyPath(key).find(L"Microsoft\\MediaPlayer\\ShimInclusionList") != 1271 GetKeyPath(key).find(L"Microsoft\\MediaPlayer\\ShimInclusionList") !=
1272 std::wstring::npos) { 1272 std::wstring::npos) {
1273 static const wchar_t kChromeExeName[] = L"chrome.exe"; 1273 static const wchar_t kChromeExeName[] = L"chrome.exe";
1274 wcsncpy_s(name, orig_size, kChromeExeName, arraysize(kChromeExeName)); 1274 wcsncpy_s(name, orig_size, kChromeExeName, arraysize(kChromeExeName));
1275 *name_size = 1275 *name_size =
1276 std::min(orig_size, static_cast<DWORD>(arraysize(kChromeExeName))); 1276 std::min(orig_size, static_cast<DWORD>(arraysize(kChromeExeName)));
1277 } 1277 }
1278 1278
1279 return rv; 1279 return rv;
1280 } 1280 }
OLDNEW
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_impl_mac.mm ('k') | webkit/glue/resource_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698