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

Side by Side Diff: Source/core/events/FocusEvent.cpp

Issue 26890003: Remove ThreadLocalEventNames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix build Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/events/Event.cpp ('k') | Source/core/events/HashChangeEvent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 22 matching lines...) Expand all
33 33
34 namespace WebCore { 34 namespace WebCore {
35 35
36 FocusEventInit::FocusEventInit() 36 FocusEventInit::FocusEventInit()
37 : relatedTarget(0) 37 : relatedTarget(0)
38 { 38 {
39 } 39 }
40 40
41 const AtomicString& FocusEvent::interfaceName() const 41 const AtomicString& FocusEvent::interfaceName() const
42 { 42 {
43 return eventNames().interfaceForFocusEvent; 43 return EventNames::FocusEvent;
44 } 44 }
45 45
46 bool FocusEvent::isFocusEvent() const 46 bool FocusEvent::isFocusEvent() const
47 { 47 {
48 return true; 48 return true;
49 } 49 }
50 50
51 FocusEvent::FocusEvent() 51 FocusEvent::FocusEvent()
52 { 52 {
53 ScriptWrappable::init(this); 53 ScriptWrappable::init(this);
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 { 125 {
126 } 126 }
127 127
128 bool FocusOutEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) c onst 128 bool FocusOutEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) c onst
129 { 129 {
130 EventRetargeter::adjustForFocusEvent(dispatcher->node(), *event()); 130 EventRetargeter::adjustForFocusEvent(dispatcher->node(), *event());
131 return EventDispatchMediator::dispatchEvent(dispatcher); 131 return EventDispatchMediator::dispatchEvent(dispatcher);
132 } 132 }
133 133
134 } // namespace WebCore 134 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/events/Event.cpp ('k') | Source/core/events/HashChangeEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698