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

Side by Side Diff: ui/aura/window.h

Issue 331643004: Update the window labels if they change in overview mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Sky's comments Created 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_AURA_WINDOW_H_ 5 #ifndef UI_AURA_WINDOW_H_
6 #define UI_AURA_WINDOW_H_ 6 #define UI_AURA_WINDOW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 ui::wm::WindowType type() const { return type_; } 89 ui::wm::WindowType type() const { return type_; }
90 void SetType(ui::wm::WindowType type); 90 void SetType(ui::wm::WindowType type);
91 91
92 int id() const { return id_; } 92 int id() const { return id_; }
93 void set_id(int id) { id_ = id; } 93 void set_id(int id) { id_ = id; }
94 94
95 const std::string& name() const { return name_; } 95 const std::string& name() const { return name_; }
96 void SetName(const std::string& name); 96 void SetName(const std::string& name);
97 97
98 const base::string16 title() const { return title_; } 98 const base::string16 title() const { return title_; }
99 void set_title(const base::string16& title) { title_ = title; } 99 void SetTitle(const base::string16& title);
100 100
101 bool transparent() const { return transparent_; } 101 bool transparent() const { return transparent_; }
102 void SetTransparent(bool transparent); 102 void SetTransparent(bool transparent);
103 103
104 // See description in Layer::SetFillsBoundsCompletely. 104 // See description in Layer::SetFillsBoundsCompletely.
105 void SetFillsBoundsCompletely(bool fills_bounds); 105 void SetFillsBoundsCompletely(bool fills_bounds);
106 106
107 WindowDelegate* delegate() { return delegate_; } 107 WindowDelegate* delegate() { return delegate_; }
108 const WindowDelegate* delegate() const { return delegate_; } 108 const WindowDelegate* delegate() const { return delegate_; }
109 109
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 }; 535 };
536 536
537 std::map<const void*, Value> prop_map_; 537 std::map<const void*, Value> prop_map_;
538 538
539 DISALLOW_COPY_AND_ASSIGN(Window); 539 DISALLOW_COPY_AND_ASSIGN(Window);
540 }; 540 };
541 541
542 } // namespace aura 542 } // namespace aura
543 543
544 #endif // UI_AURA_WINDOW_H_ 544 #endif // UI_AURA_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698