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

Side by Side Diff: ui/views/widget/native_widget_mac.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_MAC_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 #include "ui/views/widget/native_widget_private.h" 10 #include "ui/views/widget/native_widget_private.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 bool IsAlwaysOnTop() const override; 99 bool IsAlwaysOnTop() const override;
100 void SetVisibleOnAllWorkspaces(bool always_visible) override; 100 void SetVisibleOnAllWorkspaces(bool always_visible) override;
101 bool IsVisibleOnAllWorkspaces() const override; 101 bool IsVisibleOnAllWorkspaces() const override;
102 void Maximize() override; 102 void Maximize() override;
103 void Minimize() override; 103 void Minimize() override;
104 bool IsMaximized() const override; 104 bool IsMaximized() const override;
105 bool IsMinimized() const override; 105 bool IsMinimized() const override;
106 void Restore() override; 106 void Restore() override;
107 void SetFullscreen(bool fullscreen) override; 107 void SetFullscreen(bool fullscreen) override;
108 bool IsFullscreen() const override; 108 bool IsFullscreen() const override;
109 void Pin(bool trusted) override;
110 bool IsPinned() const override;
109 void SetOpacity(float opacity) override; 111 void SetOpacity(float opacity) override;
110 void FlashFrame(bool flash_frame) override; 112 void FlashFrame(bool flash_frame) override;
111 void RunShellDrag(View* view, 113 void RunShellDrag(View* view,
112 const ui::OSExchangeData& data, 114 const ui::OSExchangeData& data,
113 const gfx::Point& location, 115 const gfx::Point& location,
114 int operation, 116 int operation,
115 ui::DragDropTypes::DragEventSource source) override; 117 ui::DragDropTypes::DragEventSource source) override;
116 void SchedulePaintInRect(const gfx::Rect& rect) override; 118 void SchedulePaintInRect(const gfx::Rect& rect) override;
117 void SetCursor(gfx::NativeCursor cursor) override; 119 void SetCursor(gfx::NativeCursor cursor) override;
118 bool IsMouseEventsEnabled() const override; 120 bool IsMouseEventsEnabled() const override;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 153
152 // Internal name. 154 // Internal name.
153 std::string name_; 155 std::string name_;
154 156
155 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac); 157 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac);
156 }; 158 };
157 159
158 } // namespace views 160 } // namespace views
159 161
160 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ 162 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698