Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(552)

Side by Side Diff: components/new_or_sad_tab_strings.grdp

Issue 2172013002: Wire up OOM exception to the sad tab page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@memory2
Patch Set: increment outside macro Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <grit-part> 2 <grit-part>
3 3
4 <message name="IDS_DEFAULT_TAB_TITLE" desc="The default title in a tab."> 4 <message name="IDS_DEFAULT_TAB_TITLE" desc="The default title in a tab.">
5 Untitled 5 Untitled
6 </message> 6 </message>
7 7
8 <!-- Sad Tab Strings --> 8 <!-- Sad Tab Strings -->
9 <message name="IDS_SAD_TAB_TITLE" desc="The title of the sad tab page that is shown when a tab crashes. This is intended to be a humorous exclamation of d ismay." formatter_data="android_java"> 9 <message name="IDS_SAD_TAB_TITLE" desc="The title of the sad tab page that is shown when a tab crashes. This is intended to be a humorous exclamation of d ismay." formatter_data="android_java">
10 Aw, Snap! 10 Aw, Snap!
11 </message> 11 </message>
12 <message name="IDS_SAD_TAB_MESSAGE" desc="The message displayed on the sad tab page." formatter_data="android_java"> 12 <message name="IDS_SAD_TAB_MESSAGE" desc="The message displayed on the sad tab page." formatter_data="android_java">
13 Something went wrong while displaying this webpage. 13 Something went wrong while displaying this webpage.
14 </message> 14 </message>
15 <if expr="_google_chrome">
16 <message name="IDS_SAD_TAB_OOM_MESSAGE" desc="The message displayed on t he sad tab page if the tab died due to being out of memory." formatter_data="and roid_java">
17 Google Chrome ran out of memory while trying to display this webpage.
18 </message>
19 </if>
20 <if expr="not _google_chrome">
21 <message name="IDS_SAD_TAB_OOM_MESSAGE" desc="The message displayed on t he sad tab page if the tab died due to being out of memory." formatter_data="and roid_java">
22 Chromium ran out of memory while trying to display this webpage.
23 </message>
24 </if>
15 <message name="IDS_SAD_TAB_HELP_MESSAGE" desc="The help message displayed on the sad tab page, with IDS_SAD_TAB_HELP_LINK embedded as a link to help."> 25 <message name="IDS_SAD_TAB_HELP_MESSAGE" desc="The help message displayed on the sad tab page, with IDS_SAD_TAB_HELP_LINK embedded as a link to help.">
16 If you're seeing this frequently, try these <ph name="HELP_LINK">$1<ex>s uggestions</ex></ph>. 26 If you're seeing this frequently, try these <ph name="HELP_LINK">$1<ex>s uggestions</ex></ph>.
17 </message> 27 </message>
18 <message name="IDS_SAD_TAB_HELP_LINK" desc="The link text displayed on the sad tab page pointing the users to a help article."> 28 <message name="IDS_SAD_TAB_HELP_LINK" desc="The link text displayed on the sad tab page pointing the users to a help article.">
19 suggestions 29 suggestions
20 </message> 30 </message>
21 <message name="IDS_SAD_TAB_RELOAD_LABEL" desc="Button label in the sad tab page for reloading a page." formatter_data="android_java"> 31 <message name="IDS_SAD_TAB_RELOAD_LABEL" desc="Button label in the sad tab page for reloading a page." formatter_data="android_java">
22 Reload 32 Reload
23 </message> 33 </message>
24 34
(...skipping 19 matching lines...) Expand all
44 desc="OTR window warning message. This follows the IDS_NEW_TAB_ OTR_DESCRIPTION paragraph"> 54 desc="OTR window warning message. This follows the IDS_NEW_TAB_ OTR_DESCRIPTION paragraph">
45 However, you aren’t invisible. Going incognito doesn’t hide your brows ing from your employer, your internet service provider, or the websites you visi t. 55 However, you aren’t invisible. Going incognito doesn’t hide your brows ing from your employer, your internet service provider, or the websites you visi t.
46 </message> 56 </message>
47 </if> 57 </if>
48 <message name="IDS_NEW_TAB_UNDO_THUMBNAIL_REMOVE" 58 <message name="IDS_NEW_TAB_UNDO_THUMBNAIL_REMOVE"
49 desc="Action link text to undo removing a thumbnail from the most visit ed section."> 59 desc="Action link text to undo removing a thumbnail from the most visit ed section.">
50 Undo 60 Undo
51 </message> 61 </message>
52 62
53 </grit-part> 63 </grit-part>
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/sad_tab_view.cc ('k') | extensions/browser/guest_view/web_view/web_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698