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

Side by Side Diff: views/widget/native_widget_win.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_wayland.cc ('k') | views/widget/native_widget_win.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_WIN_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
6 #define VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 6 #define VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlapp.h> 10 #include <atlapp.h>
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 virtual void UpdateFrameAfterFrameChange() OVERRIDE; 191 virtual void UpdateFrameAfterFrameChange() OVERRIDE;
192 virtual bool ShouldUseNativeFrame() const OVERRIDE; 192 virtual bool ShouldUseNativeFrame() const OVERRIDE;
193 virtual void FrameTypeChanged() OVERRIDE; 193 virtual void FrameTypeChanged() OVERRIDE;
194 virtual Widget* GetWidget() OVERRIDE; 194 virtual Widget* GetWidget() OVERRIDE;
195 virtual const Widget* GetWidget() const OVERRIDE; 195 virtual const Widget* GetWidget() const OVERRIDE;
196 virtual gfx::NativeView GetNativeView() const OVERRIDE; 196 virtual gfx::NativeView GetNativeView() const OVERRIDE;
197 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; 197 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE;
198 virtual Widget* GetTopLevelWidget() OVERRIDE; 198 virtual Widget* GetTopLevelWidget() OVERRIDE;
199 virtual const ui::Compositor* GetCompositor() const OVERRIDE; 199 virtual const ui::Compositor* GetCompositor() const OVERRIDE;
200 virtual ui::Compositor* GetCompositor() OVERRIDE; 200 virtual ui::Compositor* GetCompositor() OVERRIDE;
201 virtual void MarkLayerDirty() OVERRIDE; 201 virtual void CalculateOffsetToAncestorWithLayer(
202 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset, 202 gfx::Point* offset,
203 View** ancestor) OVERRIDE; 203 ui::Layer** layer_parent) OVERRIDE;
204 virtual void ViewRemoved(View* view) OVERRIDE; 204 virtual void ViewRemoved(View* view) OVERRIDE;
205 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; 205 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE;
206 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; 206 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE;
207 virtual TooltipManager* GetTooltipManager() const OVERRIDE; 207 virtual TooltipManager* GetTooltipManager() const OVERRIDE;
208 virtual bool IsScreenReaderActive() const OVERRIDE; 208 virtual bool IsScreenReaderActive() const OVERRIDE;
209 virtual void SendNativeAccessibilityEvent( 209 virtual void SendNativeAccessibilityEvent(
210 View* view, 210 View* view,
211 ui::AccessibilityTypes::Event event_type) OVERRIDE; 211 ui::AccessibilityTypes::Event event_type) OVERRIDE;
212 virtual void SetMouseCapture() OVERRIDE; 212 virtual void SetMouseCapture() OVERRIDE;
213 virtual void ReleaseMouseCapture() OVERRIDE; 213 virtual void ReleaseMouseCapture() OVERRIDE;
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 649
650 // The compositor for accelerated drawing. 650 // The compositor for accelerated drawing.
651 scoped_refptr<ui::Compositor> compositor_; 651 scoped_refptr<ui::Compositor> compositor_;
652 652
653 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); 653 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin);
654 }; 654 };
655 655
656 } // namespace views 656 } // namespace views
657 657
658 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 658 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
OLDNEW
« no previous file with comments | « views/widget/native_widget_wayland.cc ('k') | views/widget/native_widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698