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

Side by Side Diff: ui/views/widget/native_widget_private.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_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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 virtual bool IsAlwaysOnTop() const = 0; 195 virtual bool IsAlwaysOnTop() const = 0;
196 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0; 196 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0;
197 virtual void Maximize() = 0; 197 virtual void Maximize() = 0;
198 virtual void Minimize() = 0; 198 virtual void Minimize() = 0;
199 virtual bool IsMaximized() const = 0; 199 virtual bool IsMaximized() const = 0;
200 virtual bool IsMinimized() const = 0; 200 virtual bool IsMinimized() const = 0;
201 virtual void Restore() = 0; 201 virtual void Restore() = 0;
202 virtual void SetFullscreen(bool fullscreen) = 0; 202 virtual void SetFullscreen(bool fullscreen) = 0;
203 virtual bool IsFullscreen() const = 0; 203 virtual bool IsFullscreen() const = 0;
204 virtual void SetOpacity(unsigned char opacity) = 0; 204 virtual void SetOpacity(unsigned char opacity) = 0;
205 virtual void SetHasShadow(bool has_shadow) = 0;
205 virtual void SetUseDragFrame(bool use_drag_frame) = 0; 206 virtual void SetUseDragFrame(bool use_drag_frame) = 0;
206 virtual void FlashFrame(bool flash) = 0; 207 virtual void FlashFrame(bool flash) = 0;
207 virtual void RunShellDrag(View* view, 208 virtual void RunShellDrag(View* view,
208 const ui::OSExchangeData& data, 209 const ui::OSExchangeData& data,
209 const gfx::Point& location, 210 const gfx::Point& location,
210 int operation, 211 int operation,
211 ui::DragDropTypes::DragEventSource source) = 0; 212 ui::DragDropTypes::DragEventSource source) = 0;
212 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0; 213 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0;
213 virtual void SetCursor(gfx::NativeCursor cursor) = 0; 214 virtual void SetCursor(gfx::NativeCursor cursor) = 0;
214 virtual bool IsMouseEventsEnabled() const = 0; 215 virtual bool IsMouseEventsEnabled() const = 0;
(...skipping 10 matching lines...) Expand all
225 226
226 // Overridden from NativeWidget: 227 // Overridden from NativeWidget:
227 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE; 228 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE;
228 virtual ui::EventHandler* GetEventHandler() = 0; 229 virtual ui::EventHandler* GetEventHandler() = 0;
229 }; 230 };
230 231
231 } // namespace internal 232 } // namespace internal
232 } // namespace views 233 } // namespace views
233 234
234 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 235 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698