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

Side by Side Diff: Source/testing/runner/TestInterfaces.h

Issue 41733004: Roll up patch for running layout tests under Aura. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: move useMockTheme() into a helper function Created 7 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #ifndef TestInterfaces_h 31 #ifndef TestInterfaces_h
32 #define TestInterfaces_h 32 #define TestInterfaces_h
33 33
34 #include "public/platform/WebNonCopyable.h" 34 #include "public/platform/WebNonCopyable.h"
35 35
36 #include <memory> 36 #include <memory>
37 #include <vector> 37 #include <vector>
38 38
39 #if defined(WIN32) 39 #if defined(USE_DEFAULT_RENDER_THEME)
40 #include "WebTestThemeEngineMock.h"
41 #elif defined(WIN32)
40 #include "WebTestThemeEngineWin.h" 42 #include "WebTestThemeEngineWin.h"
41 #elif defined(__APPLE__) 43 #elif defined(__APPLE__)
42 #include "WebTestThemeEngineMac.h" 44 #include "WebTestThemeEngineMac.h"
43 #endif 45 #endif
44 46
45 namespace blink { 47 namespace blink {
46 class WebFrame; 48 class WebFrame;
47 class WebThemeEngine; 49 class WebThemeEngine;
48 class WebURL; 50 class WebURL;
49 class WebView; 51 class WebView;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 private: 88 private:
87 std::auto_ptr<AccessibilityController> m_accessibilityController; 89 std::auto_ptr<AccessibilityController> m_accessibilityController;
88 std::auto_ptr<EventSender> m_eventSender; 90 std::auto_ptr<EventSender> m_eventSender;
89 std::auto_ptr<GamepadController> m_gamepadController; 91 std::auto_ptr<GamepadController> m_gamepadController;
90 std::auto_ptr<TextInputController> m_textInputController; 92 std::auto_ptr<TextInputController> m_textInputController;
91 std::auto_ptr<TestRunner> m_testRunner; 93 std::auto_ptr<TestRunner> m_testRunner;
92 WebTestDelegate* m_delegate; 94 WebTestDelegate* m_delegate;
93 WebTestProxyBase* m_proxy; 95 WebTestProxyBase* m_proxy;
94 96
95 std::vector<WebTestProxyBase*> m_windowList; 97 std::vector<WebTestProxyBase*> m_windowList;
96 #if !defined(USE_DEFAULT_RENDER_THEME) 98 #if defined(USE_DEFAULT_RENDER_THEME)
97 #if defined(WIN32) 99 std::auto_ptr<WebTestThemeEngineMock> m_themeEngine;
100 #elif defined(WIN32)
98 std::auto_ptr<WebTestThemeEngineWin> m_themeEngine; 101 std::auto_ptr<WebTestThemeEngineWin> m_themeEngine;
99 #elif defined(__APPLE__) 102 #elif defined(__APPLE__)
100 std::auto_ptr<WebTestThemeEngineMac> m_themeEngine; 103 std::auto_ptr<WebTestThemeEngineMac> m_themeEngine;
101 #endif 104 #endif
102 #endif
103 }; 105 };
104 106
105 } 107 }
106 108
107 #endif // TestInterfaces_h 109 #endif // TestInterfaces_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumDefault.cpp ('k') | Source/testing/runner/TestInterfaces.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698