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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_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_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "ui/aura/client/focus_change_observer.h" 9 #include "ui/aura/client/focus_change_observer.h"
10 #include "ui/aura/window_delegate.h" 10 #include "ui/aura/window_delegate.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 virtual bool IsAlwaysOnTop() const OVERRIDE; 154 virtual bool IsAlwaysOnTop() const OVERRIDE;
155 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE; 155 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE;
156 virtual void Maximize() OVERRIDE; 156 virtual void Maximize() OVERRIDE;
157 virtual void Minimize() OVERRIDE; 157 virtual void Minimize() OVERRIDE;
158 virtual bool IsMaximized() const OVERRIDE; 158 virtual bool IsMaximized() const OVERRIDE;
159 virtual bool IsMinimized() const OVERRIDE; 159 virtual bool IsMinimized() const OVERRIDE;
160 virtual void Restore() OVERRIDE; 160 virtual void Restore() OVERRIDE;
161 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 161 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
162 virtual bool IsFullscreen() const OVERRIDE; 162 virtual bool IsFullscreen() const OVERRIDE;
163 virtual void SetOpacity(unsigned char opacity) OVERRIDE; 163 virtual void SetOpacity(unsigned char opacity) OVERRIDE;
164 virtual void SetHasActivationShadow(bool has_shadow) OVERRIDE;
164 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; 165 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE;
165 virtual void FlashFrame(bool flash_frame) OVERRIDE; 166 virtual void FlashFrame(bool flash_frame) OVERRIDE;
166 virtual void RunShellDrag(View* view, 167 virtual void RunShellDrag(View* view,
167 const ui::OSExchangeData& data, 168 const ui::OSExchangeData& data,
168 const gfx::Point& location, 169 const gfx::Point& location,
169 int operation, 170 int operation,
170 ui::DragDropTypes::DragEventSource source) OVERRIDE; 171 ui::DragDropTypes::DragEventSource source) OVERRIDE;
171 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; 172 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE;
172 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 173 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
173 virtual bool IsMouseEventsEnabled() const OVERRIDE; 174 virtual bool IsMouseEventsEnabled() const OVERRIDE;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 315
315 // See class documentation for Widget in widget.h for a note about type. 316 // See class documentation for Widget in widget.h for a note about type.
316 Widget::InitParams::Type widget_type_; 317 Widget::InitParams::Type widget_type_;
317 318
318 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); 319 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura);
319 }; 320 };
320 321
321 } // namespace views 322 } // namespace views
322 323
323 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 324 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698