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

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

Issue 1083683003: Speculative revert by sheriff (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed an unrelated commit that had accidentally slipped in. Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « tools/run-bisect-perf-regression.py ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 void OnDelegatedFrameDamage(const gfx::Rect& damage_rect_in_dip); 335 void OnDelegatedFrameDamage(const gfx::Rect& damage_rect_in_dip);
336 336
337 // Requets a copy of the layer's output as a texture or bitmap. 337 // Requets a copy of the layer's output as a texture or bitmap.
338 void RequestCopyOfOutput(scoped_ptr<cc::CopyOutputRequest> request); 338 void RequestCopyOfOutput(scoped_ptr<cc::CopyOutputRequest> request);
339 339
340 // ContentLayerClient 340 // ContentLayerClient
341 void PaintContents( 341 void PaintContents(
342 SkCanvas* canvas, 342 SkCanvas* canvas,
343 const gfx::Rect& clip, 343 const gfx::Rect& clip,
344 ContentLayerClient::PaintingControlSetting painting_control) override; 344 ContentLayerClient::PaintingControlSetting painting_control) override;
345 void PaintContentsToDisplayList( 345 scoped_refptr<cc::DisplayItemList> PaintContentsToDisplayList(
346 cc::DisplayItemList* display_list,
347 const gfx::Rect& clip, 346 const gfx::Rect& clip,
348 ContentLayerClient::PaintingControlSetting painting_control) override; 347 ContentLayerClient::PaintingControlSetting painting_control) override;
349 bool FillsBoundsCompletely() const override; 348 bool FillsBoundsCompletely() const override;
350 349
351 cc::Layer* cc_layer() { return cc_layer_; } 350 cc::Layer* cc_layer() { return cc_layer_; }
352 351
353 // TextureLayerClient 352 // TextureLayerClient
354 bool PrepareTextureMailbox( 353 bool PrepareTextureMailbox(
355 cc::TextureMailbox* mailbox, 354 cc::TextureMailbox* mailbox,
356 scoped_ptr<cc::SingleReleaseCallback>* release_callback, 355 scoped_ptr<cc::SingleReleaseCallback>* release_callback,
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 // The size of the frame or texture in DIP, set when SetShowDelegatedContent 528 // The size of the frame or texture in DIP, set when SetShowDelegatedContent
530 // or SetTextureMailbox was called. 529 // or SetTextureMailbox was called.
531 gfx::Size frame_size_in_dip_; 530 gfx::Size frame_size_in_dip_;
532 531
533 DISALLOW_COPY_AND_ASSIGN(Layer); 532 DISALLOW_COPY_AND_ASSIGN(Layer);
534 }; 533 };
535 534
536 } // namespace ui 535 } // namespace ui
537 536
538 #endif // UI_COMPOSITOR_LAYER_H_ 537 #endif // UI_COMPOSITOR_LAYER_H_
OLDNEW
« no previous file with comments | « tools/run-bisect-perf-regression.py ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698