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

Side by Side Diff: chrome/browser/bookmarks/bookmark_context_menu.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "app/l10n_util.h"
7 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
8 #include "chrome/browser/bookmarks/bookmark_editor.h" 9 #include "chrome/browser/bookmarks/bookmark_editor.h"
9 #include "chrome/browser/bookmarks/bookmark_model.h" 10 #include "chrome/browser/bookmarks/bookmark_model.h"
10 #include "chrome/browser/bookmarks/bookmark_utils.h" 11 #include "chrome/browser/bookmarks/bookmark_utils.h"
11 #include "chrome/browser/browser.h" 12 #include "chrome/browser/browser.h"
12 #include "chrome/browser/browser_list.h" 13 #include "chrome/browser/browser_list.h"
13 #include "chrome/browser/input_window_dialog.h" 14 #include "chrome/browser/input_window_dialog.h"
14 #include "chrome/browser/metrics/user_metrics.h" 15 #include "chrome/browser/metrics/user_metrics.h"
15 #include "chrome/browser/profile.h" 16 #include "chrome/browser/profile.h"
16 #include "chrome/browser/tab_contents/page_navigator.h" 17 #include "chrome/browser/tab_contents/page_navigator.h"
17 #include "chrome/common/l10n_util.h"
18 #include "chrome/common/pref_names.h" 18 #include "chrome/common/pref_names.h"
19 #include "chrome/common/pref_service.h" 19 #include "chrome/common/pref_service.h"
20 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
21 21
22 // TODO(port): Port these files. 22 // TODO(port): Port these files.
23 #if defined(OS_WIN) 23 #if defined(OS_WIN)
24 #include "chrome/browser/tab_contents/tab_contents.h" 24 #include "chrome/browser/tab_contents/tab_contents.h"
25 #include "chrome/browser/views/bookmark_manager_view.h" 25 #include "chrome/browser/views/bookmark_manager_view.h"
26 #include "chrome/views/window/window.h" 26 #include "chrome/views/window/window.h"
27 #endif 27 #endif
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 if (NodeHasURLs(selection_[i])) 551 if (NodeHasURLs(selection_[i]))
552 return true; 552 return true;
553 } 553 }
554 return false; 554 return false;
555 } 555 }
556 556
557 BookmarkNode* BookmarkContextMenu::GetParentForNewNodes() const { 557 BookmarkNode* BookmarkContextMenu::GetParentForNewNodes() const {
558 return (selection_.size() == 1 && selection_[0]->is_folder()) ? 558 return (selection_.size() == 1 && selection_[0]->is_folder()) ?
559 selection_[0] : parent_; 559 selection_[0] : parent_;
560 } 560 }
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_codec.cc ('k') | chrome/browser/bookmarks/bookmark_context_menu_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698