OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |