Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / cc / scheduler / scheduler_settings.h
index b35cb7e..8607991 100644 (file)
@@ -5,22 +5,35 @@
 #ifndef CC_SCHEDULER_SCHEDULER_SETTINGS_H_
 #define CC_SCHEDULER_SCHEDULER_SETTINGS_H_
 
+#include "base/memory/ref_counted.h"
+#include "base/values.h"
 #include "cc/base/cc_export.h"
 
+namespace base {
+namespace debug {
+class ConvertableToTraceFormat;
+}
+}
+
 namespace cc {
+class LayerTreeSettings;
 
 class CC_EXPORT SchedulerSettings {
  public:
   SchedulerSettings();
+  explicit SchedulerSettings(const LayerTreeSettings& settings);
   ~SchedulerSettings();
 
-  bool deadline_scheduling_enabled;
+  bool begin_frame_scheduling_enabled;
+  bool main_frame_before_activation_enabled;
   bool impl_side_painting;
   bool timeout_and_draw_when_animation_checkerboards;
   int maximum_number_of_failed_draws_before_draw_is_forced_;
   bool using_synchronous_renderer_compositor;
   bool throttle_frame_production;
-  bool switch_to_low_latency_if_possible;
+  bool disable_hi_res_timer_tasks_on_battery;
+
+  scoped_refptr<base::debug::ConvertableToTraceFormat> AsValue() const;
 };
 
 }  // namespace cc