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

Unified Diff: ash/wm/resize_handle_window_targeter.cc

Issue 1119423003: Refactors away method implementations in ui::EventTargeter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactors away method implementations in ui::EventTargeter (moves tests to aura) Created 5 years, 7 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/aura/window_targeter.h » ('j') | ui/aura/window_targeter.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/resize_handle_window_targeter.cc
diff --git a/ash/wm/resize_handle_window_targeter.cc b/ash/wm/resize_handle_window_targeter.cc
index 28bd0e2ebe5df68821c882592eee566a4b20a019..cea64f37295c18bf55a764d3b3f3de8a940eac78 100644
--- a/ash/wm/resize_handle_window_targeter.cc
+++ b/ash/wm/resize_handle_window_targeter.cc
@@ -88,7 +88,8 @@ bool ResizeHandleWindowTargeter::SubtreeShouldBeExploredForEvent(
// receive the event.
ui::EventTarget* parent = target->GetParentTarget();
if (parent) {
- ui::EventTargeter* targeter = parent->GetEventTargeter();
+ WindowTargeter* targeter =
+ static_cast<WindowTargeter*>(parent->GetEventTargeter());
if (targeter)
return targeter->SubtreeShouldBeExploredForEvent(target, event);
}
« no previous file with comments | « no previous file | ui/aura/window_targeter.h » ('j') | ui/aura/window_targeter.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698