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 #ifdef _MSC_VER | 5 #ifdef _MSC_VER |
6 // Do not warn about use of std::copy with raw pointers. | 6 // Do not warn about use of std::copy with raw pointers. |
7 #pragma warning(disable : 4996) | 7 #pragma warning(disable : 4996) |
8 #endif | 8 #endif |
9 | 9 |
10 #include "native_client/src/trusted/plugin/plugin.h" | 10 #include "native_client/src/trusted/plugin/plugin.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 #include "ppapi/cpp/dev/find_dev.h" | 60 #include "ppapi/cpp/dev/find_dev.h" |
61 #include "ppapi/cpp/dev/printing_dev.h" | 61 #include "ppapi/cpp/dev/printing_dev.h" |
62 #include "ppapi/cpp/dev/scrollbar_dev.h" | 62 #include "ppapi/cpp/dev/scrollbar_dev.h" |
63 #include "ppapi/cpp/dev/selection_dev.h" | 63 #include "ppapi/cpp/dev/selection_dev.h" |
64 #include "ppapi/cpp/dev/text_input_dev.h" | 64 #include "ppapi/cpp/dev/text_input_dev.h" |
65 #include "ppapi/cpp/dev/url_util_dev.h" | 65 #include "ppapi/cpp/dev/url_util_dev.h" |
66 #include "ppapi/cpp/dev/widget_client_dev.h" | 66 #include "ppapi/cpp/dev/widget_client_dev.h" |
67 #include "ppapi/cpp/dev/zoom_dev.h" | 67 #include "ppapi/cpp/dev/zoom_dev.h" |
68 #include "ppapi/cpp/image_data.h" | 68 #include "ppapi/cpp/image_data.h" |
69 #include "ppapi/cpp/input_event.h" | 69 #include "ppapi/cpp/input_event.h" |
| 70 #include "ppapi/cpp/instance.h" |
70 #include "ppapi/cpp/module.h" | 71 #include "ppapi/cpp/module.h" |
71 #include "ppapi/cpp/mouse_lock.h" | 72 #include "ppapi/cpp/mouse_lock.h" |
72 #include "ppapi/cpp/rect.h" | 73 #include "ppapi/cpp/rect.h" |
73 | 74 |
74 using ppapi_proxy::BrowserPpp; | 75 using ppapi_proxy::BrowserPpp; |
75 | 76 |
76 namespace plugin { | 77 namespace plugin { |
77 | 78 |
78 namespace { | 79 namespace { |
79 | 80 |
(...skipping 1862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1942 static_cast<uint32_t>(text.size())); | 1943 static_cast<uint32_t>(text.size())); |
1943 const PPB_Console_Dev* console_interface = | 1944 const PPB_Console_Dev* console_interface = |
1944 static_cast<const PPB_Console_Dev*>( | 1945 static_cast<const PPB_Console_Dev*>( |
1945 module->GetBrowserInterface(PPB_CONSOLE_DEV_INTERFACE)); | 1946 module->GetBrowserInterface(PPB_CONSOLE_DEV_INTERFACE)); |
1946 console_interface->LogWithSource(pp_instance(), PP_LOGLEVEL_LOG, prefix, str); | 1947 console_interface->LogWithSource(pp_instance(), PP_LOGLEVEL_LOG, prefix, str); |
1947 var_interface->Release(prefix); | 1948 var_interface->Release(prefix); |
1948 var_interface->Release(str); | 1949 var_interface->Release(str); |
1949 } | 1950 } |
1950 | 1951 |
1951 } // namespace plugin | 1952 } // namespace plugin |
OLD | NEW |