| 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 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ |
| 6 #define VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <wayland-client.h> | 9 #include <wayland-client.h> |
| 10 | 10 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 virtual void UpdateFrameAfterFrameChange() OVERRIDE; | 49 virtual void UpdateFrameAfterFrameChange() OVERRIDE; |
| 50 virtual bool ShouldUseNativeFrame() const OVERRIDE; | 50 virtual bool ShouldUseNativeFrame() const OVERRIDE; |
| 51 virtual void FrameTypeChanged() OVERRIDE; | 51 virtual void FrameTypeChanged() OVERRIDE; |
| 52 virtual Widget* GetWidget() OVERRIDE; | 52 virtual Widget* GetWidget() OVERRIDE; |
| 53 virtual const Widget* GetWidget() const OVERRIDE; | 53 virtual const Widget* GetWidget() const OVERRIDE; |
| 54 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 54 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 55 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; | 55 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; |
| 56 virtual Widget* GetTopLevelWidget() OVERRIDE; | 56 virtual Widget* GetTopLevelWidget() OVERRIDE; |
| 57 virtual const ui::Compositor* GetCompositor() const OVERRIDE; | 57 virtual const ui::Compositor* GetCompositor() const OVERRIDE; |
| 58 virtual ui::Compositor* GetCompositor() OVERRIDE; | 58 virtual ui::Compositor* GetCompositor() OVERRIDE; |
| 59 virtual void MarkLayerDirty() OVERRIDE; | 59 virtual void CalculateOffsetToAncestorWithLayer( |
| 60 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset, | 60 gfx::Point* offset, |
| 61 View** ancestor) OVERRIDE; | 61 ui::Layer** layer_parent) OVERRIDE; |
| 62 virtual void ViewRemoved(View* view) OVERRIDE; | 62 virtual void ViewRemoved(View* view) OVERRIDE; |
| 63 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; | 63 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; |
| 64 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; | 64 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; |
| 65 virtual TooltipManager* GetTooltipManager() const OVERRIDE; | 65 virtual TooltipManager* GetTooltipManager() const OVERRIDE; |
| 66 virtual bool IsScreenReaderActive() const OVERRIDE; | 66 virtual bool IsScreenReaderActive() const OVERRIDE; |
| 67 virtual void SendNativeAccessibilityEvent( | 67 virtual void SendNativeAccessibilityEvent( |
| 68 View* view, | 68 View* view, |
| 69 ui::AccessibilityTypes::Event event_type) OVERRIDE; | 69 ui::AccessibilityTypes::Event event_type) OVERRIDE; |
| 70 virtual void SetMouseCapture() OVERRIDE; | 70 virtual void SetMouseCapture() OVERRIDE; |
| 71 virtual void ReleaseMouseCapture() OVERRIDE; | 71 virtual void ReleaseMouseCapture() OVERRIDE; |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 // and the compositor will have these, so we don't need to worry about them. | 195 // and the compositor will have these, so we don't need to worry about them. |
| 196 scoped_refptr<gfx::GLSurface> surface_; | 196 scoped_refptr<gfx::GLSurface> surface_; |
| 197 scoped_refptr<gfx::GLContext> context_; | 197 scoped_refptr<gfx::GLContext> context_; |
| 198 | 198 |
| 199 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWayland); | 199 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWayland); |
| 200 }; | 200 }; |
| 201 | 201 |
| 202 } // namespace views | 202 } // namespace views |
| 203 | 203 |
| 204 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ | 204 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ |
| OLD | NEW |