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

Side by Side Diff: views/widget/native_widget_views.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
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_VIEWS_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_
6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ 6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual bool ShouldUseNativeFrame() const OVERRIDE; 56 virtual bool ShouldUseNativeFrame() const OVERRIDE;
57 virtual void FrameTypeChanged() OVERRIDE; 57 virtual void FrameTypeChanged() OVERRIDE;
58 virtual Widget* GetWidget() OVERRIDE; 58 virtual Widget* GetWidget() OVERRIDE;
59 virtual const Widget* GetWidget() const OVERRIDE; 59 virtual const Widget* GetWidget() const OVERRIDE;
60 virtual gfx::NativeView GetNativeView() const OVERRIDE; 60 virtual gfx::NativeView GetNativeView() const OVERRIDE;
61 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; 61 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE;
62 virtual Widget* GetTopLevelWidget() OVERRIDE; 62 virtual Widget* GetTopLevelWidget() OVERRIDE;
63 virtual const ui::Compositor* GetCompositor() const OVERRIDE; 63 virtual const ui::Compositor* GetCompositor() const OVERRIDE;
64 virtual ui::Compositor* GetCompositor() OVERRIDE; 64 virtual ui::Compositor* GetCompositor() OVERRIDE;
65 virtual void MarkLayerDirty() OVERRIDE; 65 virtual void MarkLayerDirty() OVERRIDE;
66 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset, 66 virtual void CalculateOffsetToAncestorWithLayer(
67 View** ancestor) OVERRIDE; 67 gfx::Point* offset,
68 ui::Layer** layer_parent) OVERRIDE;
68 virtual void ViewRemoved(View* view) OVERRIDE; 69 virtual void ViewRemoved(View* view) OVERRIDE;
69 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; 70 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE;
70 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; 71 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE;
71 virtual TooltipManager* GetTooltipManager() const OVERRIDE; 72 virtual TooltipManager* GetTooltipManager() const OVERRIDE;
72 virtual bool IsScreenReaderActive() const OVERRIDE; 73 virtual bool IsScreenReaderActive() const OVERRIDE;
73 virtual void SendNativeAccessibilityEvent( 74 virtual void SendNativeAccessibilityEvent(
74 View* view, 75 View* view,
75 ui::AccessibilityTypes::Event event_type) OVERRIDE; 76 ui::AccessibilityTypes::Event event_type) OVERRIDE;
76 virtual void SetMouseCapture() OVERRIDE; 77 virtual void SetMouseCapture() OVERRIDE;
77 virtual void ReleaseMouseCapture() OVERRIDE; 78 virtual void ReleaseMouseCapture() OVERRIDE;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 bool delete_native_view_; 168 bool delete_native_view_;
168 169
169 std::map<const char*, void*> window_properties_; 170 std::map<const char*, void*> window_properties_;
170 171
171 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); 172 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews);
172 }; 173 };
173 174
174 } // namespace views 175 } // namespace views
175 176
176 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ 177 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698