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

Side by Side Diff: chrome/test/interactive_ui/view_event_test_base.cc

Issue 115309: Remove even more ATL dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/views/user_data_dir_dialog.cc ('k') | views/controls/button/button_dropdown.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/test/interactive_ui/view_event_test_base.h" 5 #include "chrome/test/interactive_ui/view_event_test_base.h"
6 6
7 #include <ole2.h>
8
7 #include "base/message_loop.h" 9 #include "base/message_loop.h"
8 #include "chrome/browser/automation/ui_controls.h" 10 #include "chrome/browser/automation/ui_controls.h"
9 #include "views/view.h" 11 #include "views/view.h"
10 #include "views/window/window.h" 12 #include "views/window/window.h"
11 13
12 namespace { 14 namespace {
13 15
14 // View subclass that allows you to specify the preferred size. 16 // View subclass that allows you to specify the preferred size.
15 class TestView : public views::View { 17 class TestView : public views::View {
16 public: 18 public:
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 } 122 }
121 123
122 void ViewEventTestBase::RunTestMethod(Task* task) { 124 void ViewEventTestBase::RunTestMethod(Task* task) {
123 StopBackgroundThread(); 125 StopBackgroundThread();
124 126
125 scoped_ptr<Task> task_deleter(task); 127 scoped_ptr<Task> task_deleter(task);
126 task->Run(); 128 task->Run();
127 if (HasFatalFailure()) 129 if (HasFatalFailure())
128 Done(); 130 Done();
129 } 131 }
OLDNEW
« no previous file with comments | « chrome/browser/views/user_data_dir_dialog.cc ('k') | views/controls/button/button_dropdown.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698