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

Unified Diff: views/widget/native_widget_views.cc

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
« no previous file with comments | « views/widget/native_widget_views.h ('k') | views/widget/native_widget_wayland.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/native_widget_views.cc
===================================================================
--- views/widget/native_widget_views.cc (revision 100773)
+++ views/widget/native_widget_views.cc (working copy)
@@ -183,15 +183,12 @@
return hosting_widget_->GetCompositor();
}
-void NativeWidgetViews::MarkLayerDirty() {
- view_->MarkLayerDirty();
+void NativeWidgetViews::CalculateOffsetToAncestorWithLayer(
+ gfx::Point* offset,
+ ui::Layer** layer_parent) {
+ view_->CalculateOffsetToAncestorWithLayer(offset, layer_parent);
}
-void NativeWidgetViews::CalculateOffsetToAncestorWithLayer(gfx::Point* offset,
- View** ancestor) {
- view_->CalculateOffsetToAncestorWithLayer(offset, ancestor);
-}
-
void NativeWidgetViews::ViewRemoved(View* view) {
internal::NativeWidgetPrivate* parent = GetParentNativeWidget();
if (parent)
@@ -470,7 +467,7 @@
}
void NativeWidgetViews::SchedulePaintInRect(const gfx::Rect& rect) {
- view_->SchedulePaintInternal(rect);
+ view_->SchedulePaintInRect(rect);
}
void NativeWidgetViews::SetCursor(gfx::NativeCursor cursor) {
« no previous file with comments | « views/widget/native_widget_views.h ('k') | views/widget/native_widget_wayland.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698