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

Unified Diff: ui/keyboard/keyboard_controller.h

Issue 527153002: Fix the issue that GetFrameWindow() may change between AddObserver and RemoveObserver in KeyboardCo… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | ui/keyboard/keyboard_controller.cc » ('j') | ui/keyboard/keyboard_controller.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_controller.h
diff --git a/ui/keyboard/keyboard_controller.h b/ui/keyboard/keyboard_controller.h
index 492a0ca00650981f9f7e3600cec9c34008cdbe78..49dfc6592dc97ee5f59b30e150e499c0991f2566 100644
--- a/ui/keyboard/keyboard_controller.h
+++ b/ui/keyboard/keyboard_controller.h
@@ -5,6 +5,8 @@
#ifndef UI_KEYBOARD_KEYBOARD_CONTROLLER_H_
#define UI_KEYBOARD_KEYBOARD_CONTROLLER_H_
+#include <set>
+
#include "base/basictypes.h"
#include "base/event_types.h"
#include "base/memory/scoped_ptr.h"
@@ -153,6 +155,8 @@ class KEYBOARD_EXPORT KeyboardController : public ui::InputMethodObserver,
scoped_ptr<WindowBoundsChangeObserver> window_bounds_observer_;
+ std::set<aura::Window*> observed_windows_;
+
ui::InputMethod* input_method_;
bool keyboard_visible_;
bool show_on_resize_;
« no previous file with comments | « no previous file | ui/keyboard/keyboard_controller.cc » ('j') | ui/keyboard/keyboard_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698