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

Side by Side Diff: Source/WebCore/html/MediaKeyEvent.cpp

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/WebCore/html/HTMLVideoElement.cpp ('k') | Source/WebCore/html/RadioNodeList.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 23 matching lines...) Expand all
34 34
35 namespace WebCore { 35 namespace WebCore {
36 36
37 MediaKeyEventInit::MediaKeyEventInit() 37 MediaKeyEventInit::MediaKeyEventInit()
38 : systemCode(0) 38 : systemCode(0)
39 { 39 {
40 } 40 }
41 41
42 MediaKeyEvent::MediaKeyEvent() 42 MediaKeyEvent::MediaKeyEvent()
43 { 43 {
44 ScriptWrappable::init(this);
44 } 45 }
45 46
46 MediaKeyEvent::MediaKeyEvent(const AtomicString& type, const MediaKeyEventInit& initializer) 47 MediaKeyEvent::MediaKeyEvent(const AtomicString& type, const MediaKeyEventInit& initializer)
47 : Event(type, initializer) 48 : Event(type, initializer)
48 , m_keySystem(initializer.keySystem) 49 , m_keySystem(initializer.keySystem)
49 , m_sessionId(initializer.sessionId) 50 , m_sessionId(initializer.sessionId)
50 , m_initData(initializer.initData) 51 , m_initData(initializer.initData)
51 , m_message(initializer.message) 52 , m_message(initializer.message)
52 , m_defaultURL(initializer.defaultURL) 53 , m_defaultURL(initializer.defaultURL)
53 , m_errorCode(initializer.errorCode) 54 , m_errorCode(initializer.errorCode)
54 , m_systemCode(initializer.systemCode) 55 , m_systemCode(initializer.systemCode)
55 { 56 {
57 ScriptWrappable::init(this);
56 } 58 }
57 59
58 MediaKeyEvent::~MediaKeyEvent() 60 MediaKeyEvent::~MediaKeyEvent()
59 { 61 {
60 } 62 }
61 63
62 const AtomicString& MediaKeyEvent::interfaceName() const 64 const AtomicString& MediaKeyEvent::interfaceName() const
63 { 65 {
64 return eventNames().interfaceForMediaKeyEvent; 66 return eventNames().interfaceForMediaKeyEvent;
65 } 67 }
66 68
67 } // namespace WebCore 69 } // namespace WebCore
68 70
69 #endif 71 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/html/HTMLVideoElement.cpp ('k') | Source/WebCore/html/RadioNodeList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698