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

Unified Diff: ui/aura/window.cc

Issue 1411833006: Refactoring to make adding ink drop animations easier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor ink drop animations (nits in ui/views/ Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_button.cc ('k') | ui/events/event_processor_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index c97941d1fd5e22665576b95301209b6264ef0a1e..2634eba17ef1182b2f87f76d3ac053273926a92f 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -93,7 +93,7 @@ Window::Window(WindowDelegate* delegate)
// problems for code that adds an observer as part of an observer
// notification (such as the workspace code).
observers_(base::ObserverList<WindowObserver>::NOTIFY_EXISTING_ONLY) {
- set_target_handler(delegate_);
+ SetTargetHandler(delegate_);
}
Window::~Window() {
@@ -109,7 +109,7 @@ Window::~Window() {
// While we are being destroyed, our target handler may also be in the
// process of destruction or already destroyed, so do not forward any
// input events at the ui::EP_TARGET phase.
- set_target_handler(nullptr);
+ SetTargetHandler(nullptr);
// TODO(beng): See comment in window_event_dispatcher.h. This shouldn't be
// necessary but unfortunately is right now due to ordering
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_button.cc ('k') | ui/events/event_processor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698