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 #ifndef CHROME_RENDERER_PEPPER_PEPPER_FLASH_MENU_HOST_H_ | 5 #ifndef CHROME_RENDERER_PEPPER_PEPPER_FLASH_MENU_HOST_H_ |
6 #define CHROME_RENDERER_PEPPER_PEPPER_FLASH_MENU_HOST_H_ | 6 #define CHROME_RENDERER_PEPPER_PEPPER_FLASH_MENU_HOST_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" |
11 #include "content/public/renderer/context_menu_client.h" | 14 #include "content/public/renderer/context_menu_client.h" |
12 #include "ppapi/c/pp_point.h" | 15 #include "ppapi/c/pp_point.h" |
13 #include "ppapi/host/host_message_context.h" | 16 #include "ppapi/host/host_message_context.h" |
14 #include "ppapi/host/resource_host.h" | 17 #include "ppapi/host/resource_host.h" |
15 | 18 |
16 namespace content { | 19 namespace content { |
17 class RendererPpapiHost; | 20 class RendererPpapiHost; |
18 struct MenuItem; | 21 struct MenuItem; |
19 } | 22 } |
20 | 23 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 std::vector<int32_t> menu_id_map_; | 63 std::vector<int32_t> menu_id_map_; |
61 | 64 |
62 // Used to send a single context menu "completion" upon menu close. | 65 // Used to send a single context menu "completion" upon menu close. |
63 bool has_saved_context_menu_action_; | 66 bool has_saved_context_menu_action_; |
64 unsigned saved_context_menu_action_; | 67 unsigned saved_context_menu_action_; |
65 | 68 |
66 DISALLOW_COPY_AND_ASSIGN(PepperFlashMenuHost); | 69 DISALLOW_COPY_AND_ASSIGN(PepperFlashMenuHost); |
67 }; | 70 }; |
68 | 71 |
69 #endif // CHROME_RENDERER_PEPPER_PEPPER_FLASH_MENU_HOST_H_ | 72 #endif // CHROME_RENDERER_PEPPER_PEPPER_FLASH_MENU_HOST_H_ |
OLD | NEW |