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

Side by Side Diff: content/child/blink_platform_impl.h

Issue 316373003: Remove base::kInvalidPlatformFileValue from Content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « no previous file | content/child/blink_platform_impl.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/platform_file.h"
11 #include "base/threading/thread_local_storage.h" 10 #include "base/threading/thread_local_storage.h"
12 #include "base/timer/timer.h" 11 #include "base/timer/timer.h"
13 #include "content/child/webcrypto/webcrypto_impl.h" 12 #include "content/child/webcrypto/webcrypto_impl.h"
14 #include "content/child/webfallbackthemeengine_impl.h" 13 #include "content/child/webfallbackthemeengine_impl.h"
15 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
16 #include "third_party/WebKit/public/platform/Platform.h" 15 #include "third_party/WebKit/public/platform/Platform.h"
17 #include "third_party/WebKit/public/platform/WebGestureDevice.h" 16 #include "third_party/WebKit/public/platform/WebGestureDevice.h"
18 #include "third_party/WebKit/public/platform/WebURLError.h" 17 #include "third_party/WebKit/public/platform/WebURLError.h"
19 #include "ui/base/layout.h" 18 #include "ui/base/layout.h"
20 19
(...skipping 17 matching lines...) Expand all
38 37
39 class CONTENT_EXPORT BlinkPlatformImpl 38 class CONTENT_EXPORT BlinkPlatformImpl
40 : NON_EXPORTED_BASE(public blink::Platform) { 39 : NON_EXPORTED_BASE(public blink::Platform) {
41 public: 40 public:
42 BlinkPlatformImpl(); 41 BlinkPlatformImpl();
43 virtual ~BlinkPlatformImpl(); 42 virtual ~BlinkPlatformImpl();
44 43
45 // Platform methods (partial implementation): 44 // Platform methods (partial implementation):
46 virtual blink::WebThemeEngine* themeEngine(); 45 virtual blink::WebThemeEngine* themeEngine();
47 virtual blink::WebFallbackThemeEngine* fallbackThemeEngine(); 46 virtual blink::WebFallbackThemeEngine* fallbackThemeEngine();
48 virtual base::PlatformFile databaseOpenFile( 47 virtual blink::Platform::FileHandle databaseOpenFile(
49 const blink::WebString& vfs_file_name, int desired_flags); 48 const blink::WebString& vfs_file_name, int desired_flags);
50 virtual int databaseDeleteFile(const blink::WebString& vfs_file_name, 49 virtual int databaseDeleteFile(const blink::WebString& vfs_file_name,
51 bool sync_dir); 50 bool sync_dir);
52 virtual long databaseGetFileAttributes( 51 virtual long databaseGetFileAttributes(
53 const blink::WebString& vfs_file_name); 52 const blink::WebString& vfs_file_name);
54 virtual long long databaseGetFileSize(const blink::WebString& vfs_file_name); 53 virtual long long databaseGetFileSize(const blink::WebString& vfs_file_name);
55 virtual long long databaseGetSpaceAvailableForOrigin( 54 virtual long long databaseGetSpaceAvailableForOrigin(
56 const blink::WebString& origin_identifier); 55 const blink::WebString& origin_identifier);
57 virtual blink::WebString signedPublicKeyAndChallengeString( 56 virtual blink::WebString signedPublicKeyAndChallengeString(
58 unsigned key_size_index, const blink::WebString& challenge, 57 unsigned key_size_index, const blink::WebString& challenge,
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 bool shared_timer_fire_time_was_set_while_suspended_; 174 bool shared_timer_fire_time_was_set_while_suspended_;
176 int shared_timer_suspended_; // counter 175 int shared_timer_suspended_; // counter
177 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; 176 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_;
178 base::ThreadLocalStorage::Slot current_thread_slot_; 177 base::ThreadLocalStorage::Slot current_thread_slot_;
179 WebCryptoImpl web_crypto_; 178 WebCryptoImpl web_crypto_;
180 }; 179 };
181 180
182 } // namespace content 181 } // namespace content
183 182
184 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 183 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698