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

Unified Diff: ui/aura/root_window.h

Issue 9958036: aura: Add RootWindowObserver::OnKeyboardMappingChanged(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/dispatcher_linux.cc ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index 1106e3bee041ee242b44353673a654e42b10cbca..4cb605dcedaa743c9b281bbdeb133789d99f3cdd 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -150,18 +150,22 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
// Invoked when |window| is being destroyed.
void OnWindowDestroying(Window* window);
- // Invokved when |window|'s bounds is changed. |contained_mouse| indicates if
+ // Invoked when |window|'s bounds have changed. |contained_mouse| indicates if
// the bounds before change contained the |last_moust_location()|.
void OnWindowBoundsChanged(Window* window, bool contained_mouse);
- // Invokved when |window|'s visibility is changed.
+ // Invoked when |window|'s visibility is changed.
void OnWindowVisibilityChanged(Window* window, bool is_visible);
- // Invokved when |window|'s tranfrom has changed. |contained_mouse|
+ // Invoked when |window|'s tranfrom has changed. |contained_mouse|
// indicates if the bounds before change contained the
// |last_moust_location()|.
void OnWindowTransformed(Window* window, bool contained_mouse);
+ // Invoked when the keyboard mapping (in X11 terms: the mapping between
+ // keycodes and keysyms) has changed.
+ void OnKeyboardMappingChanged();
+
// Add/remove observer. There is no need to remove the observer if
// the root window is being deleted. In particular, you SHOULD NOT remove
// in |WindowObserver::OnWindowDestroying| of the observer observing
« no previous file with comments | « ui/aura/dispatcher_linux.cc ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698