OSDN Git Service
(root)
/
android-x86
/
external-webkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge WebKit at r71558: Initial merge by git.
[android-x86/external-webkit.git]
/
WebCore
/
platform
/
mac
/
ContextMenuItemMac.mm
diff --git
a/WebCore/platform/mac/ContextMenuItemMac.mm
b/WebCore/platform/mac/ContextMenuItemMac.mm
index
48da786
..
ce779ec
100644
(file)
--- a/
WebCore/platform/mac/ContextMenuItemMac.mm
+++ b/
WebCore/platform/mac/ContextMenuItemMac.mm
@@
-154,6
+154,11
@@
bool ContextMenuItem::enabled() const
return [m_platformDescription.get() isEnabled];
}
+bool ContextMenuItem::checked() const
+{
+ return [m_platformDescription.get() state] == NSOnState;
+}
+
} // namespace WebCore
#endif // ENABLE(CONTEXT_MENUS)