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

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

Issue 711873002: Fix some minor typos related to the word "accelerate" and its derivative. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « ui/base/models/menu_model.h ('k') | no next file » | 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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 280
281 // Adds/removes a listener. The FocusChangeListener is notified every time 281 // Adds/removes a listener. The FocusChangeListener is notified every time
282 // the focused view is about to change. 282 // the focused view is about to change.
283 void AddFocusChangeListener(FocusChangeListener* listener); 283 void AddFocusChangeListener(FocusChangeListener* listener);
284 void RemoveFocusChangeListener(FocusChangeListener* listener); 284 void RemoveFocusChangeListener(FocusChangeListener* listener);
285 285
286 // Returns the AcceleratorTarget that should be activated for the specified 286 // Returns the AcceleratorTarget that should be activated for the specified
287 // keyboard accelerator, or NULL if no view is registered for that keyboard 287 // keyboard accelerator, or NULL if no view is registered for that keyboard
288 // accelerator. 288 // accelerator.
289 ui::AcceleratorTarget* GetCurrentTargetForAccelerator( 289 ui::AcceleratorTarget* GetCurrentTargetForAccelerator(
290 const ui::Accelerator& accelertor) const; 290 const ui::Accelerator& accelerator) const;
291 291
292 // Whether the given |accelerator| has a priority handler associated with it. 292 // Whether the given |accelerator| has a priority handler associated with it.
293 bool HasPriorityHandler(const ui::Accelerator& accelerator) const; 293 bool HasPriorityHandler(const ui::Accelerator& accelerator) const;
294 294
295 // Clears the native view having the focus. 295 // Clears the native view having the focus.
296 virtual void ClearNativeFocus(); 296 virtual void ClearNativeFocus();
297 297
298 // Focuses the next keyboard-accessible pane, taken from the list of 298 // Focuses the next keyboard-accessible pane, taken from the list of
299 // views returned by WidgetDelegate::GetAccessiblePanes(). If there are 299 // views returned by WidgetDelegate::GetAccessiblePanes(). If there are
300 // no panes, the widget's root view is treated as a single pane. 300 // no panes, the widget's root view is treated as a single pane.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 375
376 // See description above getter. 376 // See description above getter.
377 bool is_changing_focus_; 377 bool is_changing_focus_;
378 378
379 DISALLOW_COPY_AND_ASSIGN(FocusManager); 379 DISALLOW_COPY_AND_ASSIGN(FocusManager);
380 }; 380 };
381 381
382 } // namespace views 382 } // namespace views
383 383
384 #endif // UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ 384 #endif // UI_VIEWS_FOCUS_FOCUS_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/base/models/menu_model.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698