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

Side by Side Diff: ui/compositor/layer.h

Issue 737943002: Update from https://crrev.com/304715 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_COMPOSITOR_LAYER_H_ 5 #ifndef UI_COMPOSITOR_LAYER_H_
6 #define UI_COMPOSITOR_LAYER_H_ 6 #define UI_COMPOSITOR_LAYER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 void OnDelegatedFrameDamage(const gfx::Rect& damage_rect_in_dip); 326 void OnDelegatedFrameDamage(const gfx::Rect& damage_rect_in_dip);
327 327
328 // Requets a copy of the layer's output as a texture or bitmap. 328 // Requets a copy of the layer's output as a texture or bitmap.
329 void RequestCopyOfOutput(scoped_ptr<cc::CopyOutputRequest> request); 329 void RequestCopyOfOutput(scoped_ptr<cc::CopyOutputRequest> request);
330 330
331 // ContentLayerClient 331 // ContentLayerClient
332 void PaintContents( 332 void PaintContents(
333 SkCanvas* canvas, 333 SkCanvas* canvas,
334 const gfx::Rect& clip, 334 const gfx::Rect& clip,
335 ContentLayerClient::GraphicsContextStatus gc_status) override; 335 ContentLayerClient::GraphicsContextStatus gc_status) override;
336 void DidChangeLayerCanUseLCDText() override {}
337 bool FillsBoundsCompletely() const override; 336 bool FillsBoundsCompletely() const override;
338 337
339 cc::Layer* cc_layer() { return cc_layer_; } 338 cc::Layer* cc_layer() { return cc_layer_; }
340 339
341 // TextureLayerClient 340 // TextureLayerClient
342 bool PrepareTextureMailbox( 341 bool PrepareTextureMailbox(
343 cc::TextureMailbox* mailbox, 342 cc::TextureMailbox* mailbox,
344 scoped_ptr<cc::SingleReleaseCallback>* release_callback, 343 scoped_ptr<cc::SingleReleaseCallback>* release_callback,
345 bool use_shared_memory) override; 344 bool use_shared_memory) override;
346 345
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 // The size of the frame or texture in DIP, set when SetShowDelegatedContent 510 // The size of the frame or texture in DIP, set when SetShowDelegatedContent
512 // or SetTextureMailbox was called. 511 // or SetTextureMailbox was called.
513 gfx::Size frame_size_in_dip_; 512 gfx::Size frame_size_in_dip_;
514 513
515 DISALLOW_COPY_AND_ASSIGN(Layer); 514 DISALLOW_COPY_AND_ASSIGN(Layer);
516 }; 515 };
517 516
518 } // namespace ui 517 } // namespace ui
519 518
520 #endif // UI_COMPOSITOR_LAYER_H_ 519 #endif // UI_COMPOSITOR_LAYER_H_
OLDNEW
« no previous file with comments | « ui/compositor/float_animation_curve_adapter.cc ('k') | ui/compositor/transform_animation_curve_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698