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

Side by Side Diff: chrome/test/base/ui_test_utils.h

Issue 10007043: Attempt to fix ChromeFrameTestWithWebServer tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: take snapshots on timeout Created 8 years, 8 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) 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 #ifndef CHROME_TEST_BASE_UI_TEST_UTILS_H_ 5 #ifndef CHROME_TEST_BASE_UI_TEST_UTILS_H_
6 #define CHROME_TEST_BASE_UI_TEST_UTILS_H_ 6 #define CHROME_TEST_BASE_UI_TEST_UTILS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 views::View* view, 625 views::View* view,
626 #elif defined(TOOLKIT_GTK) 626 #elif defined(TOOLKIT_GTK)
627 GtkWidget* widget, 627 GtkWidget* widget,
628 #elif defined(OS_MACOSX) 628 #elif defined(OS_MACOSX)
629 NSView* view, 629 NSView* view,
630 #endif 630 #endif
631 ui_controls::MouseButton button, 631 ui_controls::MouseButton button,
632 int state, 632 int state,
633 const base::Closure& task); 633 const base::Closure& task);
634 634
635 bool SaveScreenSnapshotToDirectory(const FilePath& directory,
636 FilePath* screenshot_path);
637
635 namespace internal { 638 namespace internal {
636 639
637 // A utility function to send a mouse click event in a closure. It's shared by 640 // A utility function to send a mouse click event in a closure. It's shared by
638 // ui_controls_linux.cc and ui_controls_mac.cc 641 // ui_controls_linux.cc and ui_controls_mac.cc
639 void ClickTask(ui_controls::MouseButton button, 642 void ClickTask(ui_controls::MouseButton button,
640 int state, 643 int state,
641 const base::Closure& followup); 644 const base::Closure& followup);
642 645
643 } // namespace internal 646 } // namespace internal
644 647
645 } // namespace ui_test_utils 648 } // namespace ui_test_utils
646 649
647 #endif // CHROME_TEST_BASE_UI_TEST_UTILS_H_ 650 #endif // CHROME_TEST_BASE_UI_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698