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

Side by Side Diff: views/widget/native_widget_win.h

Issue 7273084: Change the meaning of "Widget::GetTopLevelWidget()" to mean the logical top level Window in the v... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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_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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 // Overridden from internal::NativeWidgetPrivate: 192 // Overridden from internal::NativeWidgetPrivate:
193 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; 193 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE;
194 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; 194 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
195 virtual void UpdateFrameAfterFrameChange() OVERRIDE; 195 virtual void UpdateFrameAfterFrameChange() OVERRIDE;
196 virtual bool ShouldUseNativeFrame() const OVERRIDE; 196 virtual bool ShouldUseNativeFrame() const OVERRIDE;
197 virtual void FrameTypeChanged() OVERRIDE; 197 virtual void FrameTypeChanged() OVERRIDE;
198 virtual Widget* GetWidget() OVERRIDE; 198 virtual Widget* GetWidget() OVERRIDE;
199 virtual const Widget* GetWidget() const OVERRIDE; 199 virtual const Widget* GetWidget() const OVERRIDE;
200 virtual gfx::NativeView GetNativeView() const OVERRIDE; 200 virtual gfx::NativeView GetNativeView() const OVERRIDE;
201 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; 201 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE;
202 virtual Widget* GetTopLevelWidget() OVERRIDE;
202 virtual const ui::Compositor* GetCompositor() const OVERRIDE; 203 virtual const ui::Compositor* GetCompositor() const OVERRIDE;
203 virtual ui::Compositor* GetCompositor() OVERRIDE; 204 virtual ui::Compositor* GetCompositor() OVERRIDE;
204 virtual void MarkLayerDirty() OVERRIDE; 205 virtual void MarkLayerDirty() OVERRIDE;
205 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset, 206 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset,
206 View** ancestor) OVERRIDE; 207 View** ancestor) OVERRIDE;
207 virtual void ViewRemoved(View* view) OVERRIDE; 208 virtual void ViewRemoved(View* view) OVERRIDE;
208 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE; 209 virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE;
209 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE; 210 virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE;
210 virtual TooltipManager* GetTooltipManager() const OVERRIDE; 211 virtual TooltipManager* GetTooltipManager() const OVERRIDE;
211 virtual bool IsScreenReaderActive() const OVERRIDE; 212 virtual bool IsScreenReaderActive() const OVERRIDE;
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 662
662 // The compositor for accelerated drawing. 663 // The compositor for accelerated drawing.
663 scoped_refptr<ui::Compositor> compositor_; 664 scoped_refptr<ui::Compositor> compositor_;
664 665
665 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); 666 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin);
666 }; 667 };
667 668
668 } // namespace views 669 } // namespace views
669 670
670 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 671 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
OLDNEW
« no previous file with comments | « views/widget/native_widget_views.cc ('k') | views/widget/native_widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698