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

Unified Diff: cc/trees/layer_tree_host.h

Issue 1341423006: Removing GL context rate limiting feature and related wrappers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed mojo autogens Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/fake_proxy.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index 767cec8f1824d1670f204ed07bcfae1d9b473186..6ddef269e835f96acb2e347b3aaa35f255a31cb0 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -17,7 +17,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
-#include "base/timer/timer.h"
#include "cc/animation/animation_events.h"
#include "cc/base/cc_export.h"
#include "cc/base/scoped_ptr_vector.h"
@@ -244,12 +243,6 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
void ApplyScrollAndScale(ScrollAndScaleSet* info);
void SetImplTransform(const gfx::Transform& transform);
- // Virtual for tests.
- virtual void StartRateLimiter();
- virtual void StopRateLimiter();
-
- void RateLimit();
-
void SetDeviceScaleFactor(float device_scale_factor);
float device_scale_factor() const { return device_scale_factor_; }
@@ -424,7 +417,6 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
void SetPropertyTreesNeedRebuild();
- bool inside_begin_main_frame_;
bool needs_full_tree_sync_;
bool needs_meta_info_recomputation_;
@@ -455,8 +447,6 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
bool visible_;
- base::OneShotTimer<LayerTreeHost> rate_limit_timer_;
-
float page_scale_factor_;
float min_page_scale_factor_;
float max_page_scale_factor_;
« no previous file with comments | « cc/test/fake_proxy.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698