diff options
author | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-21 23:57:19 +0000 |
---|---|---|
committer | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-21 23:57:19 +0000 |
commit | ee01535e43949832b8fb57a74d892390e01d36dd (patch) | |
tree | 630574b28df21ef914369b9a16c0bfdca1b74527 /chrome/app/nibs/BookmarkBar.xib | |
parent | d7aef10706a8e8b5da86d48113136887b3ca97a1 (diff) | |
download | chromium_src-ee01535e43949832b8fb57a74d892390e01d36dd.zip chromium_src-ee01535e43949832b8fb57a74d892390e01d36dd.tar.gz chromium_src-ee01535e43949832b8fb57a74d892390e01d36dd.tar.bz2 |
Implement bookmark editor. No tree display or hierarchy movement, but
name/url editing works. Get to the edotir from a context menu (Edit,
Add Page). Also Implement Open All Bookmarks menu item.
BUG=http://crbug.com/8381, http://crbug.com/17006
TEST=Add some bookmarks.
Right-click on a bookmark and pick Edit.
Test editing the name and URL. Make sure you can't add a bogus URL.
Right-click on a bookmark or the bar and Add Page.
Fill in name and URL fields to add a new bookmark.
Right-click Open All Bookmarks and make sure it hoses your machine.
Review URL: http://codereview.chromium.org/155874
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21241 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/nibs/BookmarkBar.xib')
-rw-r--r-- | chrome/app/nibs/BookmarkBar.xib | 78 |
1 files changed, 42 insertions, 36 deletions
diff --git a/chrome/app/nibs/BookmarkBar.xib b/chrome/app/nibs/BookmarkBar.xib index 2002d9b..4abb7d0 100644 --- a/chrome/app/nibs/BookmarkBar.xib +++ b/chrome/app/nibs/BookmarkBar.xib @@ -8,9 +8,9 @@ <string key="IBDocument.HIToolboxVersion">353.00</string> <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> <bool key="EncodedWithXMLCoder">YES</bool> - <integer value="1"/> - <integer value="4"/> <integer value="18"/> + <integer value="4"/> + <integer value="1"/> </object> <object class="NSArray" key="IBDocument.PluginDependencies"> <bool key="EncodedWithXMLCoder">YES</bool> @@ -301,14 +301,6 @@ <object class="IBActionConnection" key="connection"> <string key="label">commandDispatch:</string> <reference key="source" ref="1003"/> - <reference key="destination" ref="6422781"/> - </object> - <int key="connectionID">32</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">commandDispatch:</string> - <reference key="source" ref="1003"/> <reference key="destination" ref="115646576"/> </object> <int key="connectionID">33</int> @@ -341,14 +333,6 @@ <object class="IBActionConnection" key="connection"> <string key="label">commandDispatch:</string> <reference key="source" ref="1003"/> - <reference key="destination" ref="926809071"/> - </object> - <int key="connectionID">37</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">commandDispatch:</string> - <reference key="source" ref="1003"/> <reference key="destination" ref="90793013"/> </object> <int key="connectionID">38</int> @@ -373,22 +357,6 @@ <object class="IBActionConnection" key="connection"> <string key="label">commandDispatch:</string> <reference key="source" ref="1003"/> - <reference key="destination" ref="182996500"/> - </object> - <int key="connectionID">44</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">commandDispatch:</string> - <reference key="source" ref="1003"/> - <reference key="destination" ref="527115352"/> - </object> - <int key="connectionID">46</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">commandDispatch:</string> - <reference key="source" ref="1003"/> <reference key="destination" ref="595609715"/> </object> <int key="connectionID">47</int> @@ -441,6 +409,38 @@ </object> <int key="connectionID">55</int> </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">editBookmark:</string> + <reference key="source" ref="1001"/> + <reference key="destination" ref="182996500"/> + </object> + <int key="connectionID">56</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">openAllBookmarks:</string> + <reference key="source" ref="1001"/> + <reference key="destination" ref="6422781"/> + </object> + <int key="connectionID">57</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">addPage:</string> + <reference key="source" ref="1001"/> + <reference key="destination" ref="527115352"/> + </object> + <int key="connectionID">58</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">addPage:</string> + <reference key="source" ref="1001"/> + <reference key="destination" ref="926809071"/> + </object> + <int key="connectionID">59</int> + </object> </object> <object class="IBMutableOrderedSet" key="objectRecords"> <object class="NSArray" key="orderedObjects"> @@ -735,7 +735,7 @@ </object> </object> <nil key="sourceID"/> - <int key="maxID">55</int> + <int key="maxID">59</int> </object> <object class="IBClassDescriber" key="IBDocument.Classes"> <object class="NSMutableArray" key="referencedPartialClassDescriptions"> @@ -755,7 +755,10 @@ <bool key="EncodedWithXMLCoder">YES</bool> <object class="NSMutableArray" key="dict.sortedKeys"> <bool key="EncodedWithXMLCoder">YES</bool> + <string>addPage:</string> <string>deleteBookmark:</string> + <string>editBookmark:</string> + <string>openAllBookmarks:</string> <string>openBookmark:</string> <string>openBookmarkInIncognitoWindow:</string> <string>openBookmarkInNewForegroundTab:</string> @@ -768,6 +771,9 @@ <string>id</string> <string>id</string> <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> </object> </object> <object class="NSMutableDictionary" key="outlets"> @@ -848,7 +854,7 @@ </object> </object> <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.LastKnownRelativeProjectPath">../../../chrome.xcodeproj</string> + <string key="IBDocument.LastKnownRelativeProjectPath">../../chrome.xcodeproj</string> <int key="IBDocument.defaultPropertyAccessControl">3</int> </data> </archive> |