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

Side by Side Diff: views/widget/native_widget_aura.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/view_unittest.cc ('k') | views/widget/native_widget_aura.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_AURA_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
6 #define VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 6 #define VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "aura/window_delegate.h" 9 #include "aura/window_delegate.h"
10 #include "views/widget/native_widget_private.h" 10 #include "views/widget/native_widget_private.h"
(...skipping 20 matching lines...) Expand all
31 virtual void UpdateFrameAfterFrameChange() OVERRIDE; 31 virtual void UpdateFrameAfterFrameChange() OVERRIDE;
32 virtual bool ShouldUseNativeFrame() const OVERRIDE; 32 virtual bool ShouldUseNativeFrame() const OVERRIDE;
33 virtual void FrameTypeChanged() OVERRIDE; 33 virtual void FrameTypeChanged() OVERRIDE;
34 virtual Widget* GetWidget() OVERRIDE; 34 virtual Widget* GetWidget() OVERRIDE;
35 virtual const Widget* GetWidget() const OVERRIDE; 35 virtual const Widget* GetWidget() const OVERRIDE;
36 virtual gfx::NativeView GetNativeView() const OVERRIDE; 36 virtual gfx::NativeView GetNativeView() const OVERRIDE;
37 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; 37 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE;
38 virtual Widget* GetTopLevelWidget() OVERRIDE; 38 virtual Widget* GetTopLevelWidget() OVERRIDE;
39 virtual const ui::Compositor* GetCompositor() const OVERRIDE; 39 virtual const ui::Compositor* GetCompositor() const OVERRIDE;
40 virtual ui::Compositor* GetCompositor() OVERRIDE; 40 virtual ui::Compositor* GetCompositor() OVERRIDE;
41 virtual void MarkLayerDirty() OVERRIDE; 41 virtual void CalculateOffsetToAncestorWithLayer(
42 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset, 42 gfx::Point* offset,
43 View** ancestor) OVERRIDE; 43 ui::Layer** layer_parent) OVERRIDE;
44 virtual void ViewRemoved(View* view) OVERRIDE; 44 virtual void ViewRemoved(View* view) OVERRIDE;
45 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; 45 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE;
46 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; 46 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE;
47 virtual TooltipManager* GetTooltipManager() const OVERRIDE; 47 virtual TooltipManager* GetTooltipManager() const OVERRIDE;
48 virtual bool IsScreenReaderActive() const OVERRIDE; 48 virtual bool IsScreenReaderActive() const OVERRIDE;
49 virtual void SendNativeAccessibilityEvent( 49 virtual void SendNativeAccessibilityEvent(
50 View* view, 50 View* view,
51 ui::AccessibilityTypes::Event event_type) OVERRIDE; 51 ui::AccessibilityTypes::Event event_type) OVERRIDE;
52 virtual void SetMouseCapture() OVERRIDE; 52 virtual void SetMouseCapture() OVERRIDE;
53 virtual void ReleaseMouseCapture() OVERRIDE; 53 virtual void ReleaseMouseCapture() OVERRIDE;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 // See class documentation for Widget in widget.h for a note about ownership. 126 // See class documentation for Widget in widget.h for a note about ownership.
127 Widget::InitParams::Ownership ownership_; 127 Widget::InitParams::Ownership ownership_;
128 128
129 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 129 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
130 }; 130 };
131 131
132 } // namespace views 132 } // namespace views
133 133
134 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 134 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « views/view_unittest.cc ('k') | views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698