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

Side by Side Diff: views/widget/native_widget_wayland.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « views/widget/native_widget_views.cc ('k') | views/widget/native_widget_wayland.cc » ('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 #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
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
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_
OLDNEW
« no previous file with comments | « views/widget/native_widget_views.cc ('k') | views/widget/native_widget_wayland.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698