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

Side by Side Diff: chrome/browser/bookmarks/bookmark_context_menu_gtk.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::PopupAsContext(guint32 event_time) { 9 void BookmarkContextMenu::PopupAsContext(guint32 event_time) {
10 menu_->PopupAsContext(event_time); 10 menu_->PopupAsContext(event_time);
11 } 11 }
12 12
13 void BookmarkContextMenu::CreateMenuObject() { 13 void BookmarkContextMenu::CreateMenuObject() {
14 menu_.reset(new MenuGtk(this, false)); 14 menu_.reset(new MenuGtk(this, false));
15 } 15 }
16 16
17 void BookmarkContextMenu::AppendItem(int id) { 17 void BookmarkContextMenu::AppendItem(int id) {
(...skipping 14 matching lines...) Expand all
32 menu_->AppendSeparator(); 32 menu_->AppendSeparator();
33 } 33 }
34 34
35 void BookmarkContextMenu::AppendCheckboxItem(int id) { 35 void BookmarkContextMenu::AppendCheckboxItem(int id) {
36 // TODO(erg): Add support for checkbox items to gtk. 36 // TODO(erg): Add support for checkbox items to gtk.
37 menu_->AppendMenuItemWithLabel( 37 menu_->AppendMenuItemWithLabel(
38 id, 38 id,
39 MenuGtk::ConvertAcceleratorsFromWindowsStyle( 39 MenuGtk::ConvertAcceleratorsFromWindowsStyle(
40 l10n_util::GetStringUTF8(id))); 40 l10n_util::GetStringUTF8(id)));
41 } 41 }
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_context_menu.cc ('k') | chrome/browser/bookmarks/bookmark_context_menu_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698