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

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

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 years, 10 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/DOMWindowEventQueue.cpp ('k') | Source/core/events/GenericEventQueue.cpp » ('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 15 matching lines...) Expand all
26 #include "config.h" 26 #include "config.h"
27 #include "core/events/FocusEvent.h" 27 #include "core/events/FocusEvent.h"
28 28
29 #include "core/events/Event.h" 29 #include "core/events/Event.h"
30 #include "core/events/EventDispatcher.h" 30 #include "core/events/EventDispatcher.h"
31 #include "core/events/ThreadLocalEventNames.h" 31 #include "core/events/ThreadLocalEventNames.h"
32 32
33 namespace WebCore { 33 namespace WebCore {
34 34
35 FocusEventInit::FocusEventInit() 35 FocusEventInit::FocusEventInit()
36 : relatedTarget(0) 36 : relatedTarget(nullptr)
37 { 37 {
38 } 38 }
39 39
40 const AtomicString& FocusEvent::interfaceName() const 40 const AtomicString& FocusEvent::interfaceName() const
41 { 41 {
42 return EventNames::FocusEvent; 42 return EventNames::FocusEvent;
43 } 43 }
44 44
45 bool FocusEvent::isFocusEvent() const 45 bool FocusEvent::isFocusEvent() const
46 { 46 {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 { 124 {
125 } 125 }
126 126
127 bool FocusOutEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) c onst 127 bool FocusOutEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) c onst
128 { 128 {
129 event()->eventPath().adjustForRelatedTarget(dispatcher->node(), event()->rel atedTarget()); 129 event()->eventPath().adjustForRelatedTarget(dispatcher->node(), event()->rel atedTarget());
130 return EventDispatchMediator::dispatchEvent(dispatcher); 130 return EventDispatchMediator::dispatchEvent(dispatcher);
131 } 131 }
132 132
133 } // namespace WebCore 133 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/events/DOMWindowEventQueue.cpp ('k') | Source/core/events/GenericEventQueue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698