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

Unified Diff: views/widget/native_widget_view.h

Issue 7845033: Rework View Layer Draw() to use the Layer::DrawTree() method and the LayerDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
Index: views/widget/native_widget_view.h
===================================================================
--- views/widget/native_widget_view.h (revision 100773)
+++ views/widget/native_widget_view.h (working copy)
@@ -43,8 +43,9 @@
// Overridden from View:
virtual void SchedulePaintInternal(const gfx::Rect& r) OVERRIDE;
virtual void MarkLayerDirty() OVERRIDE;
- virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset,
- View** ancestor) OVERRIDE;
+ virtual void CalculateOffsetToAncestorWithLayer(
+ gfx::Point* offset,
+ ui::Layer** layer_parent) OVERRIDE;
private:
// Overridden from View:
@@ -73,8 +74,6 @@
const gfx::Point& point) OVERRIDE;
virtual void DestroyLayerRecurse() OVERRIDE;
virtual void UpdateLayerBounds(const gfx::Point& offset) OVERRIDE;
- virtual void PaintToLayer(const gfx::Rect& dirty_rect) OVERRIDE;
- virtual void PaintComposite() OVERRIDE;
internal::NativeWidgetDelegate* delegate() {
return native_widget_->delegate();

Powered by Google App Engine
This is Rietveld 408576698