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

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

Issue 211373002: Oilpan: move DOMWindow object to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: setNativeInfoForInnerGlobalObject() -> setNativeInfoForHiddenWrapper() Created 6 years, 9 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
« no previous file with comments | « Source/core/events/FocusEvent.h ('k') | Source/core/events/GestureEvent.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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 bool FocusEvent::isFocusEvent() const 45 bool FocusEvent::isFocusEvent() const
46 { 46 {
47 return true; 47 return true;
48 } 48 }
49 49
50 FocusEvent::FocusEvent() 50 FocusEvent::FocusEvent()
51 { 51 {
52 ScriptWrappable::init(this); 52 ScriptWrappable::init(this);
53 } 53 }
54 54
55 FocusEvent::FocusEvent(const AtomicString& type, bool canBubble, bool cancelable , PassRefPtr<AbstractView> view, int detail, EventTarget* relatedTarget) 55 FocusEvent::FocusEvent(const AtomicString& type, bool canBubble, bool cancelable , PassRefPtrWillBeRawPtr<AbstractView> view, int detail, EventTarget* relatedTar get)
56 : UIEvent(type, canBubble, cancelable, view, detail) 56 : UIEvent(type, canBubble, cancelable, view, detail)
57 , m_relatedTarget(relatedTarget) 57 , m_relatedTarget(relatedTarget)
58 { 58 {
59 ScriptWrappable::init(this); 59 ScriptWrappable::init(this);
60 } 60 }
61 61
62 FocusEvent::FocusEvent(const AtomicString& type, const FocusEventInit& initializ er) 62 FocusEvent::FocusEvent(const AtomicString& type, const FocusEventInit& initializ er)
63 : UIEvent(type, initializer) 63 : UIEvent(type, initializer)
64 , m_relatedTarget(initializer.relatedTarget) 64 , m_relatedTarget(initializer.relatedTarget)
65 { 65 {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 { 129 {
130 } 130 }
131 131
132 bool FocusOutEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) c onst 132 bool FocusOutEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) c onst
133 { 133 {
134 event()->eventPath().adjustForRelatedTarget(dispatcher->node(), event()->rel atedTarget()); 134 event()->eventPath().adjustForRelatedTarget(dispatcher->node(), event()->rel atedTarget());
135 return EventDispatchMediator::dispatchEvent(dispatcher); 135 return EventDispatchMediator::dispatchEvent(dispatcher);
136 } 136 }
137 137
138 } // namespace WebCore 138 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/events/FocusEvent.h ('k') | Source/core/events/GestureEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698