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

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

Issue 8620008: Get rid of Widget::ConvertPointFromAncestor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « ui/views/widget/native_widget_private.h ('k') | ui/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 UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 6 #define UI_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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 virtual void SetOpacity(unsigned char opacity) OVERRIDE; 245 virtual void SetOpacity(unsigned char opacity) OVERRIDE;
246 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; 246 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE;
247 virtual bool IsAccessibleWidget() const OVERRIDE; 247 virtual bool IsAccessibleWidget() const OVERRIDE;
248 virtual void RunShellDrag(View* view, 248 virtual void RunShellDrag(View* view,
249 const ui::OSExchangeData& data, 249 const ui::OSExchangeData& data,
250 int operation) OVERRIDE; 250 int operation) OVERRIDE;
251 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; 251 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE;
252 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 252 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
253 virtual void ClearNativeFocus() OVERRIDE; 253 virtual void ClearNativeFocus() OVERRIDE;
254 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; 254 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE;
255 virtual bool ConvertPointFromAncestor(
256 const Widget* ancestor, gfx::Point* point) const OVERRIDE;
257 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; 255 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE;
258 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; 256 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE;
259 257
260 protected: 258 protected:
261 // Information saved before going into fullscreen mode, used to restore the 259 // Information saved before going into fullscreen mode, used to restore the
262 // window afterwards. 260 // window afterwards.
263 struct SavedWindowInfo { 261 struct SavedWindowInfo {
264 bool maximized; 262 bool maximized;
265 LONG style; 263 LONG style;
266 LONG ex_style; 264 LONG ex_style;
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 // rather than asking the Widget for the non_client_view so that we know at 652 // rather than asking the Widget for the non_client_view so that we know at
655 // Init time, before the Widget has created the NonClientView. 653 // Init time, before the Widget has created the NonClientView.
656 bool has_non_client_view_; 654 bool has_non_client_view_;
657 655
658 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); 656 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin);
659 }; 657 };
660 658
661 } // namespace views 659 } // namespace views
662 660
663 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 661 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_private.h ('k') | ui/views/widget/native_widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698