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

Side by Side Diff: content/shell/renderer/test_runner/TestInterfaces.cpp

Issue 393983009: test_runner: Rename WebTestThemeEngineMock to MockWebThemeEngine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "content/shell/renderer/test_runner/TestInterfaces.h" 5 #include "content/shell/renderer/test_runner/TestInterfaces.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 188
189 WebThemeEngine* TestInterfaces::themeEngine() 189 WebThemeEngine* TestInterfaces::themeEngine()
190 { 190 {
191 if (!m_testRunner->UseMockTheme()) 191 if (!m_testRunner->UseMockTheme())
192 return 0; 192 return 0;
193 #if defined(__APPLE__) 193 #if defined(__APPLE__)
194 if (!m_themeEngine.get()) 194 if (!m_themeEngine.get())
195 m_themeEngine.reset(new WebTestThemeEngineMac()); 195 m_themeEngine.reset(new WebTestThemeEngineMac());
196 #else 196 #else
197 if (!m_themeEngine.get()) 197 if (!m_themeEngine.get())
198 m_themeEngine.reset(new WebTestThemeEngineMock()); 198 m_themeEngine.reset(new MockWebThemeEngine());
199 #endif 199 #endif
200 return m_themeEngine.get(); 200 return m_themeEngine.get();
201 } 201 }
202 202
203 } // namespace content 203 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/TestInterfaces.h ('k') | content/shell/renderer/test_runner/WebTestThemeEngineMock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698