OLD | NEW |
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 #ifndef CHROME_TEST_UI_TEST_UTILS_H_ | 5 #ifndef CHROME_TEST_UI_TEST_UTILS_H_ |
6 #define CHROME_TEST_UI_TEST_UTILS_H_ | 6 #define CHROME_TEST_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 26 matching lines...) Expand all Loading... |
37 class GURL; | 37 class GURL; |
38 class MessageLoop; | 38 class MessageLoop; |
39 class NavigationController; | 39 class NavigationController; |
40 class Profile; | 40 class Profile; |
41 class RenderViewHost; | 41 class RenderViewHost; |
42 class RenderWidgetHost; | 42 class RenderWidgetHost; |
43 class ScopedTempDir; | 43 class ScopedTempDir; |
44 class SkBitmap; | 44 class SkBitmap; |
45 class TabContents; | 45 class TabContents; |
46 class TabContentsWrapper; | 46 class TabContentsWrapper; |
47 class Value; | |
48 | 47 |
49 namespace gfx { | 48 namespace gfx { |
50 class Size; | 49 class Size; |
51 } | 50 } |
52 | 51 |
53 // A collections of functions designed for use with InProcessBrowserTest. | 52 // A collections of functions designed for use with InProcessBrowserTest. |
54 namespace ui_test_utils { | 53 namespace ui_test_utils { |
55 | 54 |
56 // Flags to indicate what to wait for in a navigation test. | 55 // Flags to indicate what to wait for in a navigation test. |
57 // They can be ORed together. | 56 // They can be ORed together. |
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 | 577 |
579 // Takes a snapshot of the entire page, according to the width and height | 578 // Takes a snapshot of the entire page, according to the width and height |
580 // properties of the DOM's document. Returns true on success. DOMAutomation | 579 // properties of the DOM's document. Returns true on success. DOMAutomation |
581 // must be enabled. | 580 // must be enabled. |
582 bool TakeEntirePageSnapshot(RenderViewHost* rvh, | 581 bool TakeEntirePageSnapshot(RenderViewHost* rvh, |
583 SkBitmap* bitmap) WARN_UNUSED_RESULT; | 582 SkBitmap* bitmap) WARN_UNUSED_RESULT; |
584 | 583 |
585 } // namespace ui_test_utils | 584 } // namespace ui_test_utils |
586 | 585 |
587 #endif // CHROME_TEST_UI_TEST_UTILS_H_ | 586 #endif // CHROME_TEST_UI_TEST_UTILS_H_ |
OLD | NEW |