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

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

Issue 8417014: aura: Comment noisy NOTIMPLEMENTEDs in NativeWidgetAura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | views/widget/native_widget_aura.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 const std::string& name() const { return name_; } 71 const std::string& name() const { return name_; }
72 void set_name(const std::string& name) { name_ = name; } 72 void set_name(const std::string& name) { name_ = name; }
73 73
74 ui::Layer* layer() { return layer_.get(); } 74 ui::Layer* layer() { return layer_.get(); }
75 const ui::Layer* layer() const { return layer_.get(); } 75 const ui::Layer* layer() const { return layer_.get(); }
76 76
77 WindowDelegate* delegate() { return delegate_; } 77 WindowDelegate* delegate() { return delegate_; }
78 78
79 const gfx::Rect& bounds() const; 79 const gfx::Rect& bounds() const;
80 const gfx::Rect& restore_bounds() const { return restore_bounds_; }
80 81
81 Window* parent() { return parent_; } 82 Window* parent() { return parent_; }
82 const Window* parent() const { return parent_; } 83 const Window* parent() const { return parent_; }
83 84
84 // The Window does not own this object. 85 // The Window does not own this object.
85 void set_user_data(void* user_data) { user_data_ = user_data; } 86 void set_user_data(void* user_data) { user_data_ = user_data; }
86 void* user_data() const { return user_data_; } 87 void* user_data() const { return user_data_; }
87 88
88 // Changes the visibility of the window. 89 // Changes the visibility of the window.
89 void Show(); 90 void Show();
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 // TODO(oshima): Consolidcate ViewProp and aura::window property 356 // TODO(oshima): Consolidcate ViewProp and aura::window property
356 // implementation. 357 // implementation.
357 std::map<const char*, ui::ViewProp*> prop_map_; 358 std::map<const char*, ui::ViewProp*> prop_map_;
358 359
359 DISALLOW_COPY_AND_ASSIGN(Window); 360 DISALLOW_COPY_AND_ASSIGN(Window);
360 }; 361 };
361 362
362 } // namespace aura 363 } // namespace aura
363 364
364 #endif // UI_AURA_WINDOW_H_ 365 #endif // UI_AURA_WINDOW_H_
OLDNEW
« no previous file with comments | « no previous file | views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698