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

Side by Side Diff: ash/common/wm_window.h

Issue 2240353002: move switch Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Virtual keyboard non-sticky mode changes. Created 4 years, 4 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/common/wm/workspace/workspace_layout_manager.cc ('k') | ash/common/wm_window_property.h » ('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_COMMON_WM_WINDOW_H_ 5 #ifndef ASH_COMMON_WM_WINDOW_H_
6 #define ASH_COMMON_WM_WINDOW_H_ 6 #define ASH_COMMON_WM_WINDOW_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ash/ash_export.h" 11 #include "ash/ash_export.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "ui/base/ui_base_types.h" 14 #include "ui/base/ui_base_types.h"
15 #include "ui/compositor/layer_animation_element.h" 15 #include "ui/compositor/layer_animation_element.h"
16 #include "ui/gfx/geometry/rect.h"
16 #include "ui/wm/core/window_animations.h" 17 #include "ui/wm/core/window_animations.h"
17 #include "ui/wm/public/window_types.h" 18 #include "ui/wm/public/window_types.h"
18 19
19 namespace display { 20 namespace display {
20 class Display; 21 class Display;
21 } 22 }
22 23
23 namespace gfx { 24 namespace gfx {
24 class Point; 25 class Point;
25 class Rect; 26 class Rect;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 virtual float GetTargetOpacity() const = 0; 119 virtual float GetTargetOpacity() const = 0;
119 120
120 virtual void SetTransform(const gfx::Transform& transform) = 0; 121 virtual void SetTransform(const gfx::Transform& transform) = 0;
121 virtual gfx::Transform GetTargetTransform() const = 0; 122 virtual gfx::Transform GetTargetTransform() const = 0;
122 123
123 virtual bool IsSystemModal() const = 0; 124 virtual bool IsSystemModal() const = 0;
124 125
125 virtual bool GetBoolProperty(WmWindowProperty key) = 0; 126 virtual bool GetBoolProperty(WmWindowProperty key) = 0;
126 virtual int GetIntProperty(WmWindowProperty key) = 0; 127 virtual int GetIntProperty(WmWindowProperty key) = 0;
127 virtual void SetIntProperty(WmWindowProperty key, int value) = 0; 128 virtual void SetIntProperty(WmWindowProperty key, int value) = 0;
129 virtual gfx::Rect* GetRectProperty(WmWindowProperty key) = 0;
128 130
129 // Returns null if there are no details. 131 // Returns null if there are no details.
130 virtual ShelfItemDetails* GetShelfItemDetails() = 0; 132 virtual ShelfItemDetails* GetShelfItemDetails() = 0;
131 virtual void SetShelfItemDetails(const ShelfItemDetails& details) = 0; 133 virtual void SetShelfItemDetails(const ShelfItemDetails& details) = 0;
132 virtual void ClearShelfItemDetails() = 0; 134 virtual void ClearShelfItemDetails() = 0;
133 135
134 wm::WindowState* GetWindowState() { 136 wm::WindowState* GetWindowState() {
135 return const_cast<wm::WindowState*>( 137 return const_cast<wm::WindowState*>(
136 const_cast<const WmWindow*>(this)->GetWindowState()); 138 const_cast<const WmWindow*>(this)->GetWindowState());
137 } 139 }
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 virtual void AddLimitedPreTargetHandler(ui::EventHandler* handler) = 0; 314 virtual void AddLimitedPreTargetHandler(ui::EventHandler* handler) = 0;
313 virtual void RemoveLimitedPreTargetHandler(ui::EventHandler* handler) = 0; 315 virtual void RemoveLimitedPreTargetHandler(ui::EventHandler* handler) = 0;
314 316
315 protected: 317 protected:
316 virtual ~WmWindow() {} 318 virtual ~WmWindow() {}
317 }; 319 };
318 320
319 } // namespace ash 321 } // namespace ash
320 322
321 #endif // ASH_COMMON_WM_WINDOW_H_ 323 #endif // ASH_COMMON_WM_WINDOW_H_
OLDNEW
« no previous file with comments | « ash/common/wm/workspace/workspace_layout_manager.cc ('k') | ash/common/wm_window_property.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698