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

Side by Side Diff: webkit/support/test_webkit_platform_support.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 5 #ifndef WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_
6 #define WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 6 #define WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebGamepads.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebGamepads.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h" 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 #endif 83 #endif
84 84
85 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( 85 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
86 const WebKit::WebGraphicsContext3D::Attributes&); 86 const WebKit::WebGraphicsContext3D::Attributes&);
87 virtual bool canAccelerate2dCanvas(); 87 virtual bool canAccelerate2dCanvas();
88 88
89 WebURLLoaderMockFactory* url_loader_factory() { 89 WebURLLoaderMockFactory* url_loader_factory() {
90 return &url_loader_factory_; 90 return &url_loader_factory_;
91 } 91 }
92 92
93 const FilePath& file_system_root() const { 93 const base::FilePath& file_system_root() const {
94 return file_system_root_.path(); 94 return file_system_root_.path();
95 } 95 }
96 96
97 // Mock out the WebAudioDevice since the real one 97 // Mock out the WebAudioDevice since the real one
98 // talks with the browser process. 98 // talks with the browser process.
99 virtual double audioHardwareSampleRate(); 99 virtual double audioHardwareSampleRate();
100 virtual size_t audioHardwareBufferSize(); 100 virtual size_t audioHardwareBufferSize();
101 virtual WebKit::WebAudioDevice* createAudioDevice(size_t bufferSize, 101 virtual WebKit::WebAudioDevice* createAudioDevice(size_t bufferSize,
102 unsigned numberOfInputChannels, unsigned numberOfChannels, 102 unsigned numberOfInputChannels, unsigned numberOfChannels,
103 double sampleRate, WebKit::WebAudioDevice::RenderCallback*); 103 double sampleRate, WebKit::WebAudioDevice::RenderCallback*);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 WebKit::Platform* shadow_platform_delegate_; 155 WebKit::Platform* shadow_platform_delegate_;
156 HyphenDict* hyphen_dictionary_; 156 HyphenDict* hyphen_dictionary_;
157 157
158 #if defined(OS_WIN) || defined(OS_MACOSX) 158 #if defined(OS_WIN) || defined(OS_MACOSX)
159 WebKit::WebThemeEngine* active_theme_engine_; 159 WebKit::WebThemeEngine* active_theme_engine_;
160 #endif 160 #endif
161 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); 161 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport);
162 }; 162 };
163 163
164 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 164 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_
OLDNEW
« no previous file with comments | « webkit/support/simple_database_system.cc ('k') | webkit/support/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698