OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/extensions/api/easy_unlock_private/easy_unlock_private_
api.h" | 5 #include "chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_
api.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 | 124 |
125 // Common strings. | 125 // Common strings. |
126 strings->SetString( | 126 strings->SetString( |
127 "learnMoreLinkTitle", | 127 "learnMoreLinkTitle", |
128 l10n_util::GetStringUTF16(IDS_EASY_UNLOCK_LEARN_MORE_LINK_TITLE)); | 128 l10n_util::GetStringUTF16(IDS_EASY_UNLOCK_LEARN_MORE_LINK_TITLE)); |
129 strings->SetString("deviceType", device_type); | 129 strings->SetString("deviceType", device_type); |
130 | 130 |
131 // Setup notification strings. | 131 // Setup notification strings. |
132 strings->SetString( | 132 strings->SetString( |
133 "setupNotificationTitle", | 133 "setupNotificationTitle", |
134 l10n_util::GetStringFUTF16(IDS_EASY_UNLOCK_SETUP_NOTIFICATION_TITLE, | 134 l10n_util::GetStringUTF16(IDS_EASY_UNLOCK_SETUP_NOTIFICATION_TITLE)); |
135 device_type)); | |
136 strings->SetString( | 135 strings->SetString( |
137 "setupNotificationMessage", | 136 "setupNotificationMessage", |
138 l10n_util::GetStringFUTF16(IDS_EASY_UNLOCK_SETUP_NOTIFICATION_MESSAGE, | 137 l10n_util::GetStringFUTF16(IDS_EASY_UNLOCK_SETUP_NOTIFICATION_MESSAGE, |
139 device_type)); | 138 device_type)); |
140 strings->SetString( | 139 strings->SetString( |
141 "setupNotificationButtonTitle", | 140 "setupNotificationButtonTitle", |
142 l10n_util::GetStringUTF16( | 141 l10n_util::GetStringUTF16( |
143 IDS_EASY_UNLOCK_SETUP_NOTIFICATION_BUTTON_TITLE)); | 142 IDS_EASY_UNLOCK_SETUP_NOTIFICATION_BUTTON_TITLE)); |
144 | 143 |
145 // Chromebook added to Easy Unlock notification strings. | 144 // Chromebook added to Easy Unlock notification strings. |
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
793 gfx::Range(params->link_range.start, params->link_range.end), | 792 gfx::Range(params->link_range.start, params->link_range.end), |
794 GURL(params->link_target), anchor_rect, web_contents); | 793 GURL(params->link_target), anchor_rect, web_contents); |
795 #else | 794 #else |
796 SetError("Not supported on non-Views platforms."); | 795 SetError("Not supported on non-Views platforms."); |
797 #endif | 796 #endif |
798 return true; | 797 return true; |
799 } | 798 } |
800 | 799 |
801 } // namespace api | 800 } // namespace api |
802 } // namespace extensions | 801 } // namespace extensions |
OLD | NEW |