Changeset 10008 in webkit
- Timestamp:
- Aug 2, 2005, 10:14:41 AM (20 years ago)
- Location:
- trunk/WebKit
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/ChangeLog
r10003 r10008 1 2005-08-02 John Sullivan <sullivan@apple.com> 2 3 Reviewed by Darin Adler. 4 5 Preemptively moved some WebMenuItemTag values from SPI to API, in anticipation of 6 approval from macosx-api-reviewers. Retitled one of them in response to API reviewers feedback: 7 WebMenuItemSearchInGoogle -> WebMenuItemSearchWeb 8 9 Note that as a side effect of this change, the actual numbers used for these WebMenuItemTags has 10 changed from what it was in Tiger. This causes "Search in Spotlight", "Search in Google", and 11 "Look Up in Dictionary" to not appear in Tiger Safari if running on tip of tree WebKit. 12 13 * WebView.subproj/WebUIDelegatePrivate.h: 14 removed WebMenuItemTagSearchInSpotlight, WebMenuItemTagSearchInGoogle, and WebMenuItemTagLookUpInDictionary 15 16 * WebView.subproj/WebUIDelegate.h: 17 added WebMenuItemTagSearchInSpotlight, WebMenuItemTagSearchWeb, and WebMenuItemTagLookUpInDictionary 18 19 * WebView.subproj/WebDefaultContextMenuDelegate.m: 20 (-[WebDefaultUIDelegate menuItemWithTag:]): 21 updated for rename 22 (-[WebDefaultUIDelegate contextMenuItemsForElement:defaultMenuItems:]): 23 ditto 24 (-[WebDefaultUIDelegate editingContextMenuItemsForElement:defaultMenuItems:]): 25 ditto 26 1 27 2005-08-01 Geoffrey Garen <ggaren@apple.com> 2 28 -
trunk/WebKit/WebView.subproj/WebDefaultContextMenuDelegate.m
r9826 r10008 160 160 action = @selector(_searchWithSpotlightFromMenu:); 161 161 break; 162 case WebMenuItemTagSearch InGoogle:162 case WebMenuItemTagSearchWeb: 163 163 // FIXME: Perhaps move this string into WebKit directly when we're not in localization freeze 164 164 title = localizedMenuTitleFromAppKit(@"Search in Google", @"Search in Google menu title."); … … 240 240 ASSERT([[[webFrame frameView] documentView] conformsToProtocol:@protocol(WebDocumentText)]); 241 241 [menuItems addObject:[self menuItemWithTag:WebMenuItemTagSearchInSpotlight]]; 242 [menuItems addObject:[self menuItemWithTag:WebMenuItemTagSearch InGoogle]];242 [menuItems addObject:[self menuItemWithTag:WebMenuItemTagSearchWeb]]; 243 243 [menuItems addObject:[NSMenuItem separatorItem]]; 244 244 … … 313 313 // FIXME: When we're not building for Panther anymore we should update the nib to include these. 314 314 [menuItems addObject:[self menuItemWithTag:WebMenuItemTagSearchInSpotlight]]; 315 [menuItems addObject:[self menuItemWithTag:WebMenuItemTagSearch InGoogle]];315 [menuItems addObject:[self menuItemWithTag:WebMenuItemTagSearchWeb]]; 316 316 [menuItems addObject:[NSMenuItem separatorItem]]; 317 317 // FIXME: The NSTextView behavior for looking text up in the dictionary is different if -
trunk/WebKit/WebView.subproj/WebUIDelegate.h
r9471 r10008 57 57 WebMenuItemTagLearnSpelling, 58 58 WebMenuItemTagOther, 59 WebMenuItemTagSearchInSpotlight, 60 WebMenuItemTagSearchWeb, 61 WebMenuItemTagLookUpInDictionary, 59 62 WebMenuItemTagOpenWithDefaultApplication, 60 63 WebMenuItemPDFActualSize, -
trunk/WebKit/WebView.subproj/WebUIDelegatePrivate.h
r9276 r10008 29 29 #import <WebKit/WebUIDelegate.h> 30 30 31 // FIXME: These should move to WebUIDelegate.h as part of the WebMenuItemTag enum there, when we're not in API freeze32 enum {33 WebMenuItemTagSearchInSpotlight=1000,34 WebMenuItemTagSearchInGoogle,35 WebMenuItemTagLookUpInDictionary,36 };37 38 31 @interface NSObject (WebUIDelegatePrivate) 39 32
Note:
See TracChangeset
for help on using the changeset viewer.