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

Side by Side Diff: ash/wm_window.h

Issue 2814243002: Removes a couple more functions from WmWindow (Closed)
Patch Set: feedback 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
« no previous file with comments | « ash/wm/workspace_controller.cc ('k') | ash/wm_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 ASH_WM_WINDOW_H_ 5 #ifndef ASH_WM_WINDOW_H_
6 #define ASH_WM_WINDOW_H_ 6 #define ASH_WM_WINDOW_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 void Destroy(); 102 void Destroy();
103 103
104 WmWindow* GetRootWindow() { 104 WmWindow* GetRootWindow() {
105 return const_cast<WmWindow*>( 105 return const_cast<WmWindow*>(
106 const_cast<const WmWindow*>(this)->GetRootWindow()); 106 const_cast<const WmWindow*>(this)->GetRootWindow());
107 } 107 }
108 const WmWindow* GetRootWindow() const; 108 const WmWindow* GetRootWindow() const;
109 RootWindowController* GetRootWindowController(); 109 RootWindowController* GetRootWindowController();
110 110
111 // See shell_window_ids.h for list of known ids. 111 // See shell_window_ids.h for list of known ids.
112 void SetShellWindowId(int id);
113 int GetShellWindowId() const;
114 WmWindow* GetChildByShellWindowId(int id); 112 WmWindow* GetChildByShellWindowId(int id);
115 113
116 ui::wm::WindowType GetType() const; 114 ui::wm::WindowType GetType() const;
117 int GetAppType() const; 115 int GetAppType() const;
118 void SetAppType(int app_type) const; 116 void SetAppType(int app_type) const;
119 117
120 ui::Layer* GetLayer(); 118 ui::Layer* GetLayer();
121 119
122 // TODO(sky): these are temporary until GetLayer() always returns non-null. 120 // TODO(sky): these are temporary until GetLayer() always returns non-null.
123 bool GetLayerTargetVisibility(); 121 bool GetLayerTargetVisibility();
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 361
364 // If true the minimum size is 0x0, default is minimum size comes from widget. 362 // If true the minimum size is 0x0, default is minimum size comes from widget.
365 bool use_empty_minimum_size_for_testing_; 363 bool use_empty_minimum_size_for_testing_;
366 364
367 DISALLOW_COPY_AND_ASSIGN(WmWindow); 365 DISALLOW_COPY_AND_ASSIGN(WmWindow);
368 }; 366 };
369 367
370 } // namespace ash 368 } // namespace ash
371 369
372 #endif // ASH_WM_WINDOW_H_ 370 #endif // ASH_WM_WINDOW_H_
OLDNEW
« no previous file with comments | « ash/wm/workspace_controller.cc ('k') | ash/wm_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698