OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |