| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_BROWSER_CHROMEOS_ACCESSIBILITY_SELECT_TO_SPEAK_EVENT_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_SELECT_TO_SPEAK_EVENT_HANDLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_SELECT_TO_SPEAK_EVENT_HANDLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_SELECT_TO_SPEAK_EVENT_HANDLER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 State state_ = INACTIVE; | 56 State state_ = INACTIVE; |
| 57 | 57 |
| 58 // The set of keys that are currently down. Updated whenever a key is | 58 // The set of keys that are currently down. Updated whenever a key is |
| 59 // pressed or released. | 59 // pressed or released. |
| 60 std::set<ui::KeyboardCode> keys_currently_down_; | 60 std::set<ui::KeyboardCode> keys_currently_down_; |
| 61 // The set of keys that have been pressed together. Updated whenever a key | 61 // The set of keys that have been pressed together. Updated whenever a key |
| 62 // is pressed, and only cleared when all keys are released. | 62 // is pressed, and only cleared when all keys are released. |
| 63 std::set<ui::KeyboardCode> keys_pressed_together_; | 63 std::set<ui::KeyboardCode> keys_pressed_together_; |
| 64 | 64 |
| 65 int last_view_storage_id_ = 0; | |
| 66 | |
| 67 DISALLOW_COPY_AND_ASSIGN(SelectToSpeakEventHandler); | 65 DISALLOW_COPY_AND_ASSIGN(SelectToSpeakEventHandler); |
| 68 }; | 66 }; |
| 69 | 67 |
| 70 } // namespace chromeos | 68 } // namespace chromeos |
| 71 | 69 |
| 72 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_SELECT_TO_SPEAK_EVENT_HANDLER_H
_ | 70 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_SELECT_TO_SPEAK_EVENT_HANDLER_H
_ |
| OLD | NEW |