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

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

Issue 586933003: fling: Remove a bunch of code for configuring fling curves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 6 years, 3 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/public/common/renderer_preferences.cc ('k') | content/renderer/render_thread_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 (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 CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 // possible. 376 // possible.
377 std::set<std::string> custom_histograms_; 377 std::set<std::string> custom_histograms_;
378 378
379 DISALLOW_COPY_AND_ASSIGN(HistogramCustomizer); 379 DISALLOW_COPY_AND_ASSIGN(HistogramCustomizer);
380 }; 380 };
381 381
382 HistogramCustomizer* histogram_customizer() { 382 HistogramCustomizer* histogram_customizer() {
383 return &histogram_customizer_; 383 return &histogram_customizer_;
384 } 384 }
385 385
386 void SetFlingCurveParameters(const std::vector<float>& new_touchpad,
387 const std::vector<float>& new_touchscreen);
388
389 // Retrieve current gamepad data. 386 // Retrieve current gamepad data.
390 void SampleGamepads(blink::WebGamepads* data); 387 void SampleGamepads(blink::WebGamepads* data);
391 388
392 // Called by a RenderWidget when it is created or destroyed. This 389 // Called by a RenderWidget when it is created or destroyed. This
393 // allows the process to know when there are no visible widgets. 390 // allows the process to know when there are no visible widgets.
394 void WidgetCreated(); 391 void WidgetCreated();
395 void WidgetDestroyed(); 392 void WidgetDestroyed();
396 void WidgetHidden(); 393 void WidgetHidden();
397 void WidgetRestored(); 394 void WidgetRestored();
398 395
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 bool is_one_copy_enabled_; 583 bool is_one_copy_enabled_;
587 584
588 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; 585 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_;
589 586
590 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 587 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
591 }; 588 };
592 589
593 } // namespace content 590 } // namespace content
594 591
595 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 592 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/common/renderer_preferences.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698