| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #ifndef SkOSMenu_DEFINED | 10 #ifndef SkOSMenu_DEFINED |
| 11 #define SkOSMenu_DEFINED | 11 #define SkOSMenu_DEFINED |
| 12 | 12 |
| 13 #include "../private/SkTDArray.h" |
| 13 #include "SkEvent.h" | 14 #include "SkEvent.h" |
| 14 #include "SkTDArray.h" | |
| 15 | 15 |
| 16 class SkOSMenu { | 16 class SkOSMenu { |
| 17 public: | 17 public: |
| 18 explicit SkOSMenu(const char title[] = ""); | 18 explicit SkOSMenu(const char title[] = ""); |
| 19 ~SkOSMenu(); | 19 ~SkOSMenu(); |
| 20 | 20 |
| 21 /** | 21 /** |
| 22 * Each of these (except action) has an associated value, which is stored in | 22 * Each of these (except action) has an associated value, which is stored in |
| 23 * the event payload for the item. | 23 * the event payload for the item. |
| 24 * Each type has a specific type for its value... | 24 * Each type has a specific type for its value... |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 private: | 173 private: |
| 174 SkString fTitle; | 174 SkString fTitle; |
| 175 SkTDArray<Item*> fItems; | 175 SkTDArray<Item*> fItems; |
| 176 | 176 |
| 177 // illegal | 177 // illegal |
| 178 SkOSMenu(const SkOSMenu&); | 178 SkOSMenu(const SkOSMenu&); |
| 179 SkOSMenu& operator=(const SkOSMenu&); | 179 SkOSMenu& operator=(const SkOSMenu&); |
| 180 }; | 180 }; |
| 181 | 181 |
| 182 #endif | 182 #endif |
| OLD | NEW |