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

Side by Side Diff: chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc

Issue 16699002: bookmarks: Get rid of IDS_BOOKMARK_MANAGER_TOOLS_MENU. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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
« no previous file with comments | « chrome/app/bookmarks_strings.grdp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/extensions/api/bookmark_manager_private/bookmark_manage r_private_api.h" 5 #include "chrome/browser/extensions/api/bookmark_manager_private/bookmark_manage r_private_api.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 return true; 322 return true;
323 } 323 }
324 324
325 bool BookmarkManagerPrivateGetStringsFunction::RunImpl() { 325 bool BookmarkManagerPrivateGetStringsFunction::RunImpl() {
326 DictionaryValue* localized_strings = new DictionaryValue(); 326 DictionaryValue* localized_strings = new DictionaryValue();
327 327
328 localized_strings->SetString("title", 328 localized_strings->SetString("title",
329 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_TITLE)); 329 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_TITLE));
330 localized_strings->SetString("search_button", 330 localized_strings->SetString("search_button",
331 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_SEARCH_BUTTON)); 331 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_SEARCH_BUTTON));
332 localized_strings->SetString("organize_menu",
333 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_ORGANIZE_MENU));
332 localized_strings->SetString("show_in_folder", 334 localized_strings->SetString("show_in_folder",
333 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_SHOW_IN_FOLDER)); 335 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_SHOW_IN_FOLDER));
334 localized_strings->SetString("sort", 336 localized_strings->SetString("sort",
335 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_SORT)); 337 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_SORT));
336 localized_strings->SetString("organize_menu",
337 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_ORGANIZE_MENU));
338 localized_strings->SetString("tools_menu",
339 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_TOOLS_MENU));
340 localized_strings->SetString("import_menu", 338 localized_strings->SetString("import_menu",
341 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_IMPORT_MENU)); 339 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_IMPORT_MENU));
342 localized_strings->SetString("export_menu", 340 localized_strings->SetString("export_menu",
343 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_EXPORT_MENU)); 341 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_EXPORT_MENU));
344 localized_strings->SetString("rename_folder", 342 localized_strings->SetString("rename_folder",
345 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_RENAME_FOLDER)); 343 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_RENAME_FOLDER));
346 localized_strings->SetString("edit", 344 localized_strings->SetString("edit",
347 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_EDIT)); 345 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_EDIT));
348 localized_strings->SetString("should_open_all", 346 localized_strings->SetString("should_open_all",
349 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_SHOULD_OPEN_ALL)); 347 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_SHOULD_OPEN_ALL));
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 #if defined(OS_WIN) 528 #if defined(OS_WIN)
531 if (win8::IsSingleWindowMetroMode()) 529 if (win8::IsSingleWindowMetroMode())
532 can_open_new_windows = false; 530 can_open_new_windows = false;
533 #endif // OS_WIN 531 #endif // OS_WIN
534 532
535 SetResult(new base::FundamentalValue(can_open_new_windows)); 533 SetResult(new base::FundamentalValue(can_open_new_windows));
536 return true; 534 return true;
537 } 535 }
538 536
539 } // namespace extensions 537 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/app/bookmarks_strings.grdp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698