summaryrefslogtreecommitdiffstats
path: root/chrome/app/nibs
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-21 21:27:17 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-21 21:27:17 +0000
commitf81f88b0106228cd408fd632235da64a0c64c4ce (patch)
treeb8336db32acae1cfefffb72fbf48208688fc5ca9 /chrome/app/nibs
parentfcdb746405a7289ecc02ff32d91197599ce1a45c (diff)
downloadchromium_src-f81f88b0106228cd408fd632235da64a0c64c4ce.zip
chromium_src-f81f88b0106228cd408fd632235da64a0c64c4ce.tar.gz
chromium_src-f81f88b0106228cd408fd632235da64a0c64c4ce.tar.bz2
Messaging of the download item for extension is now:
Extensions can harm your computer. Are you sure you want to continue? [Continue] [Discard] This involved taking out the GTMUILocalizerAndLayoutTweaker from the xib and placing it within the controller itself, since the content of the UI is determined at runtime and cannot rely simply on the xib contents. For Win and Linux, only the confirm button needed to change. Patch by Andy Bonventre <andybons@gmail.com> BUG=23105,25257 TEST=When clicking on a link to an extension, the messaging should be specific to extensions and the button to confirm the installation should be 'Continue' instead of 'Save'. Review URL: http://codereview.chromium.org/293014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29706 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/nibs')
-rw-r--r--chrome/app/nibs/DownloadItem.xib76
1 files changed, 25 insertions, 51 deletions
diff --git a/chrome/app/nibs/DownloadItem.xib b/chrome/app/nibs/DownloadItem.xib
index 9c9eef2..a707e11 100644
--- a/chrome/app/nibs/DownloadItem.xib
+++ b/chrome/app/nibs/DownloadItem.xib
@@ -12,7 +12,7 @@
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="66"/>
+ <integer value="80"/>
<integer value="24"/>
<integer value="13"/>
</object>
@@ -138,7 +138,7 @@
<object class="NSButtonCell" key="NSCell" id="136006556">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">134348800</int>
- <string key="NSContents">^IDS_SAVE_DOWNLOAD</string>
+ <string key="NSContents">SAVE</string>
<reference key="NSSupport" ref="26"/>
<reference key="NSControlView" ref="185082033"/>
<int key="NSButtonFlags">-2038284033</int>
@@ -374,9 +374,6 @@
</object>
</object>
</object>
- <object class="NSCustomObject" id="410401106">
- <string key="NSClassName">GTMUILocalizerAndLayoutTweaker</string>
- </object>
<object class="NSCustomObject" id="857584043">
<string key="NSClassName">ChromeUILocalizer</string>
</object>
@@ -546,35 +543,35 @@
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
- <string key="label">uiObject_</string>
- <reference key="source" ref="410401106"/>
- <reference key="destination" ref="1005"/>
+ <string key="label">image_</string>
+ <reference key="source" ref="1001"/>
+ <reference key="destination" ref="263710528"/>
</object>
- <int key="connectionID">86</int>
+ <int key="connectionID">94</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
- <string key="label">localizer_</string>
- <reference key="source" ref="410401106"/>
- <reference key="destination" ref="857584043"/>
+ <string key="label">dangerousDownloadConfirmButton_</string>
+ <reference key="source" ref="1001"/>
+ <reference key="destination" ref="185082033"/>
</object>
- <int key="connectionID">87</int>
+ <int key="connectionID">96</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
- <string key="label">buttonTweaker_</string>
+ <string key="label">localizer_</string>
<reference key="source" ref="1001"/>
- <reference key="destination" ref="411206214"/>
+ <reference key="destination" ref="857584043"/>
</object>
- <int key="connectionID">93</int>
+ <int key="connectionID">98</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
- <string key="label">image_</string>
+ <string key="label">buttonTweaker_</string>
<reference key="source" ref="1001"/>
- <reference key="destination" ref="263710528"/>
+ <reference key="destination" ref="411206214"/>
</object>
- <int key="connectionID">94</int>
+ <int key="connectionID">99</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
@@ -794,11 +791,6 @@
<reference key="parent" ref="979385092"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">82</int>
- <reference key="object" ref="410401106"/>
- <reference key="parent" ref="0"/>
- </object>
- <object class="IBObjectRecord">
<int key="objectID">83</int>
<reference key="object" ref="857584043"/>
<reference key="parent" ref="0"/>
@@ -846,7 +838,6 @@
<string>72.IBPluginDependency</string>
<string>73.IBPluginDependency</string>
<string>74.IBPluginDependency</string>
- <string>82.IBPluginDependency</string>
<string>83.IBPluginDependency</string>
</object>
<object class="NSMutableArray" key="dict.values">
@@ -891,7 +882,6 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
</object>
</object>
<object class="NSMutableDictionary" key="unlocalizedProperties">
@@ -910,7 +900,7 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">94</int>
+ <int key="maxID">99</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -967,9 +957,11 @@
<string>buttonTweaker_</string>
<string>cell_</string>
<string>completeDownloadMenu_</string>
+ <string>dangerousDownloadConfirmButton_</string>
<string>dangerousDownloadLabel_</string>
<string>dangerousDownloadView_</string>
<string>image_</string>
+ <string>localizer_</string>
<string>progressView_</string>
</object>
<object class="NSMutableArray" key="dict.values">
@@ -978,9 +970,11 @@
<string>GTMWidthBasedTweaker</string>
<string>DownloadItemCell</string>
<string>NSMenu</string>
+ <string>NSButton</string>
<string>NSTextField</string>
<string>NSView</string>
<string>NSImageView</string>
+ <string>ChromeUILocalizer</string>
<string>NSButton</string>
</object>
</object>
@@ -1013,29 +1007,6 @@
</object>
</object>
<object class="IBPartialClassDescription">
- <string key="className">GTMUILocalizerAndLayoutTweaker</string>
- <string key="superclassName">NSObject</string>
- <object class="NSMutableDictionary" key="outlets">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>localizerOwner_</string>
- <string>localizer_</string>
- <string>uiObject_</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>id</string>
- <string>GTMUILocalizer</string>
- <string>id</string>
- </object>
- </object>
- <object class="IBClassDescriptionSource" key="sourceIdentifier" id="609436413">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
<string key="className">GTMWidthBasedTweaker</string>
<string key="superclassName">NSView</string>
<object class="NSMutableDictionary" key="outlets">
@@ -1053,7 +1024,10 @@
<string>NSView</string>
</object>
</object>
- <reference key="sourceIdentifier" ref="609436413"/>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h</string>
+ </object>
</object>
<object class="IBPartialClassDescription">
<string key="className">GradientButtonCell</string>