OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // TODO(viettrungluu): See the comment in corresponding .h file. | |
6 | |
7 #include "ppapi/cpp/private/flash_menu.h" | 5 #include "ppapi/cpp/private/flash_menu.h" |
8 | 6 |
9 #include "ppapi/c/pp_errors.h" | 7 #include "ppapi/c/pp_errors.h" |
10 #include "ppapi/cpp/completion_callback.h" | 8 #include "ppapi/cpp/completion_callback.h" |
11 #include "ppapi/cpp/instance.h" | 9 #include "ppapi/cpp/instance.h" |
12 #include "ppapi/cpp/module.h" | 10 #include "ppapi/cpp/module.h" |
13 #include "ppapi/cpp/module_impl.h" | 11 #include "ppapi/cpp/module_impl.h" |
14 #include "ppapi/cpp/point.h" | 12 #include "ppapi/cpp/point.h" |
15 | 13 |
16 namespace pp { | 14 namespace pp { |
(...skipping 22 matching lines...) Expand all Loading... |
39 return cc.MayForce(PP_ERROR_NOINTERFACE); | 37 return cc.MayForce(PP_ERROR_NOINTERFACE); |
40 return get_interface<PPB_Flash_Menu>()->Show( | 38 return get_interface<PPB_Flash_Menu>()->Show( |
41 pp_resource(), | 39 pp_resource(), |
42 &location.pp_point(), | 40 &location.pp_point(), |
43 selected_id, | 41 selected_id, |
44 cc.pp_completion_callback()); | 42 cc.pp_completion_callback()); |
45 } | 43 } |
46 | 44 |
47 } // namespace flash | 45 } // namespace flash |
48 } // namespace pp | 46 } // namespace pp |
OLD | NEW |