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 #define STRSAFE_NO_DEPRECATE | 5 #define STRSAFE_NO_DEPRECATE |
6 #include "base/string_util.h" | 6 |
| 7 #include "webkit/plugins/npapi/test/plugin_windowless_test.h" |
| 8 |
7 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
8 #include "webkit/plugins/npapi/test/plugin_windowless_test.h" | 10 #include "base/strings/string_util.h" |
9 #include "webkit/plugins/npapi/test/plugin_client.h" | 11 #include "webkit/plugins/npapi/test/plugin_client.h" |
10 | 12 |
11 #if defined(TOOLKIT_GTK) | 13 #if defined(TOOLKIT_GTK) |
12 #include <gdk/gdkx.h> | 14 #include <gdk/gdkx.h> |
13 #endif | 15 #endif |
14 | 16 |
15 // NPEvent does not exist on the Mac. | 17 // NPEvent does not exist on the Mac. |
16 #if defined(OS_MACOSX) | 18 #if defined(OS_MACOSX) |
17 typedef NPCocoaEvent WindowlessPluginTestEvent; | 19 typedef NPCocoaEvent WindowlessPluginTestEvent; |
18 #else | 20 #else |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 error_string.append(StringForPoint(flipped_window_x, flipped_window_y)); | 312 error_string.append(StringForPoint(flipped_window_x, flipped_window_y)); |
311 SetError(error_string); | 313 SetError(error_string); |
312 } | 314 } |
313 #else | 315 #else |
314 SetError("Unimplemented"); | 316 SetError("Unimplemented"); |
315 #endif | 317 #endif |
316 SignalTestCompleted(); | 318 SignalTestCompleted(); |
317 } | 319 } |
318 | 320 |
319 } // namespace NPAPIClient | 321 } // namespace NPAPIClient |
OLD | NEW |