| OLD | NEW |
| 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/options2/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/utf_string_conversions.h" | 8 #include "base/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 "content/public/browser/web_ui.h" | 11 #include "content/public/browser/web_ui.h" |
| 12 #include "grit/generated_resources.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 { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 "pointerOverlayTitleTouchpadOnly"; | 73 "pointerOverlayTitleTouchpadOnly"; |
| 74 } else { | 74 } else { |
| 75 label = has_mouse_ ? "pointerOverlayTitleMouseOnly" : ""; | 75 label = has_mouse_ ? "pointerOverlayTitleMouseOnly" : ""; |
| 76 } | 76 } |
| 77 base::StringValue val(label); | 77 base::StringValue val(label); |
| 78 web_ui()->CallJavascriptFunction("PointerOverlay.setTitle", val); | 78 web_ui()->CallJavascriptFunction("PointerOverlay.setTitle", val); |
| 79 } | 79 } |
| 80 | 80 |
| 81 } // namespace options | 81 } // namespace options |
| 82 } // namespace chromeos | 82 } // namespace chromeos |
| OLD | NEW |