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

Unified Diff: cc/trees/layer_tree.h

Issue 2494623002: cc: Remove client/engine LayerTreeHostInProcess. (Closed)
Patch Set: .. Created 4 years, 1 month 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/serialization_test_utils.cc ('k') | cc/trees/layer_tree_host_in_process.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree.h
diff --git a/cc/trees/layer_tree.h b/cc/trees/layer_tree.h
index 6dbc0a7c799d7c6f8395c07c54bc4083c986bd16..fe28384d381df6cebc037d77db0428a9ad0576df 100644
--- a/cc/trees/layer_tree.h
+++ b/cc/trees/layer_tree.h
@@ -75,6 +75,7 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
}
void RegisterSelection(const LayerSelection& selection);
+ const LayerSelection& selection() const { return inputs_.selection; }
void SetHaveScrollEventHandlers(bool have_event_handlers);
bool have_scroll_event_handlers() const {
@@ -110,6 +111,9 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
void set_has_transparent_background(bool transparent) {
inputs_.has_transparent_background = transparent;
}
+ bool has_transparent_background() const {
+ return inputs_.has_transparent_background;
+ }
void StartPageScaleAnimation(const gfx::Vector2d& target_offset,
bool use_anchor,
@@ -121,6 +125,9 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
float device_scale_factor() const { return inputs_.device_scale_factor; }
void SetPaintedDeviceScaleFactor(float painted_device_scale_factor);
+ float painted_device_scale_factor() const {
+ return inputs_.painted_device_scale_factor;
+ }
void SetDeviceColorSpace(const gfx::ColorSpace& device_color_space);
const gfx::ColorSpace& device_color_space() const {
« no previous file with comments | « cc/test/serialization_test_utils.cc ('k') | cc/trees/layer_tree_host_in_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698