Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: chrome/browser/chromeos/accessibility/select_to_speak_event_handler.h

Issue 2813083003: Finish implementation of automation API hit testing for the desktop. (Closed)
Patch Set: Delete test that won't be relevant soon anyway Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/accessibility/select_to_speak_event_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 _
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/accessibility/select_to_speak_event_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698