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

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

Issue 267593005: Refactor menu controller to isolate aura dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 virtual bool IsAlwaysOnTop() const OVERRIDE; 104 virtual bool IsAlwaysOnTop() const OVERRIDE;
105 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE; 105 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE;
106 virtual void Maximize() OVERRIDE; 106 virtual void Maximize() OVERRIDE;
107 virtual void Minimize() OVERRIDE; 107 virtual void Minimize() OVERRIDE;
108 virtual bool IsMaximized() const OVERRIDE; 108 virtual bool IsMaximized() const OVERRIDE;
109 virtual bool IsMinimized() const OVERRIDE; 109 virtual bool IsMinimized() const OVERRIDE;
110 virtual void Restore() OVERRIDE; 110 virtual void Restore() OVERRIDE;
111 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 111 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
112 virtual bool IsFullscreen() const OVERRIDE; 112 virtual bool IsFullscreen() const OVERRIDE;
113 virtual void SetOpacity(unsigned char opacity) OVERRIDE; 113 virtual void SetOpacity(unsigned char opacity) OVERRIDE;
114 virtual void SetHasShadow(bool has_shadow) OVERRIDE;
114 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; 115 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE;
115 virtual void FlashFrame(bool flash_frame) OVERRIDE; 116 virtual void FlashFrame(bool flash_frame) OVERRIDE;
116 virtual void RunShellDrag(View* view, 117 virtual void RunShellDrag(View* view,
117 const ui::OSExchangeData& data, 118 const ui::OSExchangeData& data,
118 const gfx::Point& location, 119 const gfx::Point& location,
119 int operation, 120 int operation,
120 ui::DragDropTypes::DragEventSource source) OVERRIDE; 121 ui::DragDropTypes::DragEventSource source) OVERRIDE;
121 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; 122 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE;
122 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 123 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
123 virtual bool IsMouseEventsEnabled() const OVERRIDE; 124 virtual bool IsMouseEventsEnabled() const OVERRIDE;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 225
225 scoped_ptr<DropHelper> drop_helper_; 226 scoped_ptr<DropHelper> drop_helper_;
226 int last_drop_operation_; 227 int last_drop_operation_;
227 228
228 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 229 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
229 }; 230 };
230 231
231 } // namespace views 232 } // namespace views
232 233
233 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 234 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698