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

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

Issue 1927203003: Add support for X11 workspaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed GetSavedWindowWorkspace, put command line code into browser_frame.cc Created 4 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
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 void CenterWindow(const gfx::Size& size) override; 73 void CenterWindow(const gfx::Size& size) override;
74 void GetWindowPlacement(gfx::Rect* bounds, 74 void GetWindowPlacement(gfx::Rect* bounds,
75 ui::WindowShowState* show_state) const override; 75 ui::WindowShowState* show_state) const override;
76 bool SetWindowTitle(const base::string16& title) override; 76 bool SetWindowTitle(const base::string16& title) override;
77 void SetWindowIcons(const gfx::ImageSkia& window_icon, 77 void SetWindowIcons(const gfx::ImageSkia& window_icon,
78 const gfx::ImageSkia& app_icon) override; 78 const gfx::ImageSkia& app_icon) override;
79 void InitModalType(ui::ModalType modal_type) override; 79 void InitModalType(ui::ModalType modal_type) override;
80 gfx::Rect GetWindowBoundsInScreen() const override; 80 gfx::Rect GetWindowBoundsInScreen() const override;
81 gfx::Rect GetClientAreaBoundsInScreen() const override; 81 gfx::Rect GetClientAreaBoundsInScreen() const override;
82 gfx::Rect GetRestoredBounds() const override; 82 gfx::Rect GetRestoredBounds() const override;
83 std::string GetWorkspace() const override;
83 void SetBounds(const gfx::Rect& bounds) override; 84 void SetBounds(const gfx::Rect& bounds) override;
84 void SetSize(const gfx::Size& size) override; 85 void SetSize(const gfx::Size& size) override;
85 void StackAbove(gfx::NativeView native_view) override; 86 void StackAbove(gfx::NativeView native_view) override;
86 void StackAtTop() override; 87 void StackAtTop() override;
87 void StackBelow(gfx::NativeView native_view) override; 88 void StackBelow(gfx::NativeView native_view) override;
88 void SetShape(SkRegion* shape) override; 89 void SetShape(SkRegion* shape) override;
89 void Close() override; 90 void Close() override;
90 void CloseNow() override; 91 void CloseNow() override;
91 void Show() override; 92 void Show() override;
92 void Hide() override; 93 void Hide() override;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 154
154 // Internal name. 155 // Internal name.
155 std::string name_; 156 std::string name_;
156 157
157 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac); 158 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac);
158 }; 159 };
159 160
160 } // namespace views 161 } // namespace views
161 162
162 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ 163 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698