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

Unified Diff: ui/views/view_targeter.h

Issue 796923002: Unfriend views::internal::RootView from views::ViewTargeter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view_targeter.h
diff --git a/ui/views/view_targeter.h b/ui/views/view_targeter.h
index 572f106797b463356dd1b523d27d9bdbefb3e692..db52e66083b451affe54e7777932bce7acd31e6f 100644
--- a/ui/views/view_targeter.h
+++ b/ui/views/view_targeter.h
@@ -42,10 +42,6 @@ class VIEWS_EXPORT ViewTargeter : public ui::EventTargeter {
const ui::LocatedEvent& event) const override;
private:
- // TODO(tdanderson): Un-friend RootView once RootView::DispatchGestureEvent()
- // has been removed.
- friend class internal::RootView;
-
View* FindTargetForKeyEvent(View* root, const ui::KeyEvent& key);
View* FindTargetForScrollEvent(View* root, const ui::ScrollEvent& scroll);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698