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 "ppapi/proxy/flash_resource.h" | 5 #include "ppapi/proxy/flash_resource.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 | 8 |
9 #include "base/containers/mru_cache.h" | 9 #include "base/containers/mru_cache.h" |
10 #include "base/debug/crash_logging.h" | 10 #include "base/debug/crash_logging.h" |
11 #include "base/lazy_instance.h" | 11 #include "base/lazy_instance.h" |
12 #include "base/time.h" | 12 #include "base/time/time.h" |
13 #include "ppapi/c/pp_errors.h" | 13 #include "ppapi/c/pp_errors.h" |
14 #include "ppapi/c/private/ppb_flash.h" | 14 #include "ppapi/c/private/ppb_flash.h" |
15 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" | 15 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" |
16 #include "ppapi/proxy/plugin_dispatcher.h" | 16 #include "ppapi/proxy/plugin_dispatcher.h" |
17 #include "ppapi/proxy/plugin_globals.h" | 17 #include "ppapi/proxy/plugin_globals.h" |
18 #include "ppapi/proxy/ppapi_messages.h" | 18 #include "ppapi/proxy/ppapi_messages.h" |
19 #include "ppapi/proxy/serialized_structs.h" | 19 #include "ppapi/proxy/serialized_structs.h" |
20 #include "ppapi/shared_impl/ppapi_preferences.h" | 20 #include "ppapi/shared_impl/ppapi_preferences.h" |
21 #include "ppapi/shared_impl/scoped_pp_var.h" | 21 #include "ppapi/shared_impl/scoped_pp_var.h" |
22 #include "ppapi/shared_impl/time_conversion.h" | 22 #include "ppapi/shared_impl/time_conversion.h" |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 PpapiHostMsg_Flash_IsRectTopmost(*rect)); | 247 PpapiHostMsg_Flash_IsRectTopmost(*rect)); |
248 return PP_FromBool(result == PP_OK); | 248 return PP_FromBool(result == PP_OK); |
249 } | 249 } |
250 | 250 |
251 void FlashResource::InvokePrinting(PP_Instance instance) { | 251 void FlashResource::InvokePrinting(PP_Instance instance) { |
252 Post(RENDERER, PpapiHostMsg_Flash_InvokePrinting()); | 252 Post(RENDERER, PpapiHostMsg_Flash_InvokePrinting()); |
253 } | 253 } |
254 | 254 |
255 } // namespace proxy | 255 } // namespace proxy |
256 } // namespace ppapi | 256 } // namespace ppapi |
OLD | NEW |