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

Side by Side Diff: ash/mus/bridge/wm_window_mus.h

Issue 2168733002: Splits debug_commands into aura and non-aura parts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 5 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 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_MUS_BRIDGE_WM_WINDOW_MUS_H_ 5 #ifndef ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/common/shell_window_ids.h" 10 #include "ash/common/shell_window_ids.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 bool ShouldUseExtendedHitRegion() const; 98 bool ShouldUseExtendedHitRegion() const;
99 99
100 // Returns true if this window is considered a shell window container. 100 // Returns true if this window is considered a shell window container.
101 bool IsContainer() const; 101 bool IsContainer() const;
102 102
103 // WmWindow: 103 // WmWindow:
104 const WmWindow* GetRootWindow() const override; 104 const WmWindow* GetRootWindow() const override;
105 WmRootWindowController* GetRootWindowController() override; 105 WmRootWindowController* GetRootWindowController() override;
106 WmShell* GetShell() const override; 106 WmShell* GetShell() const override;
107 void SetName(const char* name) override; 107 void SetName(const char* name) override;
108 std::string GetName() const override;
108 base::string16 GetTitle() const override; 109 base::string16 GetTitle() const override;
109 void SetShellWindowId(int id) override; 110 void SetShellWindowId(int id) override;
110 int GetShellWindowId() const override; 111 int GetShellWindowId() const override;
111 WmWindow* GetChildByShellWindowId(int id) override; 112 WmWindow* GetChildByShellWindowId(int id) override;
112 ui::wm::WindowType GetType() const override; 113 ui::wm::WindowType GetType() const override;
113 ui::Layer* GetLayer() override; 114 ui::Layer* GetLayer() override;
114 display::Display GetDisplayNearestWindow() override; 115 display::Display GetDisplayNearestWindow() override;
115 bool HasNonClientArea() override; 116 bool HasNonClientArea() override;
116 int GetNonClientComponent(const gfx::Point& location) override; 117 int GetNonClientComponent(const gfx::Point& location) override;
117 gfx::Point ConvertPointToTarget(const WmWindow* target, 118 gfx::Point ConvertPointToTarget(const WmWindow* target,
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 // resizing easier. 258 // resizing easier.
258 bool children_use_extended_hit_region_ = false; 259 bool children_use_extended_hit_region_ = false;
259 260
260 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); 261 DISALLOW_COPY_AND_ASSIGN(WmWindowMus);
261 }; 262 };
262 263
263 } // namespace mus 264 } // namespace mus
264 } // namespace ash 265 } // namespace ash
265 266
266 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 267 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698