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_fullscreen_resource.h" | 5 #include "ppapi/proxy/flash_fullscreen_resource.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "ppapi/c/pp_bool.h" | 9 #include "ppapi/c/pp_bool.h" |
8 #include "ppapi/proxy/ppapi_messages.h" | 10 #include "ppapi/proxy/ppapi_messages.h" |
9 | 11 |
10 namespace ppapi { | 12 namespace ppapi { |
11 namespace proxy { | 13 namespace proxy { |
12 | 14 |
13 FlashFullscreenResource::FlashFullscreenResource(Connection connection, | 15 FlashFullscreenResource::FlashFullscreenResource(Connection connection, |
14 PP_Instance instance) | 16 PP_Instance instance) |
15 : PluginResource(connection, instance), | 17 : PluginResource(connection, instance), |
16 is_fullscreen_(PP_FALSE) { | 18 is_fullscreen_(PP_FALSE) { |
(...skipping 20 matching lines...) Expand all Loading... |
37 return PP_FromBool(result == PP_OK); | 39 return PP_FromBool(result == PP_OK); |
38 } | 40 } |
39 | 41 |
40 void FlashFullscreenResource::SetLocalIsFullscreen(PP_Instance instance, | 42 void FlashFullscreenResource::SetLocalIsFullscreen(PP_Instance instance, |
41 PP_Bool is_fullscreen) { | 43 PP_Bool is_fullscreen) { |
42 is_fullscreen_ = is_fullscreen; | 44 is_fullscreen_ = is_fullscreen; |
43 } | 45 } |
44 | 46 |
45 } // namespace proxy | 47 } // namespace proxy |
46 } // namespace ppapi | 48 } // namespace ppapi |
OLD | NEW |