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

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

Issue 290553002: Refactor menu dependency on aura/wm SetShadowType (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
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/strings/string16.h" 8 #include "base/strings/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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 virtual bool IsAlwaysOnTop() const = 0; 200 virtual bool IsAlwaysOnTop() const = 0;
201 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0; 201 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0;
202 virtual void Maximize() = 0; 202 virtual void Maximize() = 0;
203 virtual void Minimize() = 0; 203 virtual void Minimize() = 0;
204 virtual bool IsMaximized() const = 0; 204 virtual bool IsMaximized() const = 0;
205 virtual bool IsMinimized() const = 0; 205 virtual bool IsMinimized() const = 0;
206 virtual void Restore() = 0; 206 virtual void Restore() = 0;
207 virtual void SetFullscreen(bool fullscreen) = 0; 207 virtual void SetFullscreen(bool fullscreen) = 0;
208 virtual bool IsFullscreen() const = 0; 208 virtual bool IsFullscreen() const = 0;
209 virtual void SetOpacity(unsigned char opacity) = 0; 209 virtual void SetOpacity(unsigned char opacity) = 0;
210 virtual void SetHasActivationShadow(bool has_shadow) = 0;
210 virtual void SetUseDragFrame(bool use_drag_frame) = 0; 211 virtual void SetUseDragFrame(bool use_drag_frame) = 0;
211 virtual void FlashFrame(bool flash) = 0; 212 virtual void FlashFrame(bool flash) = 0;
212 virtual void RunShellDrag(View* view, 213 virtual void RunShellDrag(View* view,
213 const ui::OSExchangeData& data, 214 const ui::OSExchangeData& data,
214 const gfx::Point& location, 215 const gfx::Point& location,
215 int operation, 216 int operation,
216 ui::DragDropTypes::DragEventSource source) = 0; 217 ui::DragDropTypes::DragEventSource source) = 0;
217 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0; 218 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0;
218 virtual void SetCursor(gfx::NativeCursor cursor) = 0; 219 virtual void SetCursor(gfx::NativeCursor cursor) = 0;
219 virtual bool IsMouseEventsEnabled() const = 0; 220 virtual bool IsMouseEventsEnabled() const = 0;
(...skipping 10 matching lines...) Expand all
230 231
231 // Overridden from NativeWidget: 232 // Overridden from NativeWidget:
232 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE; 233 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE;
233 virtual ui::EventHandler* GetEventHandler() = 0; 234 virtual ui::EventHandler* GetEventHandler() = 0;
234 }; 235 };
235 236
236 } // namespace internal 237 } // namespace internal
237 } // namespace views 238 } // namespace views
238 239
239 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 240 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698