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

Unified Diff: cc/trees/layer_tree_settings.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.cc ('k') | cc/trees/layer_tree_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_settings.h
diff --git a/cc/trees/layer_tree_settings.h b/cc/trees/layer_tree_settings.h
deleted file mode 100644
index 1f61f89b9483219633d7dd903646f9f6f2243a64..0000000000000000000000000000000000000000
--- a/cc/trees/layer_tree_settings.h
+++ /dev/null
@@ -1,95 +0,0 @@
-// Copyright 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_TREES_LAYER_TREE_SETTINGS_H_
-#define CC_TREES_LAYER_TREE_SETTINGS_H_
-
-#include "base/basictypes.h"
-#include "cc/base/cc_export.h"
-#include "cc/debug/layer_tree_debug_state.h"
-#include "cc/output/renderer_settings.h"
-#include "cc/scheduler/scheduler_settings.h"
-#include "third_party/skia/include/core/SkColor.h"
-#include "ui/gfx/geometry/size.h"
-
-namespace cc {
-
-class CC_EXPORT LayerTreeSettings {
- public:
- LayerTreeSettings();
- ~LayerTreeSettings();
-
- RendererSettings renderer_settings;
- bool impl_side_painting;
- bool raster_enabled;
- bool throttle_frame_production;
- bool single_thread_proxy_scheduler;
- bool use_external_begin_frame_source;
- bool main_frame_before_activation_enabled;
- bool using_synchronous_renderer_compositor;
- bool report_overscroll_only_for_scrollable_axes;
- bool per_tile_painting_enabled;
- bool accelerated_animation_enabled;
- bool can_use_lcd_text;
- bool use_distance_field_text;
- bool gpu_rasterization_enabled;
- bool gpu_rasterization_forced;
- int gpu_rasterization_msaa_sample_count;
- float gpu_rasterization_skewport_target_time_in_seconds;
- bool threaded_gpu_rasterization_enabled;
- bool create_low_res_tiling;
-
- enum ScrollbarAnimator {
- NO_ANIMATOR,
- LINEAR_FADE,
- THINNING,
- };
- ScrollbarAnimator scrollbar_animator;
- int scrollbar_fade_delay_ms;
- int scrollbar_fade_resize_delay_ms;
- int scrollbar_fade_duration_ms;
- float scrollbar_show_scale_threshold;
- SkColor solid_color_scrollbar_color;
- bool timeout_and_draw_when_animation_checkerboards;
- int maximum_number_of_failed_draws_before_draw_is_forced_;
- bool layer_transforms_should_scale_layer_contents;
- bool layers_always_allowed_lcd_text;
- float minimum_contents_scale;
- float low_res_contents_scale_factor;
- float top_controls_show_threshold;
- float top_controls_hide_threshold;
- double background_animation_rate;
- size_t max_partial_texture_updates;
- gfx::Size default_tile_size;
- gfx::Size max_untiled_layer_size;
- gfx::Size default_tile_grid_size;
- gfx::Size minimum_occlusion_tracking_size;
- bool use_pinch_zoom_scrollbars;
- bool use_pinch_virtual_viewport;
- size_t max_tiles_for_interest_area;
- float skewport_target_time_in_seconds;
- int skewport_extrapolation_limit_in_content_pixels;
- size_t max_unused_resource_memory_percentage;
- size_t max_memory_for_prepaint_percentage;
- bool strict_layer_property_change_checking;
- bool use_one_copy;
- bool use_zero_copy;
- bool enable_elastic_overscroll;
- unsigned use_image_texture_target;
- bool ignore_root_layer_flings;
- size_t scheduled_raster_task_limit;
- bool use_occlusion_for_tile_prioritization;
- bool record_full_layer;
- bool use_display_lists;
- bool verify_property_trees;
- bool gather_pixel_refs;
-
- LayerTreeDebugState initial_debug_state;
-
- SchedulerSettings ToSchedulerSettings() const;
-};
-
-} // namespace cc
-
-#endif // CC_TREES_LAYER_TREE_SETTINGS_H_
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.cc ('k') | cc/trees/layer_tree_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698