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

Side by Side Diff: content/renderer/render_thread_impl.cc

Issue 12813004: Chromium style checker cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 9 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 #include "content/renderer/render_thread_impl.h" 5 #include "content/renderer/render_thread_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 &RenderThreadImpl::OnGpuVDAContextLoss)); 239 &RenderThreadImpl::OnGpuVDAContextLoss));
240 } 240 }
241 }; 241 };
242 242
243 class RenderThreadImpl::RendererContextProviderCommandBuffer 243 class RenderThreadImpl::RendererContextProviderCommandBuffer
244 : public ContextProviderCommandBuffer { 244 : public ContextProviderCommandBuffer {
245 protected: 245 protected:
246 virtual ~RendererContextProviderCommandBuffer() {} 246 virtual ~RendererContextProviderCommandBuffer() {}
247 247
248 virtual scoped_ptr<WebGraphicsContext3DCommandBufferImpl> 248 virtual scoped_ptr<WebGraphicsContext3DCommandBufferImpl>
249 CreateOffscreenContext3d() { 249 CreateOffscreenContext3d() OVERRIDE {
250 RenderThreadImpl* self = RenderThreadImpl::current(); 250 RenderThreadImpl* self = RenderThreadImpl::current();
251 DCHECK(self); 251 DCHECK(self);
252 return self->CreateOffscreenContext3d().Pass(); 252 return self->CreateOffscreenContext3d().Pass();
253 } 253 }
254 }; 254 };
255 255
256 RenderThreadImpl::HistogramCustomizer::HistogramCustomizer() { 256 RenderThreadImpl::HistogramCustomizer::HistogramCustomizer() {
257 custom_histograms_.insert("V8.MemoryExternalFragmentationTotal"); 257 custom_histograms_.insert("V8.MemoryExternalFragmentationTotal");
258 custom_histograms_.insert("V8.MemoryHeapSampleTotalCommitted"); 258 custom_histograms_.insert("V8.MemoryHeapSampleTotalCommitted");
259 custom_histograms_.insert("V8.MemoryHeapSampleTotalUsed"); 259 custom_histograms_.insert("V8.MemoryHeapSampleTotalUsed");
(...skipping 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after
1268 1268
1269 void RenderThreadImpl::SetFlingCurveParameters( 1269 void RenderThreadImpl::SetFlingCurveParameters(
1270 const std::vector<float>& new_touchpad, 1270 const std::vector<float>& new_touchpad,
1271 const std::vector<float>& new_touchscreen) { 1271 const std::vector<float>& new_touchscreen) {
1272 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, 1272 webkit_platform_support_->SetFlingCurveParameters(new_touchpad,
1273 new_touchscreen); 1273 new_touchscreen);
1274 1274
1275 } 1275 }
1276 1276
1277 } // namespace content 1277 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/accessibility/renderer_accessibility_browsertest.cc ('k') | gpu/command_buffer/service/gpu_tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698