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

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

Issue 6598086: Update more includes that were pointing to the old locations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 years, 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/ui/views/bookmarks/bookmark_context_menu_controller_vie ws.h" 5 #include "chrome/browser/ui/views/bookmarks/bookmark_context_menu_controller_vie ws.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "chrome/app/chrome_command_ids.h" 8 #include "chrome/app/chrome_command_ids.h"
9 #include "chrome/browser/bookmarks/bookmark_editor.h" 9 #include "chrome/browser/bookmarks/bookmark_editor.h"
10 #include "chrome/browser/bookmarks/bookmark_folder_editor_controller.h" 10 #include "chrome/browser/bookmarks/bookmark_folder_editor_controller.h"
11 #include "chrome/browser/bookmarks/bookmark_model.h" 11 #include "chrome/browser/bookmarks/bookmark_model.h"
12 #include "chrome/browser/bookmarks/bookmark_utils.h" 12 #include "chrome/browser/bookmarks/bookmark_utils.h"
13 #include "chrome/browser/browser_list.h" 13 #include "chrome/browser/browser_list.h"
14 #include "chrome/browser/metrics/user_metrics.h" 14 #include "chrome/browser/metrics/user_metrics.h"
15 #include "chrome/browser/prefs/pref_service.h" 15 #include "chrome/browser/prefs/pref_service.h"
16 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/browser/tab_contents/page_navigator.h"
18 #include "chrome/browser/ui/browser.h" 17 #include "chrome/browser/ui/browser.h"
19 #include "chrome/common/pref_names.h" 18 #include "chrome/common/pref_names.h"
19 #include "content/browser/tab_contents/page_navigator.h"
20 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
21 21
22 BookmarkContextMenuControllerViews::BookmarkContextMenuControllerViews( 22 BookmarkContextMenuControllerViews::BookmarkContextMenuControllerViews(
23 gfx::NativeWindow parent_window, 23 gfx::NativeWindow parent_window,
24 BookmarkContextMenuControllerViewsDelegate* delegate, 24 BookmarkContextMenuControllerViewsDelegate* delegate,
25 Profile* profile, 25 Profile* profile,
26 PageNavigator* navigator, 26 PageNavigator* navigator,
27 const BookmarkNode* parent, 27 const BookmarkNode* parent,
28 const std::vector<const BookmarkNode*>& selection) 28 const std::vector<const BookmarkNode*>& selection)
29 : parent_window_(parent_window), 29 : parent_window_(parent_window),
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 return model; 278 return model;
279 } 279 }
280 280
281 bool BookmarkContextMenuControllerViews::HasURLs() const { 281 bool BookmarkContextMenuControllerViews::HasURLs() const {
282 for (size_t i = 0; i < selection_.size(); ++i) { 282 for (size_t i = 0; i < selection_.size(); ++i) {
283 if (bookmark_utils::NodeHasURLs(selection_[i])) 283 if (bookmark_utils::NodeHasURLs(selection_[i]))
284 return true; 284 return true;
285 } 285 }
286 return false; 286 return false;
287 } 287 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698