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/serialized_flash_menu.h" | 5 #include "ppapi/proxy/serialized_flash_menu.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "ipc/ipc_message.h" | 9 #include "ipc/ipc_message.h" |
8 #include "ppapi/c/private/ppb_flash_menu.h" | 10 #include "ppapi/c/private/ppb_flash_menu.h" |
9 #include "ppapi/proxy/ppapi_param_traits.h" | 11 #include "ppapi/proxy/ppapi_param_traits.h" |
10 | 12 |
11 namespace ppapi { | 13 namespace ppapi { |
12 namespace proxy { | 14 namespace proxy { |
13 | 15 |
14 namespace { | 16 namespace { |
15 // Maximum depth of submenus allowed (e.g., 1 indicates that submenus are | 17 // Maximum depth of submenus allowed (e.g., 1 indicates that submenus are |
16 // allowed, but not sub-submenus). | 18 // allowed, but not sub-submenus). |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 pp_menu_ = ReadMenu(0, m, iter); | 176 pp_menu_ = ReadMenu(0, m, iter); |
175 if (!pp_menu_) | 177 if (!pp_menu_) |
176 return false; | 178 return false; |
177 | 179 |
178 own_menu_ = true; | 180 own_menu_ = true; |
179 return true; | 181 return true; |
180 } | 182 } |
181 | 183 |
182 } // namespace proxy | 184 } // namespace proxy |
183 } // namespace ppapi | 185 } // namespace ppapi |
OLD | NEW |