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

Side by Side Diff: chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/renderer_context_menu/render_view_context_menu_browsert est_util.h" 5 #include "chrome/browser/renderer_context_menu/render_view_context_menu_browsert est_util.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "chrome/app/chrome_command_ids.h" 11 #include "chrome/app/chrome_command_ids.h"
12 #include "chrome/browser/chrome_notification_types.h" 12 #include "chrome/browser/chrome_notification_types.h"
13 #include "chrome/browser/renderer_context_menu/render_view_context_menu.h" 13 #include "chrome/browser/renderer_context_menu/render_view_context_menu.h"
14 #include "content/public/browser/notification_service.h" 14 #include "content/public/browser/notification_service.h"
15 #include "content/public/test/test_utils.h" 15 #include "content/public/test/test_utils.h"
16 16
17 ContextMenuNotificationObserver::ContextMenuNotificationObserver( 17 ContextMenuNotificationObserver::ContextMenuNotificationObserver(
18 int command_to_execute) 18 int command_to_execute)
19 : command_to_execute_(command_to_execute) { 19 : command_to_execute_(command_to_execute) {
20 registrar_.Add(this, 20 registrar_.Add(this,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 } 91 }
92 92
93 content::ContextMenuParams& ContextMenuWaiter::params() { 93 content::ContextMenuParams& ContextMenuWaiter::params() {
94 return params_; 94 return params_;
95 } 95 }
96 96
97 void ContextMenuWaiter::Cancel(RenderViewContextMenu* context_menu) { 97 void ContextMenuWaiter::Cancel(RenderViewContextMenu* context_menu) {
98 params_ = context_menu->params(); 98 params_ = context_menu->params();
99 context_menu->Cancel(); 99 context_menu->Cancel();
100 } 100 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698