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

Side by Side Diff: ui/views/mus/native_widget_mus.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_MUS_NATIVE_WIDGET_MUS_H_ 5 #ifndef UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_
6 #define UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ 6 #define UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void CenterWindow(const gfx::Size& size) override; 109 void CenterWindow(const gfx::Size& size) override;
110 void GetWindowPlacement(gfx::Rect* bounds, 110 void GetWindowPlacement(gfx::Rect* bounds,
111 ui::WindowShowState* maximized) const override; 111 ui::WindowShowState* maximized) const override;
112 bool SetWindowTitle(const base::string16& title) override; 112 bool SetWindowTitle(const base::string16& title) override;
113 void SetWindowIcons(const gfx::ImageSkia& window_icon, 113 void SetWindowIcons(const gfx::ImageSkia& window_icon,
114 const gfx::ImageSkia& app_icon) override; 114 const gfx::ImageSkia& app_icon) override;
115 void InitModalType(ui::ModalType modal_type) override; 115 void InitModalType(ui::ModalType modal_type) override;
116 gfx::Rect GetWindowBoundsInScreen() const override; 116 gfx::Rect GetWindowBoundsInScreen() const override;
117 gfx::Rect GetClientAreaBoundsInScreen() const override; 117 gfx::Rect GetClientAreaBoundsInScreen() const override;
118 gfx::Rect GetRestoredBounds() const override; 118 gfx::Rect GetRestoredBounds() const override;
119 std::string GetWorkspace() const override;
119 void SetBounds(const gfx::Rect& bounds) override; 120 void SetBounds(const gfx::Rect& bounds) override;
120 void SetSize(const gfx::Size& size) override; 121 void SetSize(const gfx::Size& size) override;
121 void StackAbove(gfx::NativeView native_view) override; 122 void StackAbove(gfx::NativeView native_view) override;
122 void StackAtTop() override; 123 void StackAtTop() override;
123 void StackBelow(gfx::NativeView native_view) override; 124 void StackBelow(gfx::NativeView native_view) override;
124 void SetShape(SkRegion* shape) override; 125 void SetShape(SkRegion* shape) override;
125 void Close() override; 126 void Close() override;
126 void CloseNow() override; 127 void CloseNow() override;
127 void Show() override; 128 void Show() override;
128 void Hide() override; 129 void Hide() override;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 std::unique_ptr<aura::client::WindowTreeClient> window_tree_client_; 229 std::unique_ptr<aura::client::WindowTreeClient> window_tree_client_;
229 std::unique_ptr<aura::client::ScreenPositionClient> screen_position_client_; 230 std::unique_ptr<aura::client::ScreenPositionClient> screen_position_client_;
230 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_; 231 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_;
231 232
232 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus); 233 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus);
233 }; 234 };
234 235
235 } // namespace views 236 } // namespace views
236 237
237 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ 238 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698