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

Side by Side Diff: sky/engine/core/events/HashChangeEvent.h

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/events/GestureEvent.cpp ('k') | sky/engine/core/events/KeyboardEvent.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) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 m_oldURL = oldURL; 62 m_oldURL = oldURL;
63 m_newURL = newURL; 63 m_newURL = newURL;
64 } 64 }
65 65
66 const String& oldURL() const { return m_oldURL; } 66 const String& oldURL() const { return m_oldURL; }
67 const String& newURL() const { return m_newURL; } 67 const String& newURL() const { return m_newURL; }
68 68
69 virtual const AtomicString& interfaceName() const override { return EventNam es::HashChangeEvent; } 69 virtual const AtomicString& interfaceName() const override { return EventNam es::HashChangeEvent; }
70 70
71 virtual void trace(Visitor* visitor) override { Event::trace(visitor); }
72
73 private: 71 private:
74 HashChangeEvent() 72 HashChangeEvent()
75 { 73 {
76 } 74 }
77 75
78 HashChangeEvent(const String& oldURL, const String& newURL) 76 HashChangeEvent(const String& oldURL, const String& newURL)
79 : Event(EventTypeNames::hashchange, false, false) 77 : Event(EventTypeNames::hashchange, false, false)
80 , m_oldURL(oldURL) 78 , m_oldURL(oldURL)
81 , m_newURL(newURL) 79 , m_newURL(newURL)
82 { 80 {
83 } 81 }
84 82
85 HashChangeEvent(const AtomicString& type, const HashChangeEventInit& initial izer) 83 HashChangeEvent(const AtomicString& type, const HashChangeEventInit& initial izer)
86 : Event(type, initializer) 84 : Event(type, initializer)
87 , m_oldURL(initializer.oldURL) 85 , m_oldURL(initializer.oldURL)
88 , m_newURL(initializer.newURL) 86 , m_newURL(initializer.newURL)
89 { 87 {
90 } 88 }
91 89
92 String m_oldURL; 90 String m_oldURL;
93 String m_newURL; 91 String m_newURL;
94 }; 92 };
95 93
96 } // namespace blink 94 } // namespace blink
97 95
98 #endif // HashChangeEvent_h 96 #endif // HashChangeEvent_h
OLDNEW
« no previous file with comments | « sky/engine/core/events/GestureEvent.cpp ('k') | sky/engine/core/events/KeyboardEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698