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

Side by Side Diff: webkit/support/webkit_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
« no previous file with comments | « webkit/support/test_webplugin_page_delegate.cc ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_WEBKIT_SUPPORT_H_ 5 #ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_
6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ 6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/Platform.h" 11 #include "third_party/WebKit/Source/Platform/chromium/public/Platform.h"
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystem.h" 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystem.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h" 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h " 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h "
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h"
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" 16 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgentClien t.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgentClien t.h"
18 #include "ui/base/keycodes/keyboard_codes.h" 18 #include "ui/base/keycodes/keyboard_codes.h"
19 19
20 namespace base {
20 class FilePath; 21 class FilePath;
22 }
21 23
22 namespace WebKit { 24 namespace WebKit {
23 class WebApplicationCacheHost; 25 class WebApplicationCacheHost;
24 class WebApplicationCacheHostClient; 26 class WebApplicationCacheHostClient;
25 class WebFileSystemCallbacks; 27 class WebFileSystemCallbacks;
26 class WebFrame; 28 class WebFrame;
27 class WebGamepads; 29 class WebGamepads;
28 class WebKitPlatformSupport; 30 class WebKitPlatformSupport;
29 class WebMediaPlayer; 31 class WebMediaPlayer;
30 class WebMediaPlayerClient; 32 class WebMediaPlayerClient;
(...skipping 18 matching lines...) Expand all
49 // following functions uses WebKit API classes as possible and hide 51 // following functions uses WebKit API classes as possible and hide
50 // implementation classes. 52 // implementation classes.
51 namespace webkit_support { 53 namespace webkit_support {
52 54
53 // DIR_SOURCE_ROOT does not return a reliable result for standalone WebKit 55 // DIR_SOURCE_ROOT does not return a reliable result for standalone WebKit
54 // builds. This reliably returns the root of the chromium source, which is the 56 // builds. This reliably returns the root of the chromium source, which is the
55 // directory containing all dependencies pulled by gclient. In a 57 // directory containing all dependencies pulled by gclient. In a
56 // webkit-in-chromium build, this is the root directory of the checkout. In a 58 // webkit-in-chromium build, this is the root directory of the checkout. In a
57 // standalone webkit build, it is Source/WebKit/chromium relative from the 59 // standalone webkit build, it is Source/WebKit/chromium relative from the
58 // checkout's root directory. 60 // checkout's root directory.
59 FilePath GetChromiumRootDirFilePath(); 61 base::FilePath GetChromiumRootDirFilePath();
60 62
61 // Initializes or terminates a test environment. 63 // Initializes or terminates a test environment.
62 // |unit_test_mode| should be set to true when running in a TestSuite, in which 64 // |unit_test_mode| should be set to true when running in a TestSuite, in which
63 // case no AtExitManager is created and ICU is not initialized (as it is already 65 // case no AtExitManager is created and ICU is not initialized (as it is already
64 // done by the TestSuite). 66 // done by the TestSuite).
65 // SetUpTestEnvironment() and SetUpTestEnvironmentForUnitTests() calls 67 // SetUpTestEnvironment() and SetUpTestEnvironmentForUnitTests() calls
66 // WebKit::initialize(). 68 // WebKit::initialize().
67 // TearDownTestEnvironment() calls WebKit::shutdown(). 69 // TearDownTestEnvironment() calls WebKit::shutdown().
68 // SetUpTestEnvironmentForUnitTests() should be used when running in a 70 // SetUpTestEnvironmentForUnitTests() should be used when running in a
69 // TestSuite, in which case no AtExitManager is created and ICU is not 71 // TestSuite, in which case no AtExitManager is created and ICU is not
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 290
289 void EnableWebCoreLogChannels(const std::string& channels); 291 void EnableWebCoreLogChannels(const std::string& channels);
290 292
291 // - Gamepad 293 // - Gamepad
292 294
293 void SetGamepadData(const WebKit::WebGamepads& pads); 295 void SetGamepadData(const WebKit::WebGamepads& pads);
294 296
295 } // namespace webkit_support 297 } // namespace webkit_support
296 298
297 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ 299 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_
OLDNEW
« no previous file with comments | « webkit/support/test_webplugin_page_delegate.cc ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698