summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 20:09:11 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 20:09:11 +0000
commit4d0aeb3183c83c9ebd7ec5e81747a3e7152797fb (patch)
tree08966b796fe9847af7ff1efea3e2ba36b19180ce
parent2b3102bea014c815d42aaf99a97e8da462a6ea5c (diff)
downloadchromium_src-4d0aeb3183c83c9ebd7ec5e81747a3e7152797fb.zip
chromium_src-4d0aeb3183c83c9ebd7ec5e81747a3e7152797fb.tar.gz
chromium_src-4d0aeb3183c83c9ebd7ec5e81747a3e7152797fb.tar.bz2
Put a button to link to proxy setup into the prefs dialog.
nib changes: Added two static strings, button. BUG=http://crbug.com/22009 TEST=as in bug Review URL: http://codereview.chromium.org/1759001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45227 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/app/nibs/Preferences.xib176
-rw-r--r--chrome/browser/cocoa/preferences_window_controller.h1
-rw-r--r--chrome/browser/cocoa/preferences_window_controller.mm22
3 files changed, 174 insertions, 25 deletions
diff --git a/chrome/app/nibs/Preferences.xib b/chrome/app/nibs/Preferences.xib
index 067261d..0ba5f9c 100644
--- a/chrome/app/nibs/Preferences.xib
+++ b/chrome/app/nibs/Preferences.xib
@@ -8,10 +8,10 @@
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <integer value="482"/>
<integer value="3"/>
<integer value="481"/>
<integer value="74"/>
- <integer value="482"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -167,7 +167,7 @@
<object class="NSButton" id="602116533">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">265</int>
- <string key="NSFrame">{{356, 317}, {73, 32}}</string>
+ <string key="NSFrame">{{356, 411}, {73, 32}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="82310084">
@@ -191,7 +191,7 @@
<object class="NSTextField" id="1032231978">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{17, 606}, {447, 17}}</string>
+ <string key="NSFrame">{{17, 700}, {447, 17}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="710610494">
@@ -228,7 +228,7 @@
<object class="NSTextField" id="287656702">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">266</int>
- <string key="NSFrame">{{17, 192}, {409, 17}}</string>
+ <string key="NSFrame">{{17, 286}, {409, 17}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="237538019">
@@ -244,7 +244,7 @@
<object class="NSTextField" id="412658410">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">266</int>
- <string key="NSFrame">{{29, 262}, {397, 17}}</string>
+ <string key="NSFrame">{{29, 356}, {397, 17}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="786981193">
@@ -264,7 +264,7 @@
<object class="NSTextField" id="1043699198">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">266</int>
- <string key="NSFrame">{{29, 529}, {397, 17}}</string>
+ <string key="NSFrame">{{29, 623}, {397, 17}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="494850700">
@@ -280,7 +280,7 @@
<object class="NSButton" id="348105916">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{38, 221}, {158, 32}}</string>
+ <string key="NSFrame">{{38, 315}, {158, 32}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="1018797611">
@@ -300,7 +300,7 @@
<object class="NSButton" id="480577047">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">266</int>
- <string key="NSFrame">{{30, 469}, {395, 18}}</string>
+ <string key="NSFrame">{{30, 563}, {395, 18}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="298042898">
@@ -327,7 +327,7 @@
<object class="NSButton" id="808321623">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">266</int>
- <string key="NSFrame">{{30, 449}, {395, 18}}</string>
+ <string key="NSFrame">{{30, 543}, {395, 18}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="874031585">
@@ -349,7 +349,7 @@
<object class="NSButton" id="139965100">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">266</int>
- <string key="NSFrame">{{30, 429}, {395, 18}}</string>
+ <string key="NSFrame">{{30, 523}, {395, 18}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="647261577">
@@ -407,7 +407,7 @@
<object class="NSButton" id="217654608">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">266</int>
- <string key="NSFrame">{{30, 409}, {395, 18}}</string>
+ <string key="NSFrame">{{30, 503}, {395, 18}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="935362863">
@@ -467,7 +467,7 @@
<object class="NSTextField" id="630848197">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{17, 354}, {447, 17}}</string>
+ <string key="NSFrame">{{17, 448}, {447, 17}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="660352048">
@@ -492,7 +492,7 @@
<string>NSFilenamesPboardType</string>
</object>
</object>
- <string key="NSFrame">{{25, 327}, {329, 17}}</string>
+ <string key="NSFrame">{{25, 421}, {329, 17}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSPathCell" key="NSCell" id="25958950">
@@ -513,7 +513,7 @@
<object class="NSButton" id="928184762">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">266</int>
- <string key="NSFrame">{{42, 299}, {383, 18}}</string>
+ <string key="NSFrame">{{42, 393}, {383, 18}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="731161158">
@@ -535,7 +535,7 @@
<object class="NSButton" id="777041502">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{26, 134}, {170, 32}}</string>
+ <string key="NSFrame">{{26, 225}, {170, 32}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="526979400">
@@ -555,7 +555,7 @@
<object class="NSButton" id="346222444">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">266</int>
- <string key="NSFrame">{{30, 389}, {395, 18}}</string>
+ <string key="NSFrame">{{30, 483}, {395, 18}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="209704674">
@@ -577,7 +577,7 @@
<object class="NSButton" id="732733616">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{29, 507}, {96, 16}}</string>
+ <string key="NSFrame">{{29, 601}, {96, 16}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="21803731">
@@ -597,7 +597,7 @@
<object class="NSButton" id="553918619">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{279, 558}, {150, 32}}</string>
+ <string key="NSFrame">{{279, 652}, {150, 32}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="871001089">
@@ -617,7 +617,7 @@
<object class="NSButton" id="246942000">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{26, 558}, {253, 32}}</string>
+ <string key="NSFrame">{{26, 652}, {253, 32}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="42833123">
@@ -637,7 +637,7 @@
<object class="NSButton" id="332489843">
<reference key="NSNextResponder" ref="1016273328"/>
<int key="NSvFlags">266</int>
- <string key="NSFrame">{{30, 168}, {395, 18}}</string>
+ <string key="NSFrame">{{30, 262}, {395, 18}}</string>
<reference key="NSSuperview" ref="1016273328"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="1008555633">
@@ -656,8 +656,60 @@
<int key="NSPeriodicInterval">25</int>
</object>
</object>
+ <object class="NSTextField" id="724151236">
+ <reference key="NSNextResponder" ref="1016273328"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{17, 198}, {409, 17}}</string>
+ <reference key="NSSuperview" ref="1016273328"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSTextFieldCell" key="NSCell" id="305152492">
+ <int key="NSCellFlags">67239424</int>
+ <int key="NSCellFlags2">272629760</int>
+ <string key="NSContents">^IDS_OPTIONS_ADVANCED_SECTION_TITLE_NETWORK</string>
+ <reference key="NSSupport" ref="290273273"/>
+ <reference key="NSControlView" ref="724151236"/>
+ <reference key="NSBackgroundColor" ref="592613688"/>
+ <reference key="NSTextColor" ref="748094473"/>
+ </object>
+ </object>
+ <object class="NSTextField" id="953228172">
+ <reference key="NSNextResponder" ref="1016273328"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{29, 173}, {397, 17}}</string>
+ <reference key="NSSuperview" ref="1016273328"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSTextFieldCell" key="NSCell" id="932480195">
+ <int key="NSCellFlags">67239424</int>
+ <int key="NSCellFlags2">272629760</int>
+ <string key="NSContents">^IDS_OPTIONS_PROXIES_LABEL</string>
+ <reference key="NSSupport" ref="445696277"/>
+ <reference key="NSControlView" ref="953228172"/>
+ <reference key="NSBackgroundColor" ref="592613688"/>
+ <reference key="NSTextColor" ref="748094473"/>
+ </object>
+ </object>
+ <object class="NSButton" id="383918134">
+ <reference key="NSNextResponder" ref="1016273328"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{38, 134}, {170, 32}}</string>
+ <reference key="NSSuperview" ref="1016273328"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSButtonCell" key="NSCell" id="626667550">
+ <int key="NSCellFlags">67239424</int>
+ <int key="NSCellFlags2">134217728</int>
+ <string key="NSContents">^IDS_OPTIONS_PROXIES_CONFIGURE_BUTTON</string>
+ <reference key="NSSupport" ref="445696277"/>
+ <reference key="NSControlView" ref="383918134"/>
+ <int key="NSButtonFlags">-2038284033</int>
+ <int key="NSButtonFlags2">129</int>
+ <string key="NSAlternateContents"/>
+ <string key="NSKeyEquivalent"/>
+ <int key="NSPeriodicDelay">200</int>
+ <int key="NSPeriodicInterval">25</int>
+ </object>
+ </object>
</object>
- <string key="NSFrameSize">{443, 643}</string>
+ <string key="NSFrameSize">{443, 737}</string>
<reference key="NSSuperview"/>
<string key="NSClassName">NSView</string>
</object>
@@ -3678,6 +3730,14 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
</object>
<int key="connectionID">653</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">openProxyPreferences:</string>
+ <reference key="source" ref="1001"/>
+ <reference key="destination" ref="383918134"/>
+ </object>
+ <int key="connectionID">660</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -3748,12 +3808,15 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<reference ref="287656702"/>
<reference ref="246942000"/>
<reference ref="332489843"/>
+ <reference ref="553918619"/>
+ <reference ref="724151236"/>
+ <reference ref="953228172"/>
<reference ref="514356928"/>
<reference ref="860741341"/>
<reference ref="886068350"/>
<reference ref="733677494"/>
+ <reference ref="383918134"/>
<reference ref="777041502"/>
- <reference ref="553918619"/>
</object>
<reference key="parent" ref="956860932"/>
<string key="objectName">Under the Hood Content</string>
@@ -4888,6 +4951,48 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<reference key="object" ref="342125840"/>
<reference key="parent" ref="175093092"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">654</int>
+ <reference key="object" ref="724151236"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="305152492"/>
+ </object>
+ <reference key="parent" ref="1016273328"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">655</int>
+ <reference key="object" ref="305152492"/>
+ <reference key="parent" ref="724151236"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">656</int>
+ <reference key="object" ref="953228172"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="932480195"/>
+ </object>
+ <reference key="parent" ref="1016273328"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">657</int>
+ <reference key="object" ref="932480195"/>
+ <reference key="parent" ref="953228172"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">658</int>
+ <reference key="object" ref="383918134"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="626667550"/>
+ </object>
+ <reference key="parent" ref="1016273328"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">659</int>
+ <reference key="object" ref="626667550"/>
+ <reference key="parent" ref="383918134"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -5057,6 +5162,12 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<string>647.IBPluginDependency</string>
<string>648.IBPluginDependency</string>
<string>65.IBPluginDependency</string>
+ <string>654.IBPluginDependency</string>
+ <string>655.IBPluginDependency</string>
+ <string>656.IBPluginDependency</string>
+ <string>657.IBPluginDependency</string>
+ <string>658.IBPluginDependency</string>
+ <string>659.IBPluginDependency</string>
<string>66.IBPluginDependency</string>
<string>67.IBPluginDependency</string>
<string>69.IBPluginDependency</string>
@@ -5179,7 +5290,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<object class="NSMutableArray">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
- <string>{{1121, 700}, {530, 408}}</string>
+ <string>{{1204, 700}, {530, 408}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{87, 136}, {530, 463}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -5253,7 +5364,13 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{972, 839}, {443, 643}}</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>{{1204, 745}, {443, 737}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -5293,7 +5410,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">653</int>
+ <int key="maxID">660</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -5418,6 +5535,13 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">../third_party/GTM/Foundation/GTMNSObject+KeyValueObserving.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
<string key="minorKey">browser/cocoa/status_bubble_mac.h</string>
</object>
</object>
@@ -5459,6 +5583,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<string>importData:</string>
<string>makeDefaultBrowser:</string>
<string>manageSearchEngines:</string>
+ <string>openProxyPreferences:</string>
<string>privacyLearnMore:</string>
<string>removeSelectedHomepages:</string>
<string>resetThemeToDefault:</string>
@@ -5494,6 +5619,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
diff --git a/chrome/browser/cocoa/preferences_window_controller.h b/chrome/browser/cocoa/preferences_window_controller.h
index b351d13..c49a879 100644
--- a/chrome/browser/cocoa/preferences_window_controller.h
+++ b/chrome/browser/cocoa/preferences_window_controller.h
@@ -150,6 +150,7 @@ class ProfileSyncService;
- (IBAction)clearData:(id)sender;
- (IBAction)showContentSettings:(id)sender;
- (IBAction)privacyLearnMore:(id)sender;
+- (IBAction)openProxyPreferences:(id)sender;
- (IBAction)changeFontAndLanguageSettings:(id)sender;
- (IBAction)showCertificates:(id)sender;
diff --git a/chrome/browser/cocoa/preferences_window_controller.mm b/chrome/browser/cocoa/preferences_window_controller.mm
index 046dff1..0683fe8 100644
--- a/chrome/browser/cocoa/preferences_window_controller.mm
+++ b/chrome/browser/cocoa/preferences_window_controller.mm
@@ -1461,6 +1461,28 @@ const int kDisabledIndex = 1;
GURL(), NEW_WINDOW, PageTransition::LINK);
}
+- (IBAction)openProxyPreferences:(id)sender {
+ NSArray* itemsToOpen = [NSArray arrayWithObject:[NSURL fileURLWithPath:
+ @"/System/Library/PreferencePanes/Network.prefPane"]];
+
+ const char* proxyPrefCommand = "Proxies";
+ AEDesc openParams = { typeNull, NULL };
+ OSStatus status = AECreateDesc('ptru',
+ proxyPrefCommand,
+ strlen(proxyPrefCommand),
+ &openParams);
+ LOG_IF(ERROR, status != noErr) << "Failed to create open params: " << status;
+
+ LSLaunchURLSpec launchSpec = { 0 };
+ launchSpec.itemURLs = (CFArrayRef)itemsToOpen;
+ launchSpec.passThruParams = &openParams;
+ launchSpec.launchFlags = kLSLaunchAsync | kLSLaunchDontAddToRecents;
+ LSOpenFromURLSpec(&launchSpec, NULL);
+
+ if (openParams.descriptorType != typeNull)
+ AEDisposeDesc(&openParams);
+}
+
// Returns whether the alternate error page checkbox should be checked based
// on the preference.
- (BOOL)showAlternateErrorPages {