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

Side by Side Diff: ash/mus/property_util.h

Issue 2519583002: Add gfx::ImageSkia and icon support to aura::PropertyConverter. (Closed)
Patch Set: Fix ConvertPropertyForTransport; add unit test. Created 4 years, 1 month 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 | « no previous file | ash/mus/property_util.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 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 ASH_MUS_PROPERTY_UTIL_H_ 5 #ifndef ASH_MUS_PROPERTY_UTIL_H_
6 #define ASH_MUS_PROPERTY_UTIL_H_ 6 #define ASH_MUS_PROPERTY_UTIL_H_
7 7
8 #include "ash/public/interfaces/ash_window_type.mojom.h" 8 #include "ash/public/interfaces/ash_window_type.mojom.h"
9 #include "services/ui/public/cpp/window.h" 9 #include "services/ui/public/cpp/window.h"
10 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" 10 #include "services/ui/public/interfaces/window_manager_constants.mojom.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 ui::mojom::WindowType GetWindowType(const ui::Window* window); 56 ui::mojom::WindowType GetWindowType(const ui::Window* window);
57 ui::mojom::WindowType GetWindowType(const ui::Window::SharedProperties& window); 57 ui::mojom::WindowType GetWindowType(const ui::Window::SharedProperties& window);
58 58
59 ui::wm::WindowType GetWmWindowType(const ui::Window* window); 59 ui::wm::WindowType GetWmWindowType(const ui::Window* window);
60 60
61 mojom::AshWindowType GetAshWindowType(const ui::Window* window); 61 mojom::AshWindowType GetAshWindowType(const ui::Window* window);
62 62
63 void SetWindowTitle(ui::Window* window, base::string16 title); 63 void SetWindowTitle(ui::Window* window, base::string16 title);
64 base::string16 GetWindowTitle(const ui::Window* window); 64 base::string16 GetWindowTitle(const ui::Window* window);
65 65
66 mojo::Array<uint8_t> GetWindowAppIcon(const ui::Window* window);
67
68 void SetAppID(ui::Window* window, const base::string16& app_id); 66 void SetAppID(ui::Window* window, const base::string16& app_id);
69 base::string16 GetAppID(const ui::Window* window); 67 base::string16 GetAppID(const ui::Window* window);
70 68
71 bool GetWindowIgnoredByShelf(ui::Window* window); 69 bool GetWindowIgnoredByShelf(ui::Window* window);
72 70
73 void SetWindowIsJanky(ui::Window* window, bool janky); 71 void SetWindowIsJanky(ui::Window* window, bool janky);
74 bool IsWindowJanky(ui::Window* window); 72 bool IsWindowJanky(ui::Window* window);
75 bool IsWindowJankyProperty(const void* key); 73 bool IsWindowJankyProperty(const void* key);
76 74
77 void SetAlwaysOnTop(ui::Window* window, bool value); 75 void SetAlwaysOnTop(ui::Window* window, bool value);
(...skipping 11 matching lines...) Expand all
89 // Manipulates the kExcludeFromMru_Property property. 87 // Manipulates the kExcludeFromMru_Property property.
90 void SetExcludeFromMru(ui::Window* window, bool value); 88 void SetExcludeFromMru(ui::Window* window, bool value);
91 89
92 // Returns true if the property is set and true, otherwise false. 90 // Returns true if the property is set and true, otherwise false.
93 bool GetExcludeFromMru(const ui::Window* window); 91 bool GetExcludeFromMru(const ui::Window* window);
94 92
95 } // namespace mus 93 } // namespace mus
96 } // namespace ash 94 } // namespace ash
97 95
98 #endif // ASH_MUS_PROPERTY_UTIL_H_ 96 #endif // ASH_MUS_PROPERTY_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | ash/mus/property_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698