OLD | NEW |
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/default_plugin/plugin_main.h" | 5 #include "chrome/default_plugin/plugin_main.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "webkit/default_plugin/plugin_impl.h" | 9 #include "chrome/default_plugin/plugin_impl.h" |
10 #include "webkit/glue/webkit_glue.h" | 10 #include "webkit/glue/webkit_glue.h" |
11 | 11 |
12 namespace default_plugin { | 12 namespace default_plugin { |
13 | 13 |
14 #if defined(OS_WIN) | 14 #if defined(OS_WIN) |
15 // | 15 // |
16 // Forward declare the linker-provided pseudo variable for the | 16 // Forward declare the linker-provided pseudo variable for the |
17 // current module handle. | 17 // current module handle. |
18 // | 18 // |
19 extern "C" IMAGE_DOS_HEADER __ImageBase; | 19 extern "C" IMAGE_DOS_HEADER __ImageBase; |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 if (instance == NULL) | 327 if (instance == NULL) |
328 return 0; | 328 return 0; |
329 | 329 |
330 PluginInstallerImpl* plugin_impl = | 330 PluginInstallerImpl* plugin_impl = |
331 reinterpret_cast<PluginInstallerImpl*>(instance->pdata); | 331 reinterpret_cast<PluginInstallerImpl*>(instance->pdata); |
332 | 332 |
333 return plugin_impl->NPP_HandleEvent(event); | 333 return plugin_impl->NPP_HandleEvent(event); |
334 } | 334 } |
335 | 335 |
336 } // default_plugin | 336 } // default_plugin |
OLD | NEW |