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

Side by Side Diff: ui/views/widget/native_widget_aura.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_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
7 7
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "ui/aura/client/focus_change_observer.h" 10 #include "ui/aura/client/focus_change_observer.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 virtual bool IsAlwaysOnTop() const OVERRIDE; 105 virtual bool IsAlwaysOnTop() const OVERRIDE;
106 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE; 106 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE;
107 virtual void Maximize() OVERRIDE; 107 virtual void Maximize() OVERRIDE;
108 virtual void Minimize() OVERRIDE; 108 virtual void Minimize() OVERRIDE;
109 virtual bool IsMaximized() const OVERRIDE; 109 virtual bool IsMaximized() const OVERRIDE;
110 virtual bool IsMinimized() const OVERRIDE; 110 virtual bool IsMinimized() const OVERRIDE;
111 virtual void Restore() OVERRIDE; 111 virtual void Restore() OVERRIDE;
112 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 112 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
113 virtual bool IsFullscreen() const OVERRIDE; 113 virtual bool IsFullscreen() const OVERRIDE;
114 virtual void SetOpacity(unsigned char opacity) OVERRIDE; 114 virtual void SetOpacity(unsigned char opacity) OVERRIDE;
115 virtual void SetHasActivationShadow(bool has_shadow) OVERRIDE;
115 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; 116 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE;
116 virtual void FlashFrame(bool flash_frame) OVERRIDE; 117 virtual void FlashFrame(bool flash_frame) OVERRIDE;
117 virtual void RunShellDrag(View* view, 118 virtual void RunShellDrag(View* view,
118 const ui::OSExchangeData& data, 119 const ui::OSExchangeData& data,
119 const gfx::Point& location, 120 const gfx::Point& location,
120 int operation, 121 int operation,
121 ui::DragDropTypes::DragEventSource source) OVERRIDE; 122 ui::DragDropTypes::DragEventSource source) OVERRIDE;
122 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; 123 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE;
123 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 124 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
124 virtual bool IsMouseEventsEnabled() const OVERRIDE; 125 virtual bool IsMouseEventsEnabled() const OVERRIDE;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 223
223 scoped_ptr<DropHelper> drop_helper_; 224 scoped_ptr<DropHelper> drop_helper_;
224 int last_drop_operation_; 225 int last_drop_operation_;
225 226
226 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 227 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
227 }; 228 };
228 229
229 } // namespace views 230 } // namespace views
230 231
231 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 232 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698