Changeset 63884 in webkit
- Timestamp:
- Jul 22, 2010 5:52:35 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r63883 r63884 1 2010-07-21 Pavel Feldman <pfeldman@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 Chromium Dev Tools: Separators are missing in the context menu. 6 7 https://bugs.webkit.org/show_bug.cgi?id=42761 8 9 * bindings/js/JSInspectorFrontendHostCustom.cpp: 10 (WebCore::JSInspectorFrontendHost::showContextMenu): 11 * bindings/v8/custom/V8InspectorFrontendHostCustom.cpp: 12 (WebCore::V8InspectorFrontendHost::showContextMenuCallback): 13 * platform/ContextMenuItem.h: 14 (WebCore::): 15 1 16 2010-07-22 Zoltan Herczeg <zherczeg@webkit.org> 2 17 -
trunk/WebCore/bindings/js/JSInspectorFrontendHostCustom.cpp
r60392 r63884 93 93 JSValue id = item->get(exec, Identifier(exec, "id")); 94 94 if (label.isUndefined() || id.isUndefined()) 95 items.append(new ContextMenuItem(SeparatorType, ContextMenuItemTagNoAction, String())); 95 items.append(new ContextMenuItem(SeparatorType, 96 ContextMenuItemCustomTagNoAction, 97 String())); 96 98 else { 97 99 ContextMenuAction typedId = static_cast<ContextMenuAction>(ContextMenuItemBaseCustomTag + id.toInt32(exec)); -
trunk/WebCore/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp
r57073 r63884 81 81 if (label->IsUndefined() || id->IsUndefined()) { 82 82 items.append(new ContextMenuItem(SeparatorType, 83 ContextMenuItem TagNoAction,83 ContextMenuItemCustomTagNoAction, 84 84 String())); 85 85 } else { -
trunk/WebCore/platform/ContextMenu.cpp
r60882 r63884 816 816 #endif 817 817 case ContextMenuItemBaseCustomTag: 818 case ContextMenuItemCustomTagNoAction: 819 case ContextMenuItemLastCustomTag: 818 820 case ContextMenuItemBaseApplicationTag: 819 821 break; -
trunk/WebCore/platform/ContextMenuItem.h
r60454 r63884 145 145 #endif 146 146 ContextMenuItemBaseCustomTag = 5000, 147 ContextMenuItemCustomTagNoAction = 5998, 148 ContextMenuItemLastCustomTag = 5999, 147 149 ContextMenuItemBaseApplicationTag = 10000 148 150 }; -
trunk/WebKit/chromium/ChangeLog
r63874 r63884 1 2010-07-21 Pavel Feldman <pfeldman@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 Chromium Dev Tools: Separators are missing in the context menu. 6 7 https://bugs.webkit.org/show_bug.cgi?id=42761 8 9 * src/ContextMenuClientImpl.cpp: 10 (WebKit::ContextMenuClientImpl::populateCustomMenuItems): 11 1 12 2010-07-21 Kent Tamura <tkent@chromium.org> 2 13 -
trunk/WebKit/chromium/src/ContextMenuClientImpl.cpp
r62743 r63884 278 278 for (size_t i = 0; i < defaultMenu->itemCount(); ++i) { 279 279 ContextMenuItem* inputItem = defaultMenu->itemAtIndex(i, defaultMenu->platformDescription()); 280 if (inputItem->action() < ContextMenuItemBaseCustomTag || inputItem->action() > = ContextMenuItemBaseApplicationTag)280 if (inputItem->action() < ContextMenuItemBaseCustomTag || inputItem->action() > ContextMenuItemLastCustomTag) 281 281 continue; 282 282
Note: See TracChangeset
for help on using the changeset viewer.