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

Side by Side Diff: views/widget/native_widget_wayland.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « views/widget/native_widget_wayland.h ('k') | views/widget/native_widget_win.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "views/widget/native_widget_wayland.h" 5 #include "views/widget/native_widget_wayland.h"
6 6
7 #include <cairo.h> 7 #include <cairo.h>
8 #include <cairo-gl.h> 8 #include <cairo-gl.h>
9 #include <EGL/egl.h> 9 #include <EGL/egl.h>
10 #include <GL/gl.h> 10 #include <GL/gl.h>
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 } 173 }
174 174
175 const ui::Compositor* NativeWidgetWayland::GetCompositor() const { 175 const ui::Compositor* NativeWidgetWayland::GetCompositor() const {
176 return compositor_.get(); 176 return compositor_.get();
177 } 177 }
178 178
179 ui::Compositor* NativeWidgetWayland::GetCompositor() { 179 ui::Compositor* NativeWidgetWayland::GetCompositor() {
180 return compositor_.get(); 180 return compositor_.get();
181 } 181 }
182 182
183 void NativeWidgetWayland::MarkLayerDirty() {
184 }
185
186 void NativeWidgetWayland::CalculateOffsetToAncestorWithLayer( 183 void NativeWidgetWayland::CalculateOffsetToAncestorWithLayer(
187 gfx::Point* offset, 184 gfx::Point* offset,
188 View** ancestor) { 185 ui::Layer** layer_parent) {
189 } 186 }
190 187
191 void NativeWidgetWayland::ViewRemoved(View* view) { 188 void NativeWidgetWayland::ViewRemoved(View* view) {
192 NOTIMPLEMENTED(); 189 NOTIMPLEMENTED();
193 } 190 }
194 191
195 void NativeWidgetWayland::SetNativeWindowProperty(const char* name, 192 void NativeWidgetWayland::SetNativeWindowProperty(const char* name,
196 void* value) { 193 void* value) {
197 // Remove the existing property (if any). 194 // Remove the existing property (if any).
198 for (ViewProps::iterator i = props_.begin(); i != props_.end(); ++i) { 195 for (ViewProps::iterator i = props_.begin(); i != props_.end(); ++i) {
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 665
669 // static 666 // static
670 bool NativeWidgetPrivate::IsMouseButtonDown() { 667 bool NativeWidgetPrivate::IsMouseButtonDown() {
671 NOTIMPLEMENTED(); 668 NOTIMPLEMENTED();
672 return false; 669 return false;
673 } 670 }
674 671
675 } // namespace internal 672 } // namespace internal
676 673
677 } // namespace views 674 } // namespace views
OLDNEW
« no previous file with comments | « views/widget/native_widget_wayland.h ('k') | views/widget/native_widget_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698