summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-08 11:17:05 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-08 11:17:05 +0000
commitc1bbaa8facd0471060ff4c21b5628e38cfcb3a9c (patch)
tree007df9eaed0a15893e82b06a6c8be8a558d5b730 /chrome/app
parent592b68b097ae2028a100f2aacb416ac015968de9 (diff)
downloadchromium_src-c1bbaa8facd0471060ff4c21b5628e38cfcb3a9c.zip
chromium_src-c1bbaa8facd0471060ff4c21b5628e38cfcb3a9c.tar.gz
chromium_src-c1bbaa8facd0471060ff4c21b5628e38cfcb3a9c.tar.bz2
First cut of the about:conflicts page, listing all DLLs loaded in the Chrome process.
BUG=http://crbug.com/51105, http://crbug.com/57239 TEST=Unit tests included. Review URL: http://codereview.chromium.org/4524002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65366 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/chrome_dll_resource.h1
-rw-r--r--chrome/app/chromium_strings.grd10
-rw-r--r--chrome/app/generated_resources.grd71
-rw-r--r--chrome/app/google_chrome_strings.grd10
-rw-r--r--chrome/app/theme/theme_resources.grd7
5 files changed, 99 insertions, 0 deletions
diff --git a/chrome/app/chrome_dll_resource.h b/chrome/app/chrome_dll_resource.h
index 42bbdf4..d144d36 100644
--- a/chrome/app/chrome_dll_resource.h
+++ b/chrome/app/chrome_dll_resource.h
@@ -209,6 +209,7 @@
#define IDC_AUTOFILL_DEFAULT 40023
#define IDC_DEV_TOOLS_INSPECT 40025
#define IDC_UPGRADE_DIALOG 40026
+#define IDC_VIEW_INCOMPATIBILITIES 40027
// Spell-check
// Insert any additional suggestions before _LAST; these have to be consecutive.
diff --git a/chrome/app/chromium_strings.grd b/chrome/app/chromium_strings.grd
index d25125f..8a89544 100644
--- a/chrome/app/chromium_strings.grd
+++ b/chrome/app/chromium_strings.grd
@@ -454,6 +454,16 @@ be available for now. -->
<message name="IDS_TRY_TOAST_WHY" desc="Text of the url link that explains why this dialog is being shown">
Why am I seeing this?
</message>
+ <!-- about:conflicts strings -->
+ <message name="IDS_CONFLICTS_CHECK_PAGE_TITLE_LONG" desc="The long title on the compatibility page">
+ Modules loaded into Chromium
+ </message>
+ <message name="IDS_CONFLICTS_CHECK_WARNING_CONFIRMED" desc="Warning label on the compatibility page">
+ This module is known to conflict with Chromium.
+ </message>
+ <message name="IDS_CONFLICTS_CHECK_WARNING_SUSPECTED" desc="Warning label on the compatibility page">
+ A module with the same name has been known to conflict with Chromium.
+ </message>
<if expr="os == 'darwin'">
<message name="IDS_SHORT_PRODUCT_NAME" desc="The application's short name, used for the Mac's application menu, activity monitor, etc. This should be less than 16 characters. Example: Chrome, not Google Chrome.">
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index d107443..2964ae5 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -1016,6 +1016,9 @@ each locale. -->
<message name="IDS_UPDATE_NOW" desc="The text label of the Update Chrome Now menu item">
Update &amp;<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>
</message>
+ <message name="IDS_VIEW_INCOMPATIBILITIES" desc="The text label of the View incompatibilities menu item">
+ View incompatibilities
+ </message>
<message name="IDS_EXIT" desc="The text label of the Exit menu item">
E&amp;xit
</message>
@@ -1054,6 +1057,9 @@ each locale. -->
<message name="IDS_UPDATE_NOW" desc="In Title Case: The text label of the Update Chrome Now menu item">
Update &amp;<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>
</message>
+ <message name="IDS_VIEW_INCOMPATIBILITIES" desc="The text label of the View incompatibilities menu item">
+ View Incompatibilities
+ </message>
<message name="IDS_EXIT" desc="In Title Case: The text label of the Exit menu item">
E&amp;xit
</message>
@@ -4076,6 +4082,12 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_FLAGS_CLOUD_PRINT_PROXY_DESCRIPTION" desc="Description of the Cloud Print Proxy lab">
Enables a background service that connects the <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> service to any printers installed on this computer. Once this lab is enabled, you can turn <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> on by logging in with your Google account in the Options/Preferences in the Under the Hood section.
</message>
+ <message name="IDS_FLAGS_CONFLICTS_CHECK_NAME" desc="Title of the run conflicts check flag">
+ Check for known conflicts with 3rd party modules.
+ </message>
+ <message name="IDS_FLAGS_CONFLICTS_CHECK_DESCRIPTION" desc="Description of the conflicts check flag">
+ Enables a background check that warns you when a software incompatibility is detected (ie. 3rd party modules that crash the browser).
+ </message>
<message name="IDS_FLAGS_ACCELERATED_COMPOSITING_NAME" desc="Name of the 'GPU Accelerated Compositing' lab.">
GPU Accelerated Compositing
</message>
@@ -4142,6 +4154,65 @@ Keep your key file in a safe place. You will need it to create new versions of y
Omnibox input may be logged
</message>
+ <!-- Conflicts page -->
+ <message name="IDS_CONFLICTS_CHECK_PAGE_TABLE_TITLE_SUFFIX_ONE" desc="What gets appended after the page title if no conflicts were found.">
+ Modules (<ph name="TOTAL_COUNT">$1<ex>50</ex></ph>) - No conflicts detected
+ </message>
+ <message name="IDS_CONFLICTS_CHECK_PAGE_TABLE_TITLE_SUFFIX_TWO" desc="What gets appended after the page title (number of conflicts found).">
+ Modules (<ph name="TOTAL_COUNT">$1<ex>50</ex></ph>) - Known conflicts: <ph name="BAD_COUNT">$2<ex>3</ex></ph>, suspected: <ph name="SUSPICIOUS_COUNT">$3<ex>2</ex></ph>
+ </message>
+ <message name="IDS_CONFLICTS_EXPLANATION_TEXT" desc="The text blurb explaining what the compatibility page is.">
+ This page lists all modules loaded into the main process and modules registered to load at a later point.
+ </message>
+ <message name="IDS_CONFLICTS_HELP_CENTER_LINK" desc="The text for the Help Center link.">
+ Learn more
+ </message>
+ <message name="IDS_CONFLICTS_CHECK_WARNING_PREFIX" desc="Warning label prefix on the compatibility page">
+ Warning:
+ </message>
+ <message name="IDS_CONFLICTS_CHECK_VERSION_STRING" desc="The version string to show on the compatibility page">
+ Version <ph name="VERSION">$1<ex>1.2.3.4</ex></ph>.
+ </message>
+ <message name="IDS_CONFLICTS_CHECK_INVESTIGATING" desc="A label on the compatibility page saying we are investigating.">
+ We are currently investigating this issue.
+ </message>
+ <message name="IDS_CONFLICTS_CHECK_POSSIBLE_ACTIONS" desc="A label on the compatibility page describing possible resolutions.">
+ If you are experiencing frequent problems, you could try the following to resolve the issue with this module:
+ </message>
+ <message name="IDS_CONFLICTS_CHECK_POSSIBLE_ACTION_UNINSTALL" desc="An uninstall label. 'It' refers to 'a module'.">
+ Uninstalling
+ </message>
+ <message name="IDS_CONFLICTS_CHECK_POSSIBLE_ACTION_UPDATE" desc="An update label. 'It' refers to 'a module'.">
+ Updating
+ </message>
+ <message name="IDS_CONFLICTS_CHECK_POSSIBLE_ACTION_DISABLE" desc="A disable label. 'It' refers to 'a module'.">
+ Disabling
+ </message>
+ <message name="IDS_CONFLICTS_CHECK_POSSIBLE_ACTION_SEPERATOR" desc="The separator separating the words 'Uninstalling it', 'Updating it' and 'Disabling it'">
+ /
+ </message>
+ <message name="IDS_CONFLICTS_NO_MODULES_LOADED" desc="Error message for when no modules were found in the process">
+ Unable to detect any modules loaded.
+ </message>
+ <message name="IDS_CONFLICTS_HEADER_SOFTWARE" desc="The 'Software:' header for each module item in the list">
+ Software:
+ </message>
+ <message name="IDS_CONFLICTS_HEADER_SIGNED_BY" desc="The 'Signed by:' header for each module item in the list">
+ Signed by:
+ </message>
+ <message name="IDS_CONFLICTS_HEADER_LOCATION" desc="The 'Location:' header for each module item in the list">
+ Location:
+ </message>
+ <message name="IDS_CONFLICTS_HEADER_WARNING" desc="The 'Warning:' header for each module item in the list">
+ Warning:
+ </message>
+ <message name="IDS_CONFLICTS_HEADER_HELP_TIP" desc="The 'Help tip:' header for each module item in the list">
+ Help tip:
+ </message>
+ <message name="IDS_HELP_CENTER_VIEW_CONFLICTS" desc="The url of the Help center article for the View Conflicts page">
+ http://www.google.com/support/chrome/bin/answer.py?answer=666386&amp;hl=[GRITLANGCODE]&amp;n=<ph name="NAME">$1<ex>Hash</ex></ph>&amp;l=<ph name="LOCATION">$2<ex>Hash</ex></ph>&amp;d=<ph name="DESC">$3<ex>Hash</ex></ph>&amp;s=<ph name="SIGNER">$4<ex>Hash</ex></ph>
+ </message>
+
<!-- Click-to-load -->
<message name="IDS_PLUGIN_LOAD" desc="The link for loading a blocked plug-in, displayed in the click-to-play UI.">
Click to run this plug-in
diff --git a/chrome/app/google_chrome_strings.grd b/chrome/app/google_chrome_strings.grd
index 20ac348..116953a 100644
--- a/chrome/app/google_chrome_strings.grd
+++ b/chrome/app/google_chrome_strings.grd
@@ -505,6 +505,16 @@ Chrome supports. -->
<message name="IDS_TRY_TOAST_WHY" desc="Text of the url link that explains why this dialog is being shown">
Why am I seeing this?
</message>
+ <!-- about:conflicts strings -->
+ <message name="IDS_CONFLICTS_CHECK_PAGE_TITLE_LONG" desc="The long title on the compatibility page">
+ Modules loaded into Google Chrome
+ </message>
+ <message name="IDS_CONFLICTS_CHECK_WARNING_CONFIRMED" desc="Warning label on the compatibility page">
+ This module is known to conflict with Google Chrome.
+ </message>
+ <message name="IDS_CONFLICTS_CHECK_WARNING_SUSPECTED" desc="Warning label on the compatibility page">
+ A module with the same name has been known to conflict with Google Chrome.
+ </message>
<if expr="os == 'darwin'">
<message name="IDS_SHORT_PRODUCT_NAME" desc="The application's short name, used for the Mac's application menu, activity monitor, etc. This should be less than 16 characters. Example: Chrome, not Google Chrome.">
diff --git a/chrome/app/theme/theme_resources.grd b/chrome/app/theme/theme_resources.grd
index 79e63b9..e8a3963 100644
--- a/chrome/app/theme/theme_resources.grd
+++ b/chrome/app/theme/theme_resources.grd
@@ -76,6 +76,9 @@
<include name="IDR_CLOSE_BAR_MASK" file="close_bar_mask.png" type="BINDATA" />
<include name="IDR_CLOSE_BAR_P" file="close_bar_p.png" type="BINDATA" />
<include name="IDR_CLOSE_BUTTON_MASK" file="close_button_mask.png" type="BINDATA" />
+ <if expr="os.find('win') != -1">
+ <include name="IDR_CONFLICTS" file="conflicts.png" type="BINDATA" />
+ </if>
<include name="IDR_CONSTRAINED_BOTTOM_CENTER_V" file="constrained_bottom_center_v.png" type="BINDATA" />
<include name="IDR_CONSTRAINED_BOTTOM_LEFT_CORNER_V" file="constrained_bottom_left_corner_v.png" type="BINDATA" />
<include name="IDR_CONSTRAINED_BOTTOM_RIGHT_CORNER_V" file="constrained_bottom_right_corner_v.png" type="BINDATA" />
@@ -169,6 +172,10 @@
<include name="IDR_HOME" file="home.png" type="BINDATA" />
<include name="IDR_HOME_H" file="home_h.png" type="BINDATA" />
<include name="IDR_HOME_P" file="home_p.png" type="BINDATA" />
+ <if expr="os.find('win') != -1">
+ <include name="IDR_INCOMPATIBILITY_DOT_ACTIVE" file="incompatibility_dot_active.png" type="BINDATA" />
+ <include name="IDR_INCOMPATIBILITY_DOT_INACTIVE" file="incompatibility_dot_inactive.png" type="BINDATA" />
+ </if>
<include name="IDR_INFOBAR_ALT_NAV_URL" file="infobar_didyoumean.png" type="BINDATA" />
<include name="IDR_INFOBAR_AUTOFILL" file="infobar_autofill.png" type="BINDATA" />
<include name="IDR_INFOBAR_MULTIPLE_DOWNLOADS" file="infobar_multiple_downloads.png" type="BINDATA" />