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

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/pointer_handler.cc

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/options/chromeos/pointer_handler.h" 5 #include "chrome/browser/ui/webui/options/chromeos/pointer_handler.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/common/url_constants.h" 10 #include "chrome/common/url_constants.h"
11 #include "chrome/grit/generated_resources.h"
11 #include "content/public/browser/web_ui.h" 12 #include "content/public/browser/web_ui.h"
12 #include "grit/generated_resources.h"
13 #include "ui/base/l10n/l10n_util.h" 13 #include "ui/base/l10n/l10n_util.h"
14 14
15 namespace chromeos { 15 namespace chromeos {
16 namespace options { 16 namespace options {
17 17
18 PointerHandler::PointerHandler() 18 PointerHandler::PointerHandler()
19 : has_touchpad_(false), 19 : has_touchpad_(false),
20 has_mouse_(false) { 20 has_mouse_(false) {
21 } 21 }
22 22
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 "pointerOverlayTitleTouchpadOnly"; 76 "pointerOverlayTitleTouchpadOnly";
77 } else { 77 } else {
78 label = has_mouse_ ? "pointerOverlayTitleMouseOnly" : ""; 78 label = has_mouse_ ? "pointerOverlayTitleMouseOnly" : "";
79 } 79 }
80 base::StringValue val(label); 80 base::StringValue val(label);
81 web_ui()->CallJavascriptFunction("PointerOverlay.setTitle", val); 81 web_ui()->CallJavascriptFunction("PointerOverlay.setTitle", val);
82 } 82 }
83 83
84 } // namespace options 84 } // namespace options
85 } // namespace chromeos 85 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698