OLD | NEW |
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 <stdio.h> | 5 #include <stdio.h> |
6 #include <string.h> | 6 #include <string.h> |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/at_exit.h" | 11 #include "base/at_exit.h" |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/strings/stringize_macros.h" | 15 #include "base/strings/stringize_macros.h" |
16 #include "net/socket/ssl_server_socket.h" | 16 #include "net/socket/ssl_server_socket.h" |
17 #include "remoting/base/plugin_thread_task_runner.h" | 17 #include "remoting/base/plugin_thread_task_runner.h" |
18 #include "remoting/base/resources.h" | 18 #include "remoting/base/resources.h" |
19 #include "remoting/base/string_resources.h" | 19 #include "remoting/base/string_resources.h" |
20 #include "remoting/host/plugin/host_log_handler.h" | 20 #include "remoting/host/plugin/host_log_handler.h" |
21 #include "remoting/host/plugin/host_plugin_utils.h" | 21 #include "remoting/host/plugin/host_plugin_utils.h" |
22 #include "remoting/host/plugin/host_script_object.h" | 22 #include "remoting/host/plugin/host_script_object.h" |
23 #if defined(OS_WIN) | 23 #if defined(OS_WIN) |
24 #include "ui/gfx/dpi_win.h" | 24 #include "ui/gfx/win/dpi.h" |
25 #endif | 25 #endif |
26 #include "third_party/npapi/bindings/npapi.h" | 26 #include "third_party/npapi/bindings/npapi.h" |
27 #include "third_party/npapi/bindings/npfunctions.h" | 27 #include "third_party/npapi/bindings/npfunctions.h" |
28 #include "third_party/npapi/bindings/npruntime.h" | 28 #include "third_party/npapi/bindings/npruntime.h" |
29 #include "ui/base/l10n/l10n_util.h" | 29 #include "ui/base/l10n/l10n_util.h" |
30 | 30 |
31 // Symbol export is handled with a separate def file on Windows. | 31 // Symbol export is handled with a separate def file on Windows. |
32 #if defined (__GNUC__) && __GNUC__ >= 4 | 32 #if defined (__GNUC__) && __GNUC__ >= 4 |
33 #define EXPORT __attribute__((visibility("default"))) | 33 #define EXPORT __attribute__((visibility("default"))) |
34 #else | 34 #else |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 } | 565 } |
566 | 566 |
567 EXPORT NPError API_CALL NP_GetValue(void* npp, | 567 EXPORT NPError API_CALL NP_GetValue(void* npp, |
568 NPPVariable variable, | 568 NPPVariable variable, |
569 void* value) { | 569 void* value) { |
570 return GetValue((NPP)npp, variable, value); | 570 return GetValue((NPP)npp, variable, value); |
571 } | 571 } |
572 #endif | 572 #endif |
573 | 573 |
574 } // extern "C" | 574 } // extern "C" |
OLD | NEW |