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

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

Issue 11368072: aura: Add flag to indicate if a drag session is started with touch or mouse. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 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_aura.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include "base/string16.h" 8 #include "base/string16.h"
9 #include "ui/base/ui_base_types.h" 9 #include "ui/base/ui_base_types.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 virtual void Restore() = 0; 198 virtual void Restore() = 0;
199 virtual void SetFullscreen(bool fullscreen) = 0; 199 virtual void SetFullscreen(bool fullscreen) = 0;
200 virtual bool IsFullscreen() const = 0; 200 virtual bool IsFullscreen() const = 0;
201 virtual void SetOpacity(unsigned char opacity) = 0; 201 virtual void SetOpacity(unsigned char opacity) = 0;
202 virtual void SetUseDragFrame(bool use_drag_frame) = 0; 202 virtual void SetUseDragFrame(bool use_drag_frame) = 0;
203 virtual void FlashFrame(bool flash) = 0; 203 virtual void FlashFrame(bool flash) = 0;
204 virtual bool IsAccessibleWidget() const = 0; 204 virtual bool IsAccessibleWidget() const = 0;
205 virtual void RunShellDrag(View* view, 205 virtual void RunShellDrag(View* view,
206 const ui::OSExchangeData& data, 206 const ui::OSExchangeData& data,
207 const gfx::Point& location, 207 const gfx::Point& location,
208 int operation) = 0; 208 int operation,
209 ui::DragDropTypes::DragEventSource source) = 0;
209 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0; 210 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0;
210 virtual void SetCursor(gfx::NativeCursor cursor) = 0; 211 virtual void SetCursor(gfx::NativeCursor cursor) = 0;
211 virtual void ClearNativeFocus() = 0; 212 virtual void ClearNativeFocus() = 0;
212 virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0; 213 virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0;
213 virtual void SetInactiveRenderingDisabled(bool value) = 0; 214 virtual void SetInactiveRenderingDisabled(bool value) = 0;
214 virtual Widget::MoveLoopResult RunMoveLoop( 215 virtual Widget::MoveLoopResult RunMoveLoop(
215 const gfx::Vector2d& drag_offset) = 0; 216 const gfx::Vector2d& drag_offset) = 0;
216 virtual void EndMoveLoop() = 0; 217 virtual void EndMoveLoop() = 0;
217 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0; 218 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0;
218 virtual ui::NativeTheme* GetNativeTheme() = 0; 219 virtual ui::NativeTheme* GetNativeTheme() = 0;
219 220
220 // Overridden from NativeWidget: 221 // Overridden from NativeWidget:
221 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE; 222 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE;
222 }; 223 };
223 224
224 } // namespace internal 225 } // namespace internal
225 } // namespace views 226 } // namespace views
226 227
227 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 228 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/native_widget_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698