projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27cd668
)
Menu::attachToWindow is available on Linux.
author
Cheng Zhao
<zcbenz@gmail.com>
Wed, 19 Feb 2014 13:10:09 +0000
(13:10 +0000)
committer
Cheng Zhao
<zcbenz@gmail.com>
Wed, 19 Feb 2014 13:10:09 +0000
(13:10 +0000)
browser/api/atom_api_menu.cc
patch
|
blob
|
history
diff --git
a/browser/api/atom_api_menu.cc
b/browser/api/atom_api_menu.cc
index
cc3a514
..
4067829
100644
(file)
--- a/
browser/api/atom_api_menu.cc
+++ b/
browser/api/atom_api_menu.cc
@@
-340,7
+340,7
@@
void Menu::Initialize(v8::Handle<v8::Object> target) {
NODE_SET_PROTOTYPE_METHOD(t, "popup", Popup);
-#if defined(OS_WIN)
+#if defined(OS_WIN)
|| defined(TOOLKIT_GTK)
NODE_SET_PROTOTYPE_METHOD(t, "attachToWindow", AttachToWindow);
#endif