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

Side by Side Diff: chrome/browser/views/bookmark_context_menu_controller_views.cc

Issue 3066014: Cleanup: Remove unneeded headers from app/ (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/views/bookmark_context_menu_controller_views.h" 5 #include "chrome/browser/views/bookmark_context_menu_controller_views.h"
6 6
7 #include "app/l10n_util.h"
8 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
9 #include "chrome/browser/bookmarks/bookmark_editor.h" 8 #include "chrome/browser/bookmarks/bookmark_editor.h"
10 #include "chrome/browser/bookmarks/bookmark_folder_editor_controller.h" 9 #include "chrome/browser/bookmarks/bookmark_folder_editor_controller.h"
11 #include "chrome/browser/bookmarks/bookmark_model.h" 10 #include "chrome/browser/bookmarks/bookmark_model.h"
12 #include "chrome/browser/bookmarks/bookmark_utils.h" 11 #include "chrome/browser/bookmarks/bookmark_utils.h"
13 #include "chrome/browser/browser.h" 12 #include "chrome/browser/browser.h"
14 #include "chrome/browser/browser_list.h" 13 #include "chrome/browser/browser_list.h"
15 #include "chrome/browser/metrics/user_metrics.h" 14 #include "chrome/browser/metrics/user_metrics.h"
16 #include "chrome/browser/pref_service.h" 15 #include "chrome/browser/pref_service.h"
17 #include "chrome/browser/profile.h" 16 #include "chrome/browser/profile.h"
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 return model; 282 return model;
284 } 283 }
285 284
286 bool BookmarkContextMenuControllerViews::HasURLs() const { 285 bool BookmarkContextMenuControllerViews::HasURLs() const {
287 for (size_t i = 0; i < selection_.size(); ++i) { 286 for (size_t i = 0; i < selection_.size(); ++i) {
288 if (NodeHasURLs(selection_[i])) 287 if (NodeHasURLs(selection_[i]))
289 return true; 288 return true;
290 } 289 }
291 return false; 290 return false;
292 } 291 }
OLDNEW
« no previous file with comments | « chrome/browser/views/bookmark_bubble_view.h ('k') | chrome/browser/views/bookmark_menu_controller_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698