diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-10 16:27:41 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-10 16:27:41 +0000 |
commit | 187eaa7886d5c8045889f32f363dc8820e0168d1 (patch) | |
tree | 2880fb7cfe5d8b49e1f6b030462f22490a01a580 /chrome/app | |
parent | e08cc13997d6f129fbc58d9100ff5e9d4a819237 (diff) | |
download | chromium_src-187eaa7886d5c8045889f32f363dc8820e0168d1.zip chromium_src-187eaa7886d5c8045889f32f363dc8820e0168d1.tar.gz chromium_src-187eaa7886d5c8045889f32f363dc8820e0168d1.tar.bz2 |
Added a method to check if a browser is closing.
Added a method to get the next node ID for bookmarks managed by the bookmark
model.
Added AppleScript support.
Added scripting definition file.
Added support for saving tab.
Added localization support.
Added consistent error nos/error messages.
(patch developed by v.a.shreyas@gmail.com)
BUG=27468
TEST=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55569 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/app-Info.plist | 2 | ||||
-rw-r--r-- | chrome/app/generated_resources.grd | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/chrome/app/app-Info.plist b/chrome/app/app-Info.plist index 334f3f1..98eebd4 100644 --- a/chrome/app/app-Info.plist +++ b/chrome/app/app-Info.plist @@ -152,6 +152,8 @@ <string>${CHROMIUM_CREATOR}</string> <key>NSAppleScriptEnabled</key> <true/> + <key>OSAScriptingDefinition</key> + <string>scripting.sdef</string> <key>CFBundleURLTypes</key> <array> <dict> diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index 492e86b..56acd3e 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -7278,6 +7278,44 @@ Keep your key file in a safe place. You will need it to create new versions of y </ph> now has <ph name="BEGIN_LINK"><a href="$2"></ph>extensions<ph name="END_LINK"></a></ph> and <ph name="BEGIN_BUTTON"><button></ph>bookmark sync<ph name="END_BUTTON"></button></ph>. </message> + <!-- Mac AppleScript --> + <if expr="os == 'darwin'"> + <message name="IDS_GET_PROFILE_ERROR_APPLESCRIPT_MAC" desc="Error dialog title to be displayed when profile fails to load. Mac-only."> + Could not get profile. + </message> + <message name="IDS_BOOKMARK_MODEL_LOAD_ERROR_APPLESCRIPT_MAC" desc="Error dialog title to be displayed when bookmark model fails to load. Mac-only."> + Could not load bookmark model. + </message> + <message name="IDS_CREATE_BOOKMARK_FOLDER_ERROR_APPLESCRIPT_MAC" desc="Error dialog title to be displayed when bookmark folder cannot be created. Mac-only."> + Could not create bookmark folder. + </message> + <message name="IDS_CREATE_BOOKMARK_ITEM_ERROR_APPLESCRIPT_MAC" desc="Error dialog title to be displayed when bookmark item cannot be created. Mac-only."> + Could not create bookmark item. + </message> + <message name="IDS_INVALID_URL_APPLESCRIPT_MAC" desc="Error dialog title to be displayed when invalid URL is entered. Mac-only."> + Invalid URL entered. + </message> + <message name="IDS_INITIATE_PRINTING_ERROR_APPLESCRIPT_MAC" desc="Error dialog title to be displayed when printing could not be initiated. Mac-only."> + Could not initiate printing. + </message> + <message name="IDS_INVALID_SAVE_TYPE_ERROR_APPLESCRIPT_MAC" desc="Error dialog title to be displayed when wrong save type is entered. Mac-only."> + Invalid save type entered. + </message> + <message name="IDS_INVALID_MODE_ERROR_APPLESCRIPT_MAC" desc="Error dialog title to be displayed when wrong save type is entered. Mac-only."> + Invalid mode entered. + </message> + <message name="IDS_INVALID_TAB_INDEX_APPLESCRIPT_MAC" desc="Error dialog title to be displayed when invalid tab index is entered. Mac-only."> + Invalid tab index entered. + </message> + <message name="IDS_SET_MODE_APPLESCRIPT_MAC" desc="Error dialog title to be displayed when mode is entered after window is created. Mac-only."> + Cannot set mode after window is set. + </message> + <message name="IDS_WRONG_INDEX_ERROR_APPLESCRIPT_MAC" desc="Error dialog title to be displayed when ordered index is out of bounds. Mac-only."> + Wrong index. + </message> + </if> <!-- os == 'darwin' --> + + <!-- Mac Menubar Menus --> <if expr="os == 'darwin'"> <!-- Menubar Menu Titles --> |