layer_ 112 ash/system/tray/system_tray_bubble.cc : layer_(layer) { layer_ 123 ash/system/tray/system_tray_bubble.cc scoped_ptr<ui::Layer> layer_; layer_ 56 ash/wm/boot_splash_screen_chromeos.cc layer_->set_delegate(layer_delegate_.get()); layer_ 59 ash/wm/boot_splash_screen_chromeos.cc layer_->SetBounds(gfx::Rect(host->window()->bounds().size())); layer_ 60 ash/wm/boot_splash_screen_chromeos.cc root_layer->Add(layer_.get()); layer_ 61 ash/wm/boot_splash_screen_chromeos.cc root_layer->StackAtTop(layer_.get()); layer_ 68 ash/wm/boot_splash_screen_chromeos.cc ui::ScopedLayerAnimationSettings settings(layer_->GetAnimator()); layer_ 71 ash/wm/boot_splash_screen_chromeos.cc layer_->SetOpacity(0.0f); layer_ 44 ash/wm/boot_splash_screen_chromeos.h scoped_ptr<ui::Layer> layer_; layer_ 19 ash/wm/system_background_controller.cc layer_->SetColor(color); layer_ 22 ash/wm/system_background_controller.cc layer_->SetBounds(gfx::Rect(root_layer->bounds().size())); layer_ 23 ash/wm/system_background_controller.cc root_layer->Add(layer_.get()); layer_ 24 ash/wm/system_background_controller.cc root_layer->StackAtBottom(layer_.get()); layer_ 32 ash/wm/system_background_controller.cc layer_->SetColor(color); layer_ 40 ash/wm/system_background_controller.cc layer_->SetBounds(gfx::Rect(root_window_->layer()->bounds().size())); layer_ 45 ash/wm/system_background_controller.h scoped_ptr<ui::Layer> layer_; layer_ 1279 cc/layers/picture_layer_impl.cc : layer_(NULL) {} layer_ 1284 cc/layers/picture_layer_impl.cc : layer_(layer), current_stage_(0) { layer_ 1285 cc/layers/picture_layer_impl.cc DCHECK(layer_); layer_ 1286 cc/layers/picture_layer_impl.cc if (!layer_->tilings_ || !layer_->tilings_->num_tilings()) layer_ 1290 cc/layers/picture_layer_impl.cc layer_->layer_tree_impl()->IsActiveTree() ? ACTIVE_TREE : PENDING_TREE; layer_ 1293 cc/layers/picture_layer_impl.cc for (size_t i = 0; i < layer_->tilings_->num_tilings(); ++i) { layer_ 1294 cc/layers/picture_layer_impl.cc PictureLayerTiling* tiling = layer_->tilings_->tiling_at(i); layer_ 1335 cc/layers/picture_layer_impl.cc return layer_ && static_cast<size_t>(current_stage_) < arraysize(stages_); layer_ 44 cc/layers/picture_layer_impl.h PictureLayerImpl* layer_; layer_ 881 cc/layers/texture_layer_unittest.cc layer_->SetTextureMailbox( layer_ 894 cc/layers/texture_layer_unittest.cc layer_ = TextureLayer::CreateForMailbox(NULL); layer_ 895 cc/layers/texture_layer_unittest.cc layer_->SetIsDrawable(true); layer_ 896 cc/layers/texture_layer_unittest.cc layer_->SetAnchorPoint(gfx::PointF()); layer_ 897 cc/layers/texture_layer_unittest.cc layer_->SetBounds(bounds); layer_ 899 cc/layers/texture_layer_unittest.cc root_->AddChild(layer_); layer_ 926 cc/layers/texture_layer_unittest.cc layer_->SetBounds(gfx::Size()); layer_ 933 cc/layers/texture_layer_unittest.cc layer_->SetTextureMailbox(TextureMailbox(), layer_ 957 cc/layers/texture_layer_unittest.cc layer_->RemoveFromParent(); layer_ 973 cc/layers/texture_layer_unittest.cc layer_->SetTextureMailbox(TextureMailbox(), layer_ 991 cc/layers/texture_layer_unittest.cc scoped_refptr<TextureLayer> layer_; layer_ 1010 cc/layers/texture_layer_unittest.cc layer_ = TextureLayer::Create(this); layer_ 1011 cc/layers/texture_layer_unittest.cc layer_->SetIsDrawable(true); layer_ 1012 cc/layers/texture_layer_unittest.cc layer_->SetAnchorPoint(gfx::PointF()); layer_ 1013 cc/layers/texture_layer_unittest.cc layer_->SetBounds(bounds); layer_ 1015 cc/layers/texture_layer_unittest.cc root_->AddChild(layer_); layer_ 1049 cc/layers/texture_layer_unittest.cc layer_->SetNeedsDisplay(); layer_ 1055 cc/layers/texture_layer_unittest.cc layer_->RemoveFromParent(); layer_ 1083 cc/layers/texture_layer_unittest.cc scoped_refptr<TextureLayer> layer_; layer_ 1099 cc/layers/texture_layer_unittest.cc layer_->SetTextureMailbox( layer_ 1110 cc/layers/texture_layer_unittest.cc layer_ = TextureLayer::CreateForMailbox(NULL); layer_ 1111 cc/layers/texture_layer_unittest.cc layer_->SetIsDrawable(true); layer_ 1112 cc/layers/texture_layer_unittest.cc layer_->SetAnchorPoint(gfx::PointF()); layer_ 1113 cc/layers/texture_layer_unittest.cc layer_->SetBounds(bounds); layer_ 1115 cc/layers/texture_layer_unittest.cc root_->AddChild(layer_); layer_ 1138 cc/layers/texture_layer_unittest.cc layer_->RemoveFromParent(); layer_ 1166 cc/layers/texture_layer_unittest.cc scoped_refptr<TextureLayer> layer_; layer_ 2145 cc/layers/texture_layer_unittest.cc layer_->SetTextureMailbox( layer_ 2156 cc/layers/texture_layer_unittest.cc layer_ = TextureLayer::CreateForMailbox(NULL); layer_ 2157 cc/layers/texture_layer_unittest.cc layer_->SetIsDrawable(true); layer_ 2158 cc/layers/texture_layer_unittest.cc layer_->SetAnchorPoint(gfx::PointF()); layer_ 2159 cc/layers/texture_layer_unittest.cc layer_->SetBounds(bounds); layer_ 2161 cc/layers/texture_layer_unittest.cc root_->AddChild(layer_); layer_ 2183 cc/layers/texture_layer_unittest.cc layer_->RemoveFromParent(); layer_ 2184 cc/layers/texture_layer_unittest.cc layer_ = NULL; layer_ 2197 cc/layers/texture_layer_unittest.cc scoped_refptr<TextureLayer> layer_; layer_ 2218 cc/layers/texture_layer_unittest.cc layer_->SetTextureMailbox( layer_ 2229 cc/layers/texture_layer_unittest.cc layer_ = TextureLayer::CreateForMailbox(NULL); layer_ 2230 cc/layers/texture_layer_unittest.cc layer_->SetIsDrawable(true); layer_ 2231 cc/layers/texture_layer_unittest.cc layer_->SetAnchorPoint(gfx::PointF()); layer_ 2232 cc/layers/texture_layer_unittest.cc layer_->SetBounds(bounds); layer_ 2234 cc/layers/texture_layer_unittest.cc root_->AddChild(layer_); layer_ 2257 cc/layers/texture_layer_unittest.cc layer_->RemoveFromParent(); layer_ 2260 cc/layers/texture_layer_unittest.cc layer_ = NULL; layer_ 2273 cc/layers/texture_layer_unittest.cc scoped_refptr<TextureLayer> layer_; layer_ 29 cc/test/tiled_layer_test_common.cc layer_->Update(); layer_ 44 cc/test/tiled_layer_test_common.cc layer_->InvalidateContentRect(rect_to_invalidate_); layer_ 46 cc/test/tiled_layer_test_common.cc layer_ = NULL; layer_ 54 cc/test/tiled_layer_test_common.cc layer_ = layer; layer_ 36 cc/test/tiled_layer_test_common.h FakeLayerUpdater* layer_; layer_ 80 cc/test/tiled_layer_test_common.h scoped_refptr<FakeTiledLayer> layer_; layer_ 1530 cc/trees/layer_tree_host_unittest.cc layer_ = FakeContentLayer::Create(&client_); layer_ 1531 cc/trees/layer_tree_host_unittest.cc layer_->SetBounds(gfx::Size(10, 20)); layer_ 1536 cc/trees/layer_tree_host_unittest.cc paint_scrollbar, has_thumb, layer_->id()); layer_ 1540 cc/trees/layer_tree_host_unittest.cc layer_->AddChild(scrollbar_); layer_ 1542 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetRootLayer(layer_); layer_ 1610 cc/trees/layer_tree_host_unittest.cc layer_->SetNeedsDisplay(); layer_ 1618 cc/trees/layer_tree_host_unittest.cc scoped_refptr<FakeContentLayer> layer_; layer_ 2113 cc/trees/layer_tree_host_unittest.cc : layer_(EvictionTestLayer::Create()), layer_ 2118 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetRootLayer(layer_); layer_ 2122 cc/trees/layer_tree_host_unittest.cc SetLayerPropertiesForTesting(layer_.get(), layer_ 2170 cc/trees/layer_tree_host_unittest.cc EXPECT_TRUE(layer_->HaveBackingTexture()); layer_ 2174 cc/trees/layer_tree_host_unittest.cc EXPECT_TRUE(layer_->HaveBackingTexture()); layer_ 2180 cc/trees/layer_tree_host_unittest.cc EXPECT_TRUE(layer_->HaveBackingTexture()); layer_ 2186 cc/trees/layer_tree_host_unittest.cc EXPECT_TRUE(layer_->HaveBackingTexture()); layer_ 2211 cc/trees/layer_tree_host_unittest.cc EXPECT_FALSE(layer_->HaveBackingTexture()); layer_ 2219 cc/trees/layer_tree_host_unittest.cc EXPECT_FALSE(layer_->HaveBackingTexture()); layer_ 2232 cc/trees/layer_tree_host_unittest.cc scoped_refptr<EvictionTestLayer> layer_; layer_ 2583 cc/trees/layer_tree_host_unittest.cc : layer_(0), paint_count_(0), lcd_notification_count_(0) {} layer_ 2585 cc/trees/layer_tree_host_unittest.cc void set_layer(Layer* layer) { layer_ = layer; } layer_ 2596 cc/trees/layer_tree_host_unittest.cc layer_->SetNeedsDisplay(); layer_ 2601 cc/trees/layer_tree_host_unittest.cc Layer* layer_; layer_ 2826 cc/trees/layer_tree_host_unittest.cc SetBoundsClient() : layer_(0) {} layer_ 2828 cc/trees/layer_tree_host_unittest.cc void set_layer(Layer* layer) { layer_ = layer; } layer_ 2833 cc/trees/layer_tree_host_unittest.cc layer_->SetBounds(gfx::Size(2, 2)); layer_ 2841 cc/trees/layer_tree_host_unittest.cc Layer* layer_; layer_ 3084 cc/trees/layer_tree_host_unittest.cc layer_ = FakePictureLayer::Create(&client_); layer_ 3087 cc/trees/layer_tree_host_unittest.cc layer_->set_always_update_resources(true); layer_ 3088 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetRootLayer(layer_); layer_ 3171 cc/trees/layer_tree_host_unittest.cc scoped_refptr<FakePictureLayer> layer_; layer_ 678 cc/trees/layer_tree_host_unittest_context.cc layer_(FakeContentLayer::Create(&client_)), layer_ 683 cc/trees/layer_tree_host_unittest_context.cc layer_->SetBounds(gfx::Size(10, 20)); layer_ 684 cc/trees/layer_tree_host_unittest_context.cc layer_tree_host()->SetRootLayer(layer_); layer_ 712 cc/trees/layer_tree_host_unittest_context.cc EXPECT_TRUE(layer_->HaveBackingAt(0, 0)); layer_ 736 cc/trees/layer_tree_host_unittest_context.cc scoped_refptr<FakeContentLayer> layer_; layer_ 1931 cc/trees/layer_tree_host_unittest_context.cc layer_->SetBounds(gfx::Size(10, 20)); layer_ 1932 cc/trees/layer_tree_host_unittest_context.cc layer_tree_host()->SetRootLayer(layer_); layer_ 1941 cc/trees/layer_tree_host_unittest_context.cc EXPECT_EQ(1u, layer_->output_surface_created_count()); layer_ 1945 cc/trees/layer_tree_host_unittest_context.cc EXPECT_EQ(1u, layer_->output_surface_created_count()); layer_ 1949 cc/trees/layer_tree_host_unittest_context.cc EXPECT_EQ(1u, layer_->output_surface_created_count()); layer_ 1952 cc/trees/layer_tree_host_unittest_context.cc EXPECT_EQ(2u, layer_->output_surface_created_count()); layer_ 1982 cc/trees/layer_tree_host_unittest_context.cc scoped_refptr<FakeContentLayer> layer_; layer_ 1194 cc/trees/layer_tree_host_unittest_scroll.cc owner_->DidScroll(layer_); layer_ 1197 cc/trees/layer_tree_host_unittest_scroll.cc Layer* layer_; layer_ 1213 cc/trees/layer_tree_host_unittest_scroll.cc client->layer_ = scroll_layer.get(); layer_ 34 cc/trees/layer_tree_impl.cc : layer_(layer), delegate_(delegate), layer_tree_impl_(layer_tree) {} layer_ 48 cc/trees/layer_tree_impl.cc return layer_tree_impl_->GetDelegatedScrollOffset(layer_); layer_ 70 cc/trees/layer_tree_impl.cc LayerImpl* layer_; layer_ 26 cc/trees/quad_culler.cc layer_(layer), layer_ 44 cc/trees/quad_culler.cc layer_->render_target(), content_rect, draw_transform); layer_ 51 cc/trees/quad_culler.cc layer_, content_rect, draw_transform); layer_ 75 cc/trees/quad_culler.cc RenderSurfaceImpl* surface = layer_->render_surface(); layer_ 82 cc/trees/quad_culler.cc layer_, draw_quad->visible_rect, draw_transform); layer_ 85 cc/trees/quad_culler.cc occlusion_tracker_.UnoccludedContentRect(layer_->render_target(), layer_ 91 cc/trees/quad_culler.cc draw_quad.Pass(), culled_rect, quad_list_, occlusion_tracker_, layer_); layer_ 42 cc/trees/quad_culler.h const LayerImpl* layer_; layer_ 40 chrome/browser/chromeos/ui/focus_ring_layer.cc if (!layer_ || root_window != root_window_) { layer_ 43 chrome/browser/chromeos/ui/focus_ring_layer.cc layer_.reset(new ui::Layer(ui::LAYER_TEXTURED)); layer_ 44 chrome/browser/chromeos/ui/focus_ring_layer.cc layer_->set_name("FocusRing"); layer_ 45 chrome/browser/chromeos/ui/focus_ring_layer.cc layer_->set_delegate(this); layer_ 46 chrome/browser/chromeos/ui/focus_ring_layer.cc layer_->SetFillsBoundsOpaquely(false); layer_ 47 chrome/browser/chromeos/ui/focus_ring_layer.cc root_layer->Add(layer_.get()); layer_ 52 chrome/browser/chromeos/ui/focus_ring_layer.cc layer_->parent()->StackAtTop(layer_.get()); layer_ 61 chrome/browser/chromeos/ui/focus_ring_layer.cc layer_->SetBounds(layer_bounds); layer_ 66 chrome/browser/chromeos/ui/focus_ring_layer.cc if (layer_ && !focus_ring_.IsEmpty()) layer_ 67 chrome/browser/chromeos/ui/focus_ring_layer.cc layer_->SchedulePaint(focus_ring_); layer_ 108 chrome/browser/chromeos/ui/focus_ring_layer.cc origin -= layer_->bounds().OffsetFromOrigin(); layer_ 55 chrome/browser/chromeos/ui/focus_ring_layer.h scoped_ptr<ui::Layer> layer_; layer_ 238 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Size bounds = layer_->bounds(); layer_ 256 content/browser/renderer_host/render_widget_host_view_android.cc if (!layer_) layer_ 321 content/browser/renderer_host/render_widget_host_view_android.cc if (layer_) layer_ 322 content/browser/renderer_host/render_widget_host_view_android.cc layer_->SetHideLayerAndSubtree(false); layer_ 333 content/browser/renderer_host/render_widget_host_view_android.cc if (layer_) layer_ 334 content/browser/renderer_host/render_widget_host_view_android.cc layer_->SetHideLayerAndSubtree(true); layer_ 714 content/browser/renderer_host/render_widget_host_view_android.cc layer_ = NULL; layer_ 749 content/browser/renderer_host/render_widget_host_view_android.cc layer_ = cc::DelegatedRendererLayer::Create(frame_provider_); layer_ 756 content/browser/renderer_host/render_widget_host_view_android.cc if (layer_.get()) { layer_ 757 content/browser/renderer_host/render_widget_host_view_android.cc layer_->SetDisplaySize(texture_size_in_layer_); layer_ 758 content/browser/renderer_host/render_widget_host_view_android.cc layer_->SetIsDrawable(true); layer_ 759 content/browser/renderer_host/render_widget_host_view_android.cc layer_->SetContentsOpaque(true); layer_ 760 content/browser/renderer_host/render_widget_host_view_android.cc layer_->SetBounds(content_size_in_layer_); layer_ 761 content/browser/renderer_host/render_widget_host_view_android.cc layer_->SetNeedsDisplay(); layer_ 807 content/browser/renderer_host/render_widget_host_view_android.cc if (layer_ && layer_->layer_tree_host()) { layer_ 811 content/browser/renderer_host/render_widget_host_view_android.cc layer_->layer_tree_host()->QueueSwapPromise(swap_promise.Pass()); layer_ 875 content/browser/renderer_host/render_widget_host_view_android.cc layer_->SetContentsOpaque(!enabled); layer_ 935 content/browser/renderer_host/render_widget_host_view_android.cc if (!layer_.get()) layer_ 938 content/browser/renderer_host/render_widget_host_view_android.cc content_view_core_->AttachLayer(layer_); layer_ 941 content/browser/renderer_host/render_widget_host_view_android.cc layer_->SetHideLayerAndSubtree(!is_showing_); layer_ 947 content/browser/renderer_host/render_widget_host_view_android.cc if (!layer_.get()) layer_ 950 content/browser/renderer_host/render_widget_host_view_android.cc content_view_core_->RemoveLayer(layer_); layer_ 985 content/browser/renderer_host/render_widget_host_view_android.cc if (layer_.get()) layer_ 1204 content/browser/renderer_host/render_widget_host_view_android.cc if (!content_view_core_ || !layer_ || !is_showing_) layer_ 1275 content/browser/renderer_host/render_widget_host_view_android.cc if (layer_.get()) layer_ 322 content/browser/renderer_host/render_widget_host_view_android.h scoped_refptr<cc::DelegatedRendererLayer> layer_; layer_ 73 content/browser/web_contents/aura/overscroll_navigation_overlay.cc : layer_(layer.Pass()) { layer_ 74 content/browser/web_contents/aura/overscroll_navigation_overlay.cc CHECK(layer_.get()); layer_ 80 content/browser/web_contents/aura/overscroll_navigation_overlay.cc DCHECK(layer_.get()); layer_ 81 content/browser/web_contents/aura/overscroll_navigation_overlay.cc ui::LayerAnimator* animator = layer_->GetAnimator(); layer_ 86 content/browser/web_contents/aura/overscroll_navigation_overlay.cc layer_->SetOpacity(0); layer_ 106 content/browser/web_contents/aura/overscroll_navigation_overlay.cc scoped_ptr<ui::Layer> layer_; layer_ 25 content/browser/web_contents/aura/shadow_layer_delegate.cc : layer_(new ui::Layer(ui::LAYER_TEXTURED)) { layer_ 26 content/browser/web_contents/aura/shadow_layer_delegate.cc layer_->set_delegate(this); layer_ 27 content/browser/web_contents/aura/shadow_layer_delegate.cc layer_->SetBounds(gfx::Rect(-kShadowThick, 0, kShadowThick, layer_ 29 content/browser/web_contents/aura/shadow_layer_delegate.cc layer_->SetFillsBoundsOpaquely(false); layer_ 30 content/browser/web_contents/aura/shadow_layer_delegate.cc shadow_for->Add(layer_.get()); layer_ 48 content/browser/web_contents/aura/shadow_layer_delegate.cc layer_->bounds().height()); layer_ 31 content/browser/web_contents/aura/shadow_layer_delegate.h ui::Layer* layer() { return layer_.get(); } layer_ 39 content/browser/web_contents/aura/shadow_layer_delegate.h scoped_ptr<ui::Layer> layer_; layer_ 426 content/child/npapi/webplugin_delegate_impl.h CALayer* layer_; // Used for CA drawing mode. Weak, retained by plug-in. layer_ 364 content/renderer/render_widget_fullscreen_pepper.cc layer_(NULL), layer_ 405 content/renderer/render_widget_fullscreen_pepper.cc layer_ = layer; layer_ 406 content/renderer/render_widget_fullscreen_pepper.cc bool compositing = !!layer_; layer_ 413 content/renderer/render_widget_fullscreen_pepper.cc layer_->setBounds(blink::WebSize(size())); layer_ 414 content/renderer/render_widget_fullscreen_pepper.cc layer_->setDrawsContent(true); layer_ 416 content/renderer/render_widget_fullscreen_pepper.cc compositor_->setRootLayer(*layer_); layer_ 477 content/renderer/render_widget_fullscreen_pepper.cc if (layer_) layer_ 478 content/renderer/render_widget_fullscreen_pepper.cc layer_->setBounds(blink::WebSize(params.new_size)); layer_ 52 content/renderer/render_widget_fullscreen_pepper.h bool is_compositing() const { return !!layer_; } layer_ 86 content/renderer/render_widget_fullscreen_pepper.h blink::WebLayer* layer_; layer_ 111 ui/app_list/views/apps_grid_view.cc layer_(layer), layer_ 122 ui/app_list/views/apps_grid_view.cc if (layer_) { layer_ 123 ui/app_list/views/apps_grid_view.cc layer_->SetOpacity(1 - animation->GetCurrentValue()); layer_ 124 ui/app_list/views/apps_grid_view.cc layer_->SetBounds(animation->CurrentValueBetween(layer_start_, layer_ 126 ui/app_list/views/apps_grid_view.cc layer_->ScheduleDraw(); layer_ 142 ui/app_list/views/apps_grid_view.cc scoped_ptr<ui::Layer> layer_; layer_ 263 ui/aura/bench/bench_main.cc layer_(layer), layer_ 266 ui/aura/bench/bench_main.cc layer_->set_draw( layer_ 275 ui/aura/bench/bench_main.cc layer_->set_color( layer_ 277 ui/aura/bench/bench_main.cc layer_->SchedulePaint(gfx::Rect(layer_->bounds().size())); layer_ 281 ui/aura/bench/bench_main.cc ColoredLayer* layer_; layer_ 11 ui/compositor/layer_owner.cc LayerOwner::LayerOwner() : layer_(NULL), layer_owner_delegate_(NULL) { layer_ 20 ui/compositor/layer_owner.cc layer_ = layer; layer_ 21 ui/compositor/layer_owner.cc layer_->owner_ = this; layer_ 76 ui/compositor/layer_owner.cc layer_ = NULL; layer_ 38 ui/compositor/layer_owner.h ui::Layer* layer() { return layer_; } layer_ 39 ui/compositor/layer_owner.h const ui::Layer* layer() const { return layer_; } layer_ 57 ui/compositor/layer_owner.h Layer* layer_; layer_ 1086 ui/compositor/layer_unittest.cc layer_ = layer; layer_ 1087 ui/compositor/layer_unittest.cc layer_->set_delegate(this); layer_ 1107 ui/compositor/layer_unittest.cc layer_->SchedulePaint(schedule_paint_rect_); layer_ 1123 ui/compositor/layer_unittest.cc Layer* layer_; layer_ 122 ui/v2/src/view.cc layer_ = layer; layer_ 184 ui/views/bubble/tray_bubble_view.cc ui::Layer* layer() { return &layer_; } layer_ 192 ui/views/bubble/tray_bubble_view.cc ui::Layer layer_; layer_ 199 ui/views/bubble/tray_bubble_view.cc : layer_(ui::LAYER_TEXTURED), layer_ 201 ui/views/bubble/tray_bubble_view.cc layer_.set_delegate(this); layer_ 205 ui/views/bubble/tray_bubble_view.cc layer_.set_delegate(NULL); layer_ 33 ui/wm/core/image_grid.cc : layer_(new ui::Layer(ui::LAYER_NOT_DRAWN)), layer_ 94 ui/wm/core/image_grid.cc gfx::Rect updated_bounds = layer_->bounds(); layer_ 96 ui/wm/core/image_grid.cc layer_->SetBounds(updated_bounds); layer_ 113 ui/wm/core/image_grid.cc gfx::Size(center_width, center_height), layer_->device_scale_factor())); layer_ 218 ui/wm/core/image_grid.cc layer_->SetBounds( layer_ 221 ui/wm/core/image_grid.cc layer_->bounds().width(), layer_ 222 ui/wm/core/image_grid.cc layer_->bounds().height())); layer_ 267 ui/wm/core/image_grid.cc layer_->Remove(layer_ptr->get()); layer_ 285 ui/wm/core/image_grid.cc layer_->Add(layer_ptr->get()); layer_ 91 ui/wm/core/image_grid.h ui::Layer* layer() { return layer_.get(); } layer_ 177 ui/wm/core/image_grid.h scoped_ptr<ui::Layer> layer_; layer_ 25 webkit/renderer/compositor_bindings/web_content_layer_impl.cc layer_ = make_scoped_ptr(new WebLayerImpl(PictureLayer::Create(this))); layer_ 27 webkit/renderer/compositor_bindings/web_content_layer_impl.cc layer_ = make_scoped_ptr(new WebLayerImpl(ContentLayer::Create(this))); layer_ 28 webkit/renderer/compositor_bindings/web_content_layer_impl.cc layer_->layer()->SetIsDrawable(true); layer_ 29 webkit/renderer/compositor_bindings/web_content_layer_impl.cc can_use_lcd_text_ = layer_->layer()->can_use_lcd_text(); layer_ 34 webkit/renderer/compositor_bindings/web_content_layer_impl.cc static_cast<PictureLayer*>(layer_->layer())->ClearClient(); layer_ 36 webkit/renderer/compositor_bindings/web_content_layer_impl.cc static_cast<ContentLayer*>(layer_->layer())->ClearClient(); layer_ 39 webkit/renderer/compositor_bindings/web_content_layer_impl.cc blink::WebLayer* WebContentLayerImpl::layer() { return layer_.get(); } layer_ 42 webkit/renderer/compositor_bindings/web_content_layer_impl.cc layer_->layer()->SetDoubleSided(double_sided); layer_ 46 webkit/renderer/compositor_bindings/web_content_layer_impl.cc layer_->layer()->SetDrawCheckerboardForMissingTiles(enable); layer_ 51 webkit/renderer/compositor_bindings/web_content_layer_impl.cc static_cast<PictureLayer*>(layer_->layer()) layer_ 73 webkit/renderer/compositor_bindings/web_content_layer_impl.cc if (can_use_lcd_text_ == layer_->layer()->can_use_lcd_text()) layer_ 77 webkit/renderer/compositor_bindings/web_content_layer_impl.cc if (layer_->layer()->can_use_lcd_text() && ignore_lcd_text_change_) layer_ 80 webkit/renderer/compositor_bindings/web_content_layer_impl.cc can_use_lcd_text_ = layer_->layer()->can_use_lcd_text(); layer_ 82 webkit/renderer/compositor_bindings/web_content_layer_impl.cc layer_->invalidate(); layer_ 45 webkit/renderer/compositor_bindings/web_content_layer_impl.h scoped_ptr<WebLayerImpl> layer_; layer_ 31 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc layer_.reset(new WebLayerImpl(layer)); layer_ 35 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc static_cast<TextureLayer*>(layer_->layer())->ClearClient(); layer_ 38 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc blink::WebLayer* WebExternalTextureLayerImpl::layer() { return layer_.get(); } layer_ 41 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc TextureLayer *layer = static_cast<TextureLayer*>(layer_->layer()); layer_ 46 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc static_cast<TextureLayer*>(layer_->layer())->SetContentsOpaque(opaque); layer_ 51 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc static_cast<TextureLayer*>(layer_->layer())->SetPremultipliedAlpha( layer_ 56 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc static_cast<TextureLayer*>(layer_->layer())->SetBlendBackgroundColor(blend); layer_ 60 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc static_cast<TextureLayer*>(layer_->layer())->SetRateLimitContext(rate_limit); layer_ 65 webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h scoped_ptr<WebLayerImpl> layer_; layer_ 16 webkit/renderer/compositor_bindings/web_image_layer_impl.cc layer_.reset(new WebLayerImplFixedBounds(cc::PictureImageLayer::Create())); layer_ 18 webkit/renderer/compositor_bindings/web_image_layer_impl.cc layer_.reset(new WebLayerImpl(cc::ImageLayer::Create())); layer_ 23 webkit/renderer/compositor_bindings/web_image_layer_impl.cc blink::WebLayer* WebImageLayerImpl::layer() { return layer_.get(); } layer_ 27 webkit/renderer/compositor_bindings/web_image_layer_impl.cc static_cast<cc::PictureImageLayer*>(layer_->layer())->SetBitmap(bitmap); layer_ 28 webkit/renderer/compositor_bindings/web_image_layer_impl.cc static_cast<WebLayerImplFixedBounds*>(layer_.get())->SetFixedBounds( layer_ 31 webkit/renderer/compositor_bindings/web_image_layer_impl.cc static_cast<cc::ImageLayer*>(layer_->layer())->SetBitmap(bitmap); layer_ 27 webkit/renderer/compositor_bindings/web_image_layer_impl.h scoped_ptr<WebLayerImpl> layer_; layer_ 48 webkit/renderer/compositor_bindings/web_layer_impl.cc WebLayerImpl::WebLayerImpl() : layer_(Layer::Create()) { layer_ 50 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetLayerClient(this); layer_ 53 webkit/renderer/compositor_bindings/web_layer_impl.cc WebLayerImpl::WebLayerImpl(scoped_refptr<Layer> layer) : layer_(layer) { layer_ 55 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetLayerClient(this); layer_ 59 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->ClearRenderSurface(); layer_ 60 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->set_layer_animation_delegate(NULL); layer_ 74 webkit/renderer/compositor_bindings/web_layer_impl.cc int WebLayerImpl::id() const { return layer_->id(); } layer_ 77 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetNeedsDisplayRect(rect); layer_ 80 webkit/renderer/compositor_bindings/web_layer_impl.cc void WebLayerImpl::invalidate() { layer_->SetNeedsDisplay(); } layer_ 83 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->AddChild(static_cast<WebLayerImpl*>(child)->layer()); layer_ 87 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->InsertChild(static_cast<WebLayerImpl*>(child)->layer(), index); layer_ 91 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->ReplaceChild(static_cast<WebLayerImpl*>(reference)->layer(), layer_ 95 webkit/renderer/compositor_bindings/web_layer_impl.cc void WebLayerImpl::removeFromParent() { layer_->RemoveFromParent(); } layer_ 97 webkit/renderer/compositor_bindings/web_layer_impl.cc void WebLayerImpl::removeAllChildren() { layer_->RemoveAllChildren(); } layer_ 100 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetAnchorPoint(anchor_point); layer_ 104 webkit/renderer/compositor_bindings/web_layer_impl.cc return layer_->anchor_point(); layer_ 108 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetAnchorPointZ(anchor_point_z); layer_ 111 webkit/renderer/compositor_bindings/web_layer_impl.cc float WebLayerImpl::anchorPointZ() const { return layer_->anchor_point_z(); } layer_ 113 webkit/renderer/compositor_bindings/web_layer_impl.cc void WebLayerImpl::setBounds(const WebSize& size) { layer_->SetBounds(size); } layer_ 115 webkit/renderer/compositor_bindings/web_layer_impl.cc WebSize WebLayerImpl::bounds() const { return layer_->bounds(); } layer_ 118 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetMasksToBounds(masks_to_bounds); layer_ 121 webkit/renderer/compositor_bindings/web_layer_impl.cc bool WebLayerImpl::masksToBounds() const { return layer_->masks_to_bounds(); } layer_ 124 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetMaskLayer( layer_ 129 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetReplicaLayer( layer_ 133 webkit/renderer/compositor_bindings/web_layer_impl.cc void WebLayerImpl::setOpacity(float opacity) { layer_->SetOpacity(opacity); } layer_ 135 webkit/renderer/compositor_bindings/web_layer_impl.cc float WebLayerImpl::opacity() const { return layer_->opacity(); } layer_ 138 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetBlendMode(BlendModeToSkia(blend_mode)); layer_ 142 webkit/renderer/compositor_bindings/web_layer_impl.cc return BlendModeFromSkia(layer_->blend_mode()); layer_ 146 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetIsRootForIsolatedGroup(isolate); layer_ 150 webkit/renderer/compositor_bindings/web_layer_impl.cc return layer_->is_root_for_isolated_group(); layer_ 153 webkit/renderer/compositor_bindings/web_layer_impl.cc void WebLayerImpl::setOpaque(bool opaque) { layer_->SetContentsOpaque(opaque); } layer_ 155 webkit/renderer/compositor_bindings/web_layer_impl.cc bool WebLayerImpl::opaque() const { return layer_->contents_opaque(); } layer_ 158 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetPosition(position); layer_ 161 webkit/renderer/compositor_bindings/web_layer_impl.cc WebFloatPoint WebLayerImpl::position() const { return layer_->position(); } layer_ 166 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetTransform(transform); layer_ 170 webkit/renderer/compositor_bindings/web_layer_impl.cc return layer_->transform().matrix(); layer_ 174 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetIsDrawable(draws_content); layer_ 177 webkit/renderer/compositor_bindings/web_layer_impl.cc bool WebLayerImpl::drawsContent() const { return layer_->DrawsContent(); } layer_ 180 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetShouldFlattenTransform(flatten); layer_ 184 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetIs3dSorted(context != 0); layer_ 189 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->set_use_parent_backface_visibility(use_parent_backface_visibility); layer_ 193 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetBackgroundColor(color); layer_ 197 webkit/renderer/compositor_bindings/web_layer_impl.cc return layer_->background_color(); layer_ 203 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetFilters(filters_impl.AsFilterOperations()); layer_ 209 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetBackgroundFilters(filters_impl.AsFilterOperations()); layer_ 216 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->set_layer_animation_delegate(animation_delegate_adapter_.get()); layer_ 220 webkit/renderer/compositor_bindings/web_layer_impl.cc bool result = layer_->AddAnimation( layer_ 227 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->RemoveAnimation(animation_id); layer_ 233 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->layer_animation_controller()->RemoveAnimation( layer_ 239 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->PauseAnimation(animation_id, time_offset); layer_ 242 webkit/renderer/compositor_bindings/web_layer_impl.cc bool WebLayerImpl::hasActiveAnimation() { return layer_->HasActiveAnimation(); } layer_ 245 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetForceRenderSurface(force_render_surface); layer_ 249 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetScrollOffset(gfx::Point(position).OffsetFromOrigin()); layer_ 253 webkit/renderer/compositor_bindings/web_layer_impl.cc return gfx::PointAtOffsetFromOrigin(layer_->scroll_offset()); layer_ 258 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetScrollClipLayerId(Layer::INVALID_ID); layer_ 261 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetScrollClipLayerId(clip_layer->id()); layer_ 264 webkit/renderer/compositor_bindings/web_layer_impl.cc bool WebLayerImpl::scrollable() const { return layer_->scrollable(); } layer_ 267 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetUserScrollable(horizontal, vertical); layer_ 271 webkit/renderer/compositor_bindings/web_layer_impl.cc return layer_->user_scrollable_horizontal(); layer_ 275 webkit/renderer/compositor_bindings/web_layer_impl.cc return layer_->user_scrollable_vertical(); layer_ 279 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetHaveWheelEventHandlers(have_wheel_event_handlers); layer_ 283 webkit/renderer/compositor_bindings/web_layer_impl.cc return layer_->have_wheel_event_handlers(); layer_ 287 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetHaveScrollEventHandlers(have_scroll_event_handlers); layer_ 291 webkit/renderer/compositor_bindings/web_layer_impl.cc return layer_->have_scroll_event_handlers(); layer_ 296 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetShouldScrollOnMainThread(should_scroll_on_main_thread); layer_ 300 webkit/renderer/compositor_bindings/web_layer_impl.cc return layer_->should_scroll_on_main_thread(); layer_ 307 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetNonFastScrollableRegion(region); layer_ 312 webkit/renderer/compositor_bindings/web_layer_impl.cc for (cc::Region::Iterator region_rects(layer_->non_fast_scrollable_region()); layer_ 319 webkit/renderer/compositor_bindings/web_layer_impl.cc for (cc::Region::Iterator region_rects(layer_->non_fast_scrollable_region()); layer_ 332 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetTouchEventHandlerRegion(region); layer_ 337 webkit/renderer/compositor_bindings/web_layer_impl.cc for (cc::Region::Iterator region_rects(layer_->touch_event_handler_region()); layer_ 344 webkit/renderer/compositor_bindings/web_layer_impl.cc for (cc::Region::Iterator region_rects(layer_->touch_event_handler_region()); layer_ 354 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetIsContainerForFixedPositionLayers(enable); layer_ 358 webkit/renderer/compositor_bindings/web_layer_impl.cc return layer_->IsContainerForFixedPositionLayers(); layer_ 381 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetPositionConstraint(ToLayerPositionConstraint(constraint)); layer_ 385 webkit/renderer/compositor_bindings/web_layer_impl.cc return ToWebLayerPositionConstraint(layer_->position_constraint()); layer_ 391 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->set_did_scroll_callback( layer_ 395 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->set_did_scroll_callback(base::Closure()); layer_ 399 webkit/renderer/compositor_bindings/web_layer_impl.cc bool WebLayerImpl::isOrphan() const { return !layer_->layer_tree_host(); } layer_ 439 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetScrollParent(scroll_parent); layer_ 446 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetClipParent(clip_parent); layer_ 449 webkit/renderer/compositor_bindings/web_layer_impl.cc Layer* WebLayerImpl::layer() const { return layer_.get(); } layer_ 145 webkit/renderer/compositor_bindings/web_layer_impl.h scoped_refptr<cc::Layer> layer_; layer_ 36 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc layer_->SetAnchorPoint(anchor_point); layer_ 83 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc layer_->SetBounds(original_bounds_); layer_ 84 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc layer_->SetTransform(original_transform_); layer_ 88 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc layer_->SetBounds(fixed_bounds_); layer_ 97 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc layer_->SetTransform(transform_with_bounds_scale); layer_ 17 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc layer_.reset(new WebLayerImpl(cc::NinePatchLayer::Create())); layer_ 22 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc blink::WebLayer* WebNinePatchLayerImpl::layer() { return layer_.get(); } layer_ 35 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc static_cast<cc::NinePatchLayer*>(layer_->layer()); layer_ 41 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc static_cast<cc::NinePatchLayer*>(layer_->layer()); layer_ 47 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc static_cast<cc::NinePatchLayer*>(layer_->layer()); layer_ 53 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc static_cast<cc::NinePatchLayer*>(layer_->layer()); layer_ 34 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.h scoped_ptr<WebLayerImpl> layer_; layer_ 33 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.cc : layer_(new WebLayerImpl(PaintedScrollbarLayer::Create( layer_ 43 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.cc : layer_(new WebLayerImpl( layer_ 52 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.cc blink::WebLayer* WebScrollbarLayerImpl::layer() { return layer_.get(); } layer_ 57 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.cc layer_->layer()->ToScrollbarLayer()->SetScrollLayer(scroll_layer->id()); layer_ 63 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.cc layer_->layer()->ToScrollbarLayer()->SetClipLayer(clip_layer->id()); layer_ 40 webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.h scoped_ptr<WebLayerImpl> layer_; layer_ 15 webkit/renderer/compositor_bindings/web_solid_color_layer_impl.cc : layer_(new WebLayerImpl(SolidColorLayer::Create())) { layer_ 16 webkit/renderer/compositor_bindings/web_solid_color_layer_impl.cc layer_->layer()->SetIsDrawable(true); layer_ 21 webkit/renderer/compositor_bindings/web_solid_color_layer_impl.cc blink::WebLayer* WebSolidColorLayerImpl::layer() { return layer_.get(); } layer_ 24 webkit/renderer/compositor_bindings/web_solid_color_layer_impl.cc layer_->setBackgroundColor(color); layer_ 26 webkit/renderer/compositor_bindings/web_solid_color_layer_impl.h scoped_ptr<WebLayerImpl> layer_;