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

Side by Side Diff: ui/views/focus/focus_manager.h

Issue 11150035: Remove obsolete code that handles menu key release for chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/views/focus/focus_manager.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 (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 UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ 5 #ifndef UI_VIEWS_FOCUS_FOCUS_MANAGER_H_
6 #define UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ 6 #define UI_VIEWS_FOCUS_FOCUS_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 10
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 // The storage id used in the ViewStorage to store/restore the view that last 293 // The storage id used in the ViewStorage to store/restore the view that last
294 // had focus. 294 // had focus.
295 int stored_focused_view_storage_id_; 295 int stored_focused_view_storage_id_;
296 296
297 // The reason why the focus most recently changed. 297 // The reason why the focus most recently changed.
298 FocusChangeReason focus_change_reason_; 298 FocusChangeReason focus_change_reason_;
299 299
300 // The list of registered FocusChange listeners. 300 // The list of registered FocusChange listeners.
301 ObserverList<FocusChangeListener, true> focus_change_listeners_; 301 ObserverList<FocusChangeListener, true> focus_change_listeners_;
302 302
303 #if defined(USE_X11)
304 // Indicates if we should handle the upcoming Alt key release event.
305 bool should_handle_menu_key_release_;
306 #endif
307
308 // See description above getter. 303 // See description above getter.
309 bool is_changing_focus_; 304 bool is_changing_focus_;
310 305
311 DISALLOW_COPY_AND_ASSIGN(FocusManager); 306 DISALLOW_COPY_AND_ASSIGN(FocusManager);
312 }; 307 };
313 308
314 } // namespace views 309 } // namespace views
315 310
316 #endif // UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ 311 #endif // UI_VIEWS_FOCUS_FOCUS_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/focus/focus_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698