From c0d33cd059a742b2daf283965392700328b80a81 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Thu, 18 Jun 2009 21:57:57 +0000 Subject: Initial download shelf on OS X. This has lots of missing stuff (e.g. a custom download item view that shows download progress, the popup is the same for in-progress and completed downloads, no animation, everything looks ugly, the info bubble overlaps the shelf when it's visible, no "open download manager page" link, etc), but the basic functionality is hooked up: The shelf appears when files are downloaded, and something ugly is added to the shelf for each download. The popup's "Reveral in Finder" even works. The shelf is per-window as it should be. BUG=12500 TEST=Download something and check the shelf appears. Click the close button and make sure it disappears again. Review URL: http://codereview.chromium.org/93129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18757 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/app/nibs/en.lproj/DownloadShelf.xib | 1240 ++++++++++++++++++++++++++++ 1 file changed, 1240 insertions(+) create mode 100644 chrome/app/nibs/en.lproj/DownloadShelf.xib (limited to 'chrome/app/nibs') diff --git a/chrome/app/nibs/en.lproj/DownloadShelf.xib b/chrome/app/nibs/en.lproj/DownloadShelf.xib new file mode 100644 index 0000000..1bfa275 --- /dev/null +++ b/chrome/app/nibs/en.lproj/DownloadShelf.xib @@ -0,0 +1,1240 @@ + + + + 1050 + 9J61 + 677 + 949.46 + 353.00 + + YES + + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + YES + + YES + + + YES + + + + YES + + DownloadShelfController + + + FirstResponder + + + NSApplication + + + + 290 + + YES + + + 289 + {{456, 12}, {15, 15}} + + YES + + 67239424 + 134217728 + + + LucidaGrande + 1.300000e+01 + 1044 + + + 142360831 + 6 + + NSImage + close_bar + + + NSImage + close_bar_p + + + + 200 + 25 + + + + {480, 40} + + DownloadShelfView + + + + + YES + + + hide: + + + + 6 + + + + view + + + + 9 + + + + + YES + + 0 + + YES + + + + + + -2 + + + RmlsZSdzIE93bmVyA + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 3 + + + YES + + + + + + 4 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBEditorWindowLastContentRect + 1.IBPluginDependency + 1.WindowOrigin + 1.editorWindowContentRectSynchronizationRect + 3.IBPluginDependency + 4.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{509, 905}, {480, 40}} + com.apple.InterfaceBuilder.CocoaPlugin + {628, 654} + {{357, 416}, {480, 272}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + YES + + + YES + + + + + YES + + YES + + + YES + + + + 9 + + + + YES + + DownloadShelfController + NSViewController + + YES + + YES + hide: + show: + + + YES + id + id + + + + IBProjectSource + browser/cocoa/download_shelf_controller.h + + + + DownloadShelfView + NSView + + IBProjectSource + browser/cocoa/download_shelf_view.h + + + + NSObject + + IBProjectSource + browser/cocoa/tab_strip_model_observer_bridge.h + + + + + 0 + ../../../chrome.xcodeproj + 3 + + + + + + 1050 + 9J61 + 677 + 949.46 + 353.00 + + YES + + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + YES + + YES + + + YES + + + + YES + + DownloadShelfController + + + FirstResponder + + + NSApplication + + + + 290 + + YES + + + 289 + {{456, 12}, {15, 15}} + + YES + + 67239424 + 134217728 + + + LucidaGrande + 1.300000e+01 + 1044 + + + 142360831 + 6 + + NSImage + close_bar + + + NSImage + close_bar_p + + + + 200 + 25 + + + + {480, 40} + + DownloadShelfView + + + + + YES + + + hide: + + + + 6 + + + + view + + + + 9 + + + + + YES + + 0 + + YES + + + + + + -2 + + + RmlsZSdzIE93bmVyA + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 3 + + + YES + + + + + + 4 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBEditorWindowLastContentRect + 1.IBPluginDependency + 1.WindowOrigin + 1.editorWindowContentRectSynchronizationRect + 3.IBPluginDependency + 4.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{509, 905}, {480, 40}} + com.apple.InterfaceBuilder.CocoaPlugin + {628, 654} + {{357, 416}, {480, 272}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + YES + + + YES + + + + + YES + + YES + + + YES + + + + 9 + + + + YES + + DownloadShelfController + NSViewController + + YES + + YES + hide: + show: + + + YES + id + id + + + + IBProjectSource + browser/cocoa/download_shelf_controller.h + + + + DownloadShelfView + NSView + + IBProjectSource + browser/cocoa/download_shelf_view.h + + + + NSObject + + IBProjectSource + browser/cocoa/tab_strip_model_observer_bridge.h + + + + + 0 + ../../../chrome.xcodeproj + 3 + + + + + + 1050 + 9J61 + 677 + 949.46 + 353.00 + + YES + + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + YES + + YES + + + YES + + + + YES + + DownloadShelfController + + + FirstResponder + + + NSApplication + + + + 290 + + YES + + + 289 + {{456, 12}, {15, 15}} + + YES + + 67239424 + 134217728 + + + LucidaGrande + 1.300000e+01 + 1044 + + + 142360831 + 6 + + NSImage + close_bar + + + NSImage + close_bar_p + + + + 200 + 25 + + + + {480, 40} + + DownloadShelfView + + + + + YES + + + hide: + + + + 6 + + + + view + + + + 9 + + + + + YES + + 0 + + YES + + + + + + -2 + + + RmlsZSdzIE93bmVyA + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 3 + + + YES + + + + + + 4 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBEditorWindowLastContentRect + 1.IBPluginDependency + 1.WindowOrigin + 1.editorWindowContentRectSynchronizationRect + 3.IBPluginDependency + 4.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{509, 905}, {480, 40}} + com.apple.InterfaceBuilder.CocoaPlugin + {628, 654} + {{357, 416}, {480, 272}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + YES + + + YES + + + + + YES + + YES + + + YES + + + + 9 + + + + YES + + DownloadShelfController + NSViewController + + YES + + YES + hide: + show: + + + YES + id + id + + + + IBProjectSource + browser/cocoa/download_shelf_controller.h + + + + DownloadShelfView + NSView + + IBProjectSource + browser/cocoa/download_shelf_view.h + + + + NSObject + + IBProjectSource + browser/cocoa/tab_strip_model_observer_bridge.h + + + + + 0 + ../../../chrome.xcodeproj + 3 + + + + + + 1050 + 9J61 + 677 + 949.46 + 353.00 + + YES + + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + YES + + YES + + + YES + + + + YES + + DownloadShelfController + + + FirstResponder + + + NSApplication + + + + 290 + + YES + + + 289 + {{456, 12}, {15, 15}} + + YES + + 67239424 + 134217728 + + + LucidaGrande + 1.300000e+01 + 1044 + + + 142360831 + 6 + + NSImage + close_bar + + + NSImage + close_bar_p + + + + 200 + 25 + + + + {480, 40} + + DownloadShelfView + + + + + YES + + + hide: + + + + 6 + + + + view + + + + 9 + + + + + YES + + 0 + + YES + + + + + + -2 + + + RmlsZSdzIE93bmVyA + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 3 + + + YES + + + + + + 4 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBEditorWindowLastContentRect + 1.IBPluginDependency + 1.WindowOrigin + 1.editorWindowContentRectSynchronizationRect + 3.IBPluginDependency + 4.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{509, 905}, {480, 40}} + com.apple.InterfaceBuilder.CocoaPlugin + {628, 654} + {{357, 416}, {480, 272}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + YES + + + YES + + + + + YES + + YES + + + YES + + + + 9 + + + + YES + + DownloadShelfController + NSViewController + + YES + + YES + hide: + show: + + + YES + id + id + + + + IBProjectSource + browser/cocoa/download_shelf_controller.h + + + + DownloadShelfView + NSView + + IBProjectSource + browser/cocoa/download_shelf_view.h + + + + NSObject + + IBProjectSource + browser/cocoa/tab_strip_model_observer_bridge.h + + + + + 0 + ../../../chrome.xcodeproj + 3 + + + + + + 1050 + 9J61 + 677 + 949.46 + 353.00 + + YES + + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + YES + + YES + + + YES + + + + YES + + DownloadShelfController + + + FirstResponder + + + NSApplication + + + + 290 + + YES + + + 289 + {{456, 12}, {15, 15}} + + YES + + 67239424 + 134217728 + + + LucidaGrande + 1.300000e+01 + 1044 + + + 142360831 + 6 + + NSImage + close_bar + + + NSImage + close_bar_p + + + + 200 + 25 + + + + {480, 40} + + DownloadShelfView + + + + + YES + + + hide: + + + + 6 + + + + view + + + + 9 + + + + + YES + + 0 + + YES + + + + + + -2 + + + RmlsZSdzIE93bmVyA + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 3 + + + YES + + + + + + 4 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBEditorWindowLastContentRect + 1.IBPluginDependency + 1.WindowOrigin + 1.editorWindowContentRectSynchronizationRect + 3.IBPluginDependency + 4.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{509, 905}, {480, 40}} + com.apple.InterfaceBuilder.CocoaPlugin + {628, 654} + {{357, 416}, {480, 272}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + YES + + + YES + + + + + YES + + YES + + + YES + + + + 9 + + + + YES + + DownloadShelfController + NSViewController + + YES + + YES + hide: + show: + + + YES + id + id + + + + IBProjectSource + browser/cocoa/download_shelf_controller.h + + + + DownloadShelfView + NSView + + IBProjectSource + browser/cocoa/download_shelf_view.h + + + + NSObject + + IBProjectSource + browser/cocoa/tab_strip_model_observer_bridge.h + + + + + 0 + ../../../chrome.xcodeproj + 3 + + -- cgit v1.1