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

Side by Side Diff: chrome/browser/bookmarks/bookmark_context_menu_win.cc

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/bookmarks/bookmark_context_menu.h" 5 #include "chrome/browser/bookmarks/bookmark_context_menu.h"
6 6
7 #include "chrome/common/l10n_util.h" 7 #include "app/l10n_util.h"
8 8
9 void BookmarkContextMenu::RunMenuAt(int x, int y) { 9 void BookmarkContextMenu::RunMenuAt(int x, int y) {
10 if (!model_->IsLoaded()) { 10 if (!model_->IsLoaded()) {
11 NOTREACHED(); 11 NOTREACHED();
12 return; 12 return;
13 } 13 }
14 // width/height don't matter here. 14 // width/height don't matter here.
15 views::MenuItemView::AnchorPosition anchor = 15 views::MenuItemView::AnchorPosition anchor =
16 (l10n_util::GetTextDirection() == l10n_util::RIGHT_TO_LEFT) ? 16 (l10n_util::GetTextDirection() == l10n_util::RIGHT_TO_LEFT) ?
17 views::MenuItemView::TOPRIGHT : views::MenuItemView::TOPLEFT; 17 views::MenuItemView::TOPRIGHT : views::MenuItemView::TOPLEFT;
(...skipping 16 matching lines...) Expand all
34 34
35 void BookmarkContextMenu::AppendSeparator() { 35 void BookmarkContextMenu::AppendSeparator() {
36 menu_->AppendSeparator(); 36 menu_->AppendSeparator();
37 } 37 }
38 38
39 void BookmarkContextMenu::AppendCheckboxItem(int id) { 39 void BookmarkContextMenu::AppendCheckboxItem(int id) {
40 menu_->AppendMenuItem(id, 40 menu_->AppendMenuItem(id,
41 l10n_util::GetString(id), 41 l10n_util::GetString(id),
42 views::MenuItemView::CHECKBOX); 42 views::MenuItemView::CHECKBOX);
43 } 43 }
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_context_menu_gtk.cc ('k') | chrome/browser/bookmarks/bookmark_folder_tree_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698