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

Unified Diff: ui/base/events/event_target.cc

Issue 10916221: Make ToplevelWindowEventFilter and WorkspaceEventFilter into event handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | « ui/base/events/event_target.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/events/event_target.cc
===================================================================
--- ui/base/events/event_target.cc (revision 155914)
+++ ui/base/events/event_target.cc (working copy)
@@ -40,8 +40,8 @@
EventTarget* target = this;
while (target) {
EventHandlerList::reverse_iterator it, rend;
- for (it = target->pre_target_list().rbegin(),
- rend = target->pre_target_list().rend();
+ for (it = target->pre_target_list_.rbegin(),
+ rend = target->pre_target_list_.rend();
it != rend;
++it) {
list->insert(list->begin(), *it);
@@ -53,8 +53,8 @@
void EventTarget::GetPostTargetHandlers(EventHandlerList* list) {
EventTarget* target = this;
while (target) {
- for (EventHandlerList::iterator it = target->post_target_list().begin(),
- end = target->post_target_list().end(); it != end; ++it) {
+ for (EventHandlerList::iterator it = target->post_target_list_.begin(),
+ end = target->post_target_list_.end(); it != end; ++it) {
list->push_back(*it);
}
target = target->GetParentTarget();
« no previous file with comments | « ui/base/events/event_target.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698