OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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> |
11 #include <string> | 11 #include <string> |
12 #include <set> | 12 #include <set> |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/message_loop.h" | 15 #include "base/message_loop.h" |
16 #include "base/scoped_temp_dir.h" | 16 #include "base/scoped_temp_dir.h" |
17 #include "base/string16.h" | 17 #include "base/string16.h" |
18 #include "chrome/browser/ui/view_ids.h" | 18 #include "chrome/browser/ui/view_ids.h" |
19 #include "chrome/common/notification_observer.h" | 19 #include "chrome/common/notification_observer.h" |
20 #include "chrome/common/notification_registrar.h" | 20 #include "chrome/common/notification_registrar.h" |
21 #include "chrome/common/notification_service.h" | 21 #include "chrome/common/notification_service.h" |
22 #include "chrome/common/notification_source.h" | 22 #include "chrome/common/notification_source.h" |
23 #include "chrome/test/automation/dom_element_proxy.h" | 23 #include "chrome/test/automation/dom_element_proxy.h" |
24 #include "gfx/native_widget_types.h" | |
25 #include "testing/gtest/include/gtest/gtest.h" | 24 #include "testing/gtest/include/gtest/gtest.h" |
26 #include "ui/base/keycodes/keyboard_codes.h" | 25 #include "ui/base/keycodes/keyboard_codes.h" |
| 26 #include "ui/gfx/native_widget_types.h" |
27 #include "webkit/glue/window_open_disposition.h" | 27 #include "webkit/glue/window_open_disposition.h" |
28 | 28 |
29 class AppModalDialog; | 29 class AppModalDialog; |
30 class BookmarkModel; | 30 class BookmarkModel; |
31 class BookmarkNode; | 31 class BookmarkNode; |
32 class Browser; | 32 class Browser; |
33 class CommandLine; | 33 class CommandLine; |
34 class DownloadManager; | 34 class DownloadManager; |
35 class ExtensionAction; | 35 class ExtensionAction; |
36 class FilePath; | 36 class FilePath; |
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 | 555 |
556 // Takes a snapshot of the entire page, according to the width and height | 556 // Takes a snapshot of the entire page, according to the width and height |
557 // properties of the DOM's document. Returns true on success. DOMAutomation | 557 // properties of the DOM's document. Returns true on success. DOMAutomation |
558 // must be enabled. | 558 // must be enabled. |
559 bool TakeEntirePageSnapshot(RenderViewHost* rvh, | 559 bool TakeEntirePageSnapshot(RenderViewHost* rvh, |
560 SkBitmap* bitmap) WARN_UNUSED_RESULT; | 560 SkBitmap* bitmap) WARN_UNUSED_RESULT; |
561 | 561 |
562 } // namespace ui_test_utils | 562 } // namespace ui_test_utils |
563 | 563 |
564 #endif // CHROME_TEST_UI_TEST_UTILS_H_ | 564 #endif // CHROME_TEST_UI_TEST_UTILS_H_ |
OLD | NEW |