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

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

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 5 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 #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 27 matching lines...) Expand all
38 class MessageLoop; 38 class MessageLoop;
39 class NavigationController; 39 class NavigationController;
40 class NotificationType; 40 class NotificationType;
41 class Profile; 41 class Profile;
42 class RenderViewHost; 42 class RenderViewHost;
43 class RenderWidgetHost; 43 class RenderWidgetHost;
44 class ScopedTempDir; 44 class ScopedTempDir;
45 class SkBitmap; 45 class SkBitmap;
46 class TabContents; 46 class TabContents;
47 class TabContentsWrapper; 47 class TabContentsWrapper;
48
49 namespace base {
48 class Value; 50 class Value;
51 }
49 52
50 namespace gfx { 53 namespace gfx {
51 class Size; 54 class Size;
52 } 55 }
53 56
57 using base::Value;
58
54 // A collections of functions designed for use with InProcessBrowserTest. 59 // A collections of functions designed for use with InProcessBrowserTest.
55 namespace ui_test_utils { 60 namespace ui_test_utils {
56 61
57 // Flags to indicate what to wait for in a navigation test. 62 // Flags to indicate what to wait for in a navigation test.
58 // They can be ORed together. 63 // They can be ORed together.
59 // The order in which the waits happen when more than one is selected, is: 64 // The order in which the waits happen when more than one is selected, is:
60 // Browser 65 // Browser
61 // Tab 66 // Tab
62 // Navigation 67 // Navigation
63 enum BrowserTestWaitFlags { 68 enum BrowserTestWaitFlags {
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 584
580 // Takes a snapshot of the entire page, according to the width and height 585 // Takes a snapshot of the entire page, according to the width and height
581 // properties of the DOM's document. Returns true on success. DOMAutomation 586 // properties of the DOM's document. Returns true on success. DOMAutomation
582 // must be enabled. 587 // must be enabled.
583 bool TakeEntirePageSnapshot(RenderViewHost* rvh, 588 bool TakeEntirePageSnapshot(RenderViewHost* rvh,
584 SkBitmap* bitmap) WARN_UNUSED_RESULT; 589 SkBitmap* bitmap) WARN_UNUSED_RESULT;
585 590
586 } // namespace ui_test_utils 591 } // namespace ui_test_utils
587 592
588 #endif // CHROME_TEST_UI_TEST_UTILS_H_ 593 #endif // CHROME_TEST_UI_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698