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

Side by Side Diff: Source/core/html/HTMLMenuItemElement.cpp

Issue 243403006: Implement contextmenu attribute with basic support of <menu> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased global-constructors-listing-expected.txt Created 6 years, 5 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
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "config.h"
6 #include "core/html/HTMLMenuItemElement.h"
7
8 #include "core/HTMLNames.h"
9
10 namespace WebCore {
11
12 using namespace HTMLNames;
13
14 inline HTMLMenuItemElement::HTMLMenuItemElement(Document& document)
15 : HTMLElement(menuitemTag, document)
16 {
17 ScriptWrappable::init(this);
18 }
19
20 PassRefPtr<HTMLMenuItemElement> HTMLMenuItemElement::create(Document& document)
Inactive 2014/07/23 14:19:08 PassRefPtrWillBeRawPtr
pals 2014/07/24 10:49:26 Done.
21 {
22 return adoptRef(new HTMLMenuItemElement(document));
23 }
24
25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698