diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-28 18:24:56 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-28 18:24:56 +0000 |
commit | 1dda4022a94ea32b79de8880541bce53d30a89a7 (patch) | |
tree | 7d6eb946ae1c1dd0d8f2d3b6798615d6bcdecdea /chrome/app | |
parent | 468d0a051ed14b487321ff3535f2adc9b47f62a1 (diff) | |
download | chromium_src-1dda4022a94ea32b79de8880541bce53d30a89a7.zip chromium_src-1dda4022a94ea32b79de8880541bce53d30a89a7.tar.gz chromium_src-1dda4022a94ea32b79de8880541bce53d30a89a7.tar.bz2 |
Added a "Reload Frame" command to context menu of a frame in the html page.
It was nessessary to add a IPC Message with no Paramter for the reload frame
request to the webkit renderer and to add a menu string. The command should
only reload the frame clicked in for opening the context menu and let the
other parts of the webpage unmodified and unrefreshed.
BUG=3858
TEST=Try to click on "Reload Frame" in the context menu of a frame and see if that frame reloads.
Review URL: http://codereview.chromium.org/552126
Patch from alexander@sulfrian.net.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37414 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/generated_resources.grd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index c2674b8..b9acb02 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -346,6 +346,9 @@ each locale. --> Re&load </message> + <message name="IDS_CONTENT_CONTEXT_RELOADFRAME" desc="The name of the Reload Frame command in the content area context menu"> + Reload frame + </message> <message name="IDS_CONTENT_CONTEXT_OPENFRAMENEWWINDOW" desc="The name of the Open Frame in New Window command in the content area context menu"> Open frame in new &window </message> @@ -525,6 +528,9 @@ each locale. --> Re&load </message> + <message name="IDS_CONTENT_CONTEXT_RELOADFRAME" desc="In Title Case: The name of the Reload Frame command in the content area context menu"> + Reload Frame + </message> <message name="IDS_CONTENT_CONTEXT_OPENFRAMENEWWINDOW" desc="In Title Case: The name of the Open Frame in New Window command in the content area context menu"> Open Frame in New &Window </message> |