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

Unified Diff: chrome/browser/ui/views/menu_model_adapter_test.cc

Issue 8212006: base::Bind: Cleanup in automation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mac build fix. Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/menu_item_view_test.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/menu_model_adapter_test.cc
diff --git a/chrome/browser/ui/views/menu_model_adapter_test.cc b/chrome/browser/ui/views/menu_model_adapter_test.cc
index 112d42a4905b1a9014276c0e8fdfb00023014e85..2a2f3fa98a6f5787a105c072e8a9d027f9501b13 100644
--- a/chrome/browser/ui/views/menu_model_adapter_test.cc
+++ b/chrome/browser/ui/views/menu_model_adapter_test.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/callback.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/automation/ui_controls.h"
#include "chrome/test/base/view_event_test_base.h"
@@ -86,7 +87,7 @@ class TestViewsDelegate : public views::ViewsDelegate {
DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate);
};
-// Implement most of the ui::MenuModel pure virtuals for subclasses
+// Implement most of the ui::MenuModel pure virtual methods for subclasses
//
// Exceptions:
// virtual int GetItemCount() const = 0;
@@ -351,7 +352,7 @@ class MenuModelAdapterTest : public ViewEventTestBase,
private:
// Generate a mouse click on the specified view and post a new task.
- virtual void Click(views::View* view, Task* next) {
+ virtual void Click(views::View* view, const base::Closure& next) {
ui_controls::MoveMouseToCenterAndPress(
view,
ui_controls::LEFT,
« no previous file with comments | « chrome/browser/ui/views/menu_item_view_test.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698