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

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

Issue 630743005: Replace OVERRIDE and FINAL with override and final in content/child/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « content/child/appcache/appcache_frontend_impl.h ('k') | 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/threading/thread_local_storage.h" 10 #include "base/threading/thread_local_storage.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual blink::WebString signedPublicKeyAndChallengeString( 57 virtual blink::WebString signedPublicKeyAndChallengeString(
58 unsigned key_size_index, const blink::WebString& challenge, 58 unsigned key_size_index, const blink::WebString& challenge,
59 const blink::WebURL& url); 59 const blink::WebURL& url);
60 virtual size_t memoryUsageMB(); 60 virtual size_t memoryUsageMB();
61 virtual size_t actualMemoryUsageMB(); 61 virtual size_t actualMemoryUsageMB();
62 virtual size_t physicalMemoryMB(); 62 virtual size_t physicalMemoryMB();
63 virtual size_t virtualMemoryLimitMB(); 63 virtual size_t virtualMemoryLimitMB();
64 virtual size_t numberOfProcessors(); 64 virtual size_t numberOfProcessors();
65 65
66 virtual void startHeapProfiling(const blink::WebString& prefix); 66 virtual void startHeapProfiling(const blink::WebString& prefix);
67 virtual void stopHeapProfiling() OVERRIDE; 67 virtual void stopHeapProfiling() override;
68 virtual void dumpHeapProfiling(const blink::WebString& reason); 68 virtual void dumpHeapProfiling(const blink::WebString& reason);
69 virtual blink::WebString getHeapProfile() OVERRIDE; 69 virtual blink::WebString getHeapProfile() override;
70 70
71 virtual bool processMemorySizesInBytes(size_t* private_bytes, 71 virtual bool processMemorySizesInBytes(size_t* private_bytes,
72 size_t* shared_bytes); 72 size_t* shared_bytes);
73 virtual bool memoryAllocatorWasteInBytes(size_t* size); 73 virtual bool memoryAllocatorWasteInBytes(size_t* size);
74 virtual blink::WebDiscardableMemory* allocateAndLockDiscardableMemory( 74 virtual blink::WebDiscardableMemory* allocateAndLockDiscardableMemory(
75 size_t bytes); 75 size_t bytes);
76 virtual size_t maxDecodedImageBytes() OVERRIDE; 76 virtual size_t maxDecodedImageBytes() override;
77 virtual blink::WebURLLoader* createURLLoader(); 77 virtual blink::WebURLLoader* createURLLoader();
78 virtual blink::WebSocketStreamHandle* createSocketStreamHandle(); 78 virtual blink::WebSocketStreamHandle* createSocketStreamHandle();
79 virtual blink::WebSocketHandle* createWebSocketHandle() OVERRIDE; 79 virtual blink::WebSocketHandle* createWebSocketHandle() override;
80 virtual blink::WebString userAgent(); 80 virtual blink::WebString userAgent();
81 virtual blink::WebData parseDataURL( 81 virtual blink::WebData parseDataURL(
82 const blink::WebURL& url, blink::WebString& mimetype, 82 const blink::WebURL& url, blink::WebString& mimetype,
83 blink::WebString& charset); 83 blink::WebString& charset);
84 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; 84 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const;
85 virtual bool isReservedIPAddress( 85 virtual bool isReservedIPAddress(
86 const blink::WebSecurityOrigin&) const OVERRIDE; 86 const blink::WebSecurityOrigin&) const override;
87 virtual bool isReservedIPAddress(const blink::WebURL&) const OVERRIDE; 87 virtual bool isReservedIPAddress(const blink::WebURL&) const override;
88 virtual blink::WebThread* createThread(const char* name); 88 virtual blink::WebThread* createThread(const char* name);
89 virtual blink::WebThread* currentThread(); 89 virtual blink::WebThread* currentThread();
90 virtual void yieldCurrentThread(); 90 virtual void yieldCurrentThread();
91 virtual blink::WebWaitableEvent* createWaitableEvent(); 91 virtual blink::WebWaitableEvent* createWaitableEvent();
92 virtual blink::WebWaitableEvent* waitMultipleEvents( 92 virtual blink::WebWaitableEvent* waitMultipleEvents(
93 const blink::WebVector<blink::WebWaitableEvent*>& events); 93 const blink::WebVector<blink::WebWaitableEvent*>& events);
94 virtual void decrementStatsCounter(const char* name); 94 virtual void decrementStatsCounter(const char* name);
95 virtual void incrementStatsCounter(const char* name); 95 virtual void incrementStatsCounter(const char* name);
96 virtual void histogramCustomCounts( 96 virtual void histogramCustomCounts(
97 const char* name, int sample, int min, int max, int bucket_count); 97 const char* name, int sample, int min, int max, int bucket_count);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 virtual double monotonicallyIncreasingTime(); 141 virtual double monotonicallyIncreasingTime();
142 virtual void cryptographicallyRandomValues( 142 virtual void cryptographicallyRandomValues(
143 unsigned char* buffer, size_t length); 143 unsigned char* buffer, size_t length);
144 virtual void setSharedTimerFiredFunction(void (*func)()); 144 virtual void setSharedTimerFiredFunction(void (*func)());
145 virtual void setSharedTimerFireInterval(double interval_seconds); 145 virtual void setSharedTimerFireInterval(double interval_seconds);
146 virtual void stopSharedTimer(); 146 virtual void stopSharedTimer();
147 virtual void callOnMainThread(void (*func)(void*), void* context); 147 virtual void callOnMainThread(void (*func)(void*), void* context);
148 virtual blink::WebGestureCurve* createFlingAnimationCurve( 148 virtual blink::WebGestureCurve* createFlingAnimationCurve(
149 blink::WebGestureDevice device_source, 149 blink::WebGestureDevice device_source,
150 const blink::WebFloatPoint& velocity, 150 const blink::WebFloatPoint& velocity,
151 const blink::WebSize& cumulative_scroll) OVERRIDE; 151 const blink::WebSize& cumulative_scroll) override;
152 virtual void didStartWorkerRunLoop( 152 virtual void didStartWorkerRunLoop(
153 const blink::WebWorkerRunLoop& runLoop) OVERRIDE; 153 const blink::WebWorkerRunLoop& runLoop) override;
154 virtual void didStopWorkerRunLoop( 154 virtual void didStopWorkerRunLoop(
155 const blink::WebWorkerRunLoop& runLoop) OVERRIDE; 155 const blink::WebWorkerRunLoop& runLoop) override;
156 virtual blink::WebCrypto* crypto() OVERRIDE; 156 virtual blink::WebCrypto* crypto() override;
157 virtual blink::WebGeofencingProvider* geofencingProvider() OVERRIDE; 157 virtual blink::WebGeofencingProvider* geofencingProvider() override;
158 158
159 void SuspendSharedTimer(); 159 void SuspendSharedTimer();
160 void ResumeSharedTimer(); 160 void ResumeSharedTimer();
161 virtual void OnStartSharedTimer(base::TimeDelta delay) {} 161 virtual void OnStartSharedTimer(base::TimeDelta delay) {}
162 162
163 private: 163 private:
164 static void DestroyCurrentThread(void*); 164 static void DestroyCurrentThread(void*);
165 165
166 void DoTimeout() { 166 void DoTimeout() {
167 if (shared_timer_func_ && !shared_timer_suspended_) 167 if (shared_timer_func_ && !shared_timer_suspended_)
168 shared_timer_func_(); 168 shared_timer_func_();
169 } 169 }
170 170
171 WebThemeEngineImpl native_theme_engine_; 171 WebThemeEngineImpl native_theme_engine_;
172 WebFallbackThemeEngineImpl fallback_theme_engine_; 172 WebFallbackThemeEngineImpl fallback_theme_engine_;
173 base::MessageLoop* main_loop_; 173 base::MessageLoop* main_loop_;
174 base::OneShotTimer<BlinkPlatformImpl> shared_timer_; 174 base::OneShotTimer<BlinkPlatformImpl> shared_timer_;
175 void (*shared_timer_func_)(); 175 void (*shared_timer_func_)();
176 double shared_timer_fire_time_; 176 double shared_timer_fire_time_;
177 bool shared_timer_fire_time_was_set_while_suspended_; 177 bool shared_timer_fire_time_was_set_while_suspended_;
178 int shared_timer_suspended_; // counter 178 int shared_timer_suspended_; // counter
179 base::ThreadLocalStorage::Slot current_thread_slot_; 179 base::ThreadLocalStorage::Slot current_thread_slot_;
180 WebCryptoImpl web_crypto_; 180 WebCryptoImpl web_crypto_;
181 scoped_ptr<WebGeofencingProviderImpl> geofencing_provider_; 181 scoped_ptr<WebGeofencingProviderImpl> geofencing_provider_;
182 }; 182 };
183 183
184 } // namespace content 184 } // namespace content
185 185
186 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 186 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/appcache/appcache_frontend_impl.h ('k') | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698