summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/chrome_frame_plugin.h')
-rw-r--r--chrome_frame/chrome_frame_plugin.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome_frame/chrome_frame_plugin.h b/chrome_frame/chrome_frame_plugin.h
index 078a611..17fb6572 100644
--- a/chrome_frame/chrome_frame_plugin.h
+++ b/chrome_frame/chrome_frame_plugin.h
@@ -8,8 +8,11 @@
#include "base/ref_counted.h"
#include "base/win_util.h"
#include "chrome_frame/chrome_frame_automation.h"
+#include "chrome_frame/simple_resource_loader.h"
#include "chrome_frame/utils.h"
+#include "grit/chromium_strings.h"
+
#define IDC_ABOUT_CHROME_FRAME 40018
// A class to implement common functionality for all types of
@@ -181,10 +184,8 @@ END_MSG_MAP()
// Override in most-derived class if needed.
bool PreProcessContextMenu(HMENU menu) {
// Add an "About" item.
- // TODO: The string should be localized and menu should
- // be modified in ExternalTabContainer:: once we go public.
AppendMenu(menu, MF_STRING, IDC_ABOUT_CHROME_FRAME,
- L"About Chrome Frame...");
+ SimpleResourceLoader::Get(IDS_CHROME_FRAME_MENU_ABOUT).c_str());
return true;
}