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

Side by Side Diff: chrome/browser/npapi_interactive_test.cc

Issue 7568002: Move more files from chrome/test to chrome/test/base, part #6 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 // NPAPI interactive UI tests. 5 // NPAPI interactive UI tests.
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/test/test_timeouts.h" 8 #include "base/test/test_timeouts.h"
9 #include "chrome/test/automation/automation_proxy.h" 9 #include "chrome/test/automation/automation_proxy.h"
10 #include "chrome/test/automation/window_proxy.h" 10 #include "chrome/test/automation/window_proxy.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // Wait for the alert dialog and then close it. 73 // Wait for the alert dialog and then close it.
74 ASSERT_TRUE(automation()->WaitForAppModalDialog()); 74 ASSERT_TRUE(automation()->WaitForAppModalDialog());
75 scoped_refptr<WindowProxy> window(automation()->GetActiveWindow()); 75 scoped_refptr<WindowProxy> window(automation()->GetActiveWindow());
76 ASSERT_TRUE(window.get()); 76 ASSERT_TRUE(window.get());
77 ASSERT_TRUE(window->SimulateOSKeyPress(ui::VKEY_ESCAPE, 0)); 77 ASSERT_TRUE(window->SimulateOSKeyPress(ui::VKEY_ESCAPE, 0));
78 78
79 WaitForFinish("self_delete_plugin_invoke_alert", "1", url, 79 WaitForFinish("self_delete_plugin_invoke_alert", "1", url,
80 kTestCompleteCookie, kTestCompleteSuccess, 80 kTestCompleteCookie, kTestCompleteSuccess,
81 TestTimeouts::action_max_timeout_ms()); 81 TestTimeouts::action_max_timeout_ms());
82 } 82 }
OLDNEW
« no previous file with comments | « chrome/browser/mouseleave_interactive_uitest.cc ('k') | chrome/browser/tab_contents/infobars_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698