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

Unified Diff: third_party/WebKit/fake_gen/web/api/element.h

Issue 2591803002: NOT FOR LANDING: Thread the needle through all webmodules.
Patch Set: AddEventListener sketched out. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/fake_gen/web/api/document.cc ('k') | third_party/WebKit/fake_gen/web/api/element.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/fake_gen/web/api/element.h
diff --git a/third_party/WebKit/fake_gen/web/api/element.h b/third_party/WebKit/fake_gen/web/api/element.h
new file mode 100644
index 0000000000000000000000000000000000000000..7e2621e61777aca81baf679225b857489e5a4910
--- /dev/null
+++ b/third_party/WebKit/fake_gen/web/api/element.h
@@ -0,0 +1,47 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file has been auto-generated by code_generator_web_module.py.
+// DO NOT MODIFY!
+
+// This file has been generated from the Jinja2 template in
+// third_party/WebKit/Source/bindings/templates/web_module_interface.h.tmpl
+
+// clang-format off
+
+#ifndef WEB_API_ELEMENT_H
+#define WEB_API_ELEMENT_H
+
+#include "web/api/node.h"
+
+namespace blink {
+class Element;
+}
+
+namespace web {
+
+class Element : public Node {
+ public:
+ virtual ~Element() = default;
+
+ static Element* Create(blink::Element* element);
+
+ // readonly attribute DOMString localName;
+ String GetLocalName() const;
+
+ // attribute DOMString id;
+ String GetId() const;
+ void SetId(AtomicString id);
+
+ // ParentNode -> readonly attribute Element? firstElementChild;
+ Element* GetFirstElementChild() const;
+
+ protected:
+ blink::Element* element() const;
+ explicit Element(blink::Element* element);
+};
+
+} // namespace web
+
+#endif // WEB_API_ELEMENT_H
« no previous file with comments | « third_party/WebKit/fake_gen/web/api/document.cc ('k') | third_party/WebKit/fake_gen/web/api/element.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698