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

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

Issue 2778733004: Add WindowPinType property on arua::Window (Closed)
Patch Set: WIP Created 3 years, 8 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
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 <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 bool IsAlwaysOnTop() const override; 115 bool IsAlwaysOnTop() const override;
116 void SetVisibleOnAllWorkspaces(bool always_visible) override; 116 void SetVisibleOnAllWorkspaces(bool always_visible) override;
117 bool IsVisibleOnAllWorkspaces() const override; 117 bool IsVisibleOnAllWorkspaces() const override;
118 void Maximize() override; 118 void Maximize() override;
119 void Minimize() override; 119 void Minimize() override;
120 bool IsMaximized() const override; 120 bool IsMaximized() const override;
121 bool IsMinimized() const override; 121 bool IsMinimized() const override;
122 void Restore() override; 122 void Restore() override;
123 void SetFullscreen(bool fullscreen) override; 123 void SetFullscreen(bool fullscreen) override;
124 bool IsFullscreen() const override; 124 bool IsFullscreen() const override;
125 void Pin(bool trusted) override;
126 bool IsPinned() const override;
125 void SetOpacity(float opacity) override; 127 void SetOpacity(float opacity) override;
126 void FlashFrame(bool flash_frame) override; 128 void FlashFrame(bool flash_frame) override;
127 void RunShellDrag(View* view, 129 void RunShellDrag(View* view,
128 const ui::OSExchangeData& data, 130 const ui::OSExchangeData& data,
129 const gfx::Point& location, 131 const gfx::Point& location,
130 int operation, 132 int operation,
131 ui::DragDropTypes::DragEventSource source) override; 133 ui::DragDropTypes::DragEventSource source) override;
132 void SchedulePaintInRect(const gfx::Rect& rect) override; 134 void SchedulePaintInRect(const gfx::Rect& rect) override;
133 void SetCursor(gfx::NativeCursor cursor) override; 135 void SetCursor(gfx::NativeCursor cursor) override;
134 bool IsMouseEventsEnabled() const override; 136 bool IsMouseEventsEnabled() const override;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 // The following factory is used for calls to close the NativeWidgetAura 242 // The following factory is used for calls to close the NativeWidgetAura
241 // instance. 243 // instance.
242 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; 244 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_;
243 245
244 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 246 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
245 }; 247 };
246 248
247 } // namespace views 249 } // namespace views
248 250
249 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 251 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698