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

Side by Side Diff: chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc

Issue 2276823003: Change many chrome/browser includes to use qualified paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/bookmarks/bookmark_context_menu_controller.h" 5 #include "chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/browser/ui/tabs/tab_strip_model.h" 21 #include "chrome/browser/ui/tabs/tab_strip_model.h"
22 #include "chrome/browser/undo/bookmark_undo_service_factory.h" 22 #include "chrome/browser/undo/bookmark_undo_service_factory.h"
23 #include "chrome/common/chrome_switches.h" 23 #include "chrome/common/chrome_switches.h"
24 #include "chrome/grit/generated_resources.h" 24 #include "chrome/grit/generated_resources.h"
25 #include "components/bookmarks/browser/bookmark_client.h" 25 #include "components/bookmarks/browser/bookmark_client.h"
26 #include "components/bookmarks/browser/bookmark_model.h" 26 #include "components/bookmarks/browser/bookmark_model.h"
27 #include "components/bookmarks/browser/bookmark_utils.h" 27 #include "components/bookmarks/browser/bookmark_utils.h"
28 #include "components/bookmarks/common/bookmark_pref_names.h" 28 #include "components/bookmarks/common/bookmark_pref_names.h"
29 #include "components/bookmarks/managed/managed_bookmark_service.h" 29 #include "components/bookmarks/managed/managed_bookmark_service.h"
30 #include "components/prefs/pref_service.h" 30 #include "components/prefs/pref_service.h"
31 #include "components/strings/grit/components_strings.h"
31 #include "components/undo/bookmark_undo_service.h" 32 #include "components/undo/bookmark_undo_service.h"
32 #include "content/public/browser/page_navigator.h" 33 #include "content/public/browser/page_navigator.h"
33 #include "content/public/browser/user_metrics.h" 34 #include "content/public/browser/user_metrics.h"
34 #include "grit/components_strings.h"
35 #include "ui/base/l10n/l10n_util.h" 35 #include "ui/base/l10n/l10n_util.h"
36 36
37 using base::UserMetricsAction; 37 using base::UserMetricsAction;
38 using bookmarks::BookmarkNode; 38 using bookmarks::BookmarkNode;
39 using content::PageNavigator; 39 using content::PageNavigator;
40 40
41 BookmarkContextMenuController::BookmarkContextMenuController( 41 BookmarkContextMenuController::BookmarkContextMenuController(
42 gfx::NativeWindow parent_window, 42 gfx::NativeWindow parent_window,
43 BookmarkContextMenuControllerDelegate* delegate, 43 BookmarkContextMenuControllerDelegate* delegate,
44 Browser* browser, 44 Browser* browser,
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 return !managed->managed_node()->empty(); 429 return !managed->managed_node()->empty();
430 } 430 }
431 431
432 return true; 432 return true;
433 } 433 }
434 434
435 void BookmarkContextMenuController::BookmarkModelChanged() { 435 void BookmarkContextMenuController::BookmarkModelChanged() {
436 if (delegate_) 436 if (delegate_)
437 delegate_->CloseMenu(); 437 delegate_->CloseMenu();
438 } 438 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698