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

Side by Side Diff: ui/views/widget/native_widget_private.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_gtk.cc ('k') | ui/views/widget/native_widget_win.h » ('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_PRIVATE_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 virtual void SetOpacity(unsigned char opacity) = 0; 193 virtual void SetOpacity(unsigned char opacity) = 0;
194 virtual void SetUseDragFrame(bool use_drag_frame) = 0; 194 virtual void SetUseDragFrame(bool use_drag_frame) = 0;
195 virtual bool IsAccessibleWidget() const = 0; 195 virtual bool IsAccessibleWidget() const = 0;
196 virtual void RunShellDrag(View* view, 196 virtual void RunShellDrag(View* view,
197 const ui::OSExchangeData& data, 197 const ui::OSExchangeData& data,
198 int operation) = 0; 198 int operation) = 0;
199 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0; 199 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0;
200 virtual void SetCursor(gfx::NativeCursor cursor) = 0; 200 virtual void SetCursor(gfx::NativeCursor cursor) = 0;
201 virtual void ClearNativeFocus() = 0; 201 virtual void ClearNativeFocus() = 0;
202 virtual void FocusNativeView(gfx::NativeView native_view) = 0; 202 virtual void FocusNativeView(gfx::NativeView native_view) = 0;
203 virtual bool ConvertPointFromAncestor(
204 const Widget* ancestor, gfx::Point* point) const = 0;
205 virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0; 203 virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0;
206 virtual void SetInactiveRenderingDisabled(bool value) = 0; 204 virtual void SetInactiveRenderingDisabled(bool value) = 0;
207 205
208 // Overridden from NativeWidget: 206 // Overridden from NativeWidget:
209 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE; 207 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE;
210 }; 208 };
211 209
212 } // namespace internal 210 } // namespace internal
213 } // namespace views 211 } // namespace views
214 212
215 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 213 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_gtk.cc ('k') | ui/views/widget/native_widget_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698