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

Unified Diff: ui/aura/window.h

Issue 2502413005: Use aura::WindowProperty for title and name strings. (Closed)
Patch Set: Update comment 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/client/aura_constants.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 68408041f11c7f800f810c259b1feffa7b15cb7c..ba5b07a78b74112487d00162e3f39f343db59b9e 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -103,10 +103,10 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
int id() const { return id_; }
void set_id(int id) { id_ = id; }
- const std::string& name() const { return name_; }
+ const std::string& GetName() const;
void SetName(const std::string& name);
- const base::string16 title() const { return title_; }
+ const base::string16& GetTitle() const;
void SetTitle(const base::string16& title);
bool transparent() const { return transparent_; }
@@ -500,9 +500,6 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
bool visible_;
int id_;
- std::string name_;
-
- base::string16 title_;
// Whether layer is initialized as non-opaque.
bool transparent_;
« no previous file with comments | « ui/aura/client/aura_constants.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698