-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: core modules compile success.
- Loading branch information
Showing
38 changed files
with
837 additions
and
843 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
* Copyright (C) 2019 Alibaba Inc. All rights reserved. | ||
* Author: Kraken Team. | ||
*/ | ||
|
||
#include "binding_initializer.h" | ||
|
||
|
||
//#include "bindings/qjs/bom/blob.h" | ||
//#include "bindings/qjs/bom/console.h" | ||
//#include "bindings/qjs/bom/location.h" | ||
//#include "bindings/qjs/bom/performance.h" | ||
//#include "bindings/qjs/bom/screen.h" | ||
//#include "bindings/qjs/bom/timer.h" | ||
//#include "bindings/qjs/bom/window.h" | ||
//#include "bindings/qjs/dom/comment_node.h" | ||
//#include "bindings/qjs/dom/custom_event.h" | ||
//#include "bindings/qjs/dom/document.h" | ||
//#include "bindings/qjs/dom/document_fragment.h" | ||
//#include "bindings/qjs/dom/element.h" | ||
//#include "bindings/qjs/dom/elements/.gen/anchor_element.h" | ||
//#include "bindings/qjs/dom/elements/.gen/canvas_element.h" | ||
//#include "bindings/qjs/dom/elements/.gen/input_element.h" | ||
//#include "bindings/qjs/dom/elements/.gen/object_element.h" | ||
//#include "bindings/qjs/dom/elements/.gen/script_element.h" | ||
//#include "bindings/qjs/dom/elements/image_element.h" | ||
//#include "bindings/qjs/dom/elements/template_element.h" | ||
//#include "bindings/qjs/dom/event.h" | ||
//#include "bindings/qjs/dom/event_target.h" | ||
//#include "bindings/qjs/dom/events/.gen/close_event.h" | ||
//#include "bindings/qjs/dom/events/.gen/gesture_event.h" | ||
//#include "bindings/qjs/dom/events/.gen/input_event.h" | ||
//#include "bindings/qjs/dom/events/.gen/intersection_change.h" | ||
//#include "bindings/qjs/dom/events/.gen/media_error_event.h" | ||
//#include "bindings/qjs/dom/events/.gen/message_event.h" | ||
//#include "bindings/qjs/dom/events/.gen/mouse_event.h" | ||
//#include "bindings/qjs/dom/events/.gen/popstate_event.h" | ||
//#include "bindings/qjs/dom/events/touch_event.h" | ||
//#include "bindings/qjs/dom/style_declaration.h" | ||
//#include "bindings/qjs/dom/text_node.h" | ||
//#include "bindings/qjs/module_manager.h" | ||
|
||
namespace kraken { | ||
|
||
void initBinding() { | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* Copyright (C) 2019 Alibaba Inc. All rights reserved. | ||
* Author: Kraken Team. | ||
*/ | ||
|
||
#ifndef KRAKENBRIDGE_BINDING_INITIALIZER_H | ||
#define KRAKENBRIDGE_BINDING_INITIALIZER_H | ||
|
||
namespace kraken { | ||
|
||
void initBinding(); | ||
|
||
|
||
// bindConsole(m_context); | ||
// bindTimer(m_context); | ||
// bindScreen(m_context); | ||
// bindModuleManager(m_context); | ||
// bindEventTarget(m_context); | ||
// bindBlob(m_context); | ||
// bindLocation(m_context); | ||
// bindWindow(m_context); | ||
// bindEvent(m_context); | ||
// bindCustomEvent(m_context); | ||
// bindNode(m_context); | ||
// bindDocumentFragment(m_context); | ||
// bindTextNode(m_context); | ||
// bindCommentNode(m_context); | ||
// bindElement(m_context); | ||
// bindAnchorElement(m_context); | ||
// bindCanvasElement(m_context); | ||
// bindImageElement(m_context); | ||
// bindInputElement(m_context); | ||
// bindObjectElement(m_context); | ||
// bindScriptElement(m_context); | ||
// bindTemplateElement(m_context); | ||
// bindCSSStyleDeclaration(m_context); | ||
// bindCloseEvent(m_context); | ||
// bindGestureEvent(m_context); | ||
// bindInputEvent(m_context); | ||
// bindIntersectionChangeEvent(m_context); | ||
// bindMediaErrorEvent(m_context); | ||
// bindMouseEvent(m_context); | ||
// bindMessageEvent(m_context); | ||
// bindPopStateEvent(m_context); | ||
// bindTouchEvent(m_context); | ||
// bindDocument(m_context); | ||
// bindPerformance(m_context); | ||
|
||
} | ||
|
||
#endif // KRAKENBRIDGE_BINDING_INITIALIZER_H |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.