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

Unified Diff: chrome/browser/ui/webui/options2/chromeos/pointer_handler2.cc

Issue 10274024: Learn more link for simple scrolling. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/options2/chromeos/pointer_overlay.html ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options2/chromeos/pointer_handler2.cc
===================================================================
--- chrome/browser/ui/webui/options2/chromeos/pointer_handler2.cc (revision 134559)
+++ chrome/browser/ui/webui/options2/chromeos/pointer_handler2.cc (working copy)
@@ -5,9 +5,12 @@
#include "chrome/browser/ui/webui/options2/chromeos/pointer_handler2.h"
#include "base/basictypes.h"
+#include "base/utf_string_conversions.h"
#include "base/values.h"
+#include "chrome/common/url_constants.h"
#include "content/public/browser/web_ui.h"
#include "grit/generated_resources.h"
+#include "ui/base/l10n/l10n_util.h"
namespace chromeos {
namespace options2 {
@@ -29,12 +32,15 @@
IDS_OPTIONS_POINTER_OVERLAY_SECTION_TITLE_MOUSE },
{ "enableTapToClick",
IDS_OPTIONS_SETTINGS_TAP_TO_CLICK_ENABLED_DESCRIPTION },
- { "naturalScroll",
- IDS_OPTIONS_SETTINGS_NATURAL_SCROLL_DESCRIPTION },
{ "primaryMouseRight",
IDS_OPTIONS_SETTINGS_PRIMARY_MOUSE_RIGHT_DESCRIPTION },
};
+ localized_strings->SetString("naturalScroll",
+ l10n_util::GetStringFUTF16(
+ IDS_OPTIONS_SETTINGS_NATURAL_SCROLL_DESCRIPTION,
+ ASCIIToUTF16(chrome::kNaturalScrollHelpURL)));
+
RegisterStrings(localized_strings, resources, arraysize(resources));
}
« no previous file with comments | « chrome/browser/resources/options2/chromeos/pointer_overlay.html ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698