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

Side by Side Diff: chrome/browser/ui/ash/property_util.h

Issue 2381183002: mash: Fix shelf window property use in Chrome. (Closed)
Patch Set: Address comments. Created 4 years, 2 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_ASH_PROPERTY_UTIL_H_
6 #define CHROME_BROWSER_UI_ASH_PROPERTY_UTIL_H_
7
8 #include "base/strings/string16.h"
9 #include "ui/aura/window.h"
10
11 // These utility functions set ui::Window properties when running in mash, or
12 // they set aura::Window properties when running in classic ash (without mus).
13
14 namespace property_util {
15
16 // Sets the |value| of the given window |property|; supports limited properties.
17 void SetIntProperty(aura::Window* window,
18 const aura::WindowProperty<int>* property,
19 int value);
20
21 // Set the aura::Window title value or the ui::Window title property value.
22 void SetTitle(aura::Window* window, const base::string16& value);
23
24 } // namespace property_util
25
26 #endif // CHROME_BROWSER_UI_ASH_PROPERTY_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/launcher/settings_window_observer.cc ('k') | chrome/browser/ui/ash/property_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698