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

Side by Side Diff: views/view.h

Issue 7056027: views: Rename child_widget() to GetChildWidget(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « views/controls/tabbed_pane/native_tabbed_pane_win.cc ('k') | views/view.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 VIEWS_VIEW_H_ 5 #ifndef VIEWS_VIEW_H_
6 #define VIEWS_VIEW_H_ 6 #define VIEWS_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // Set whether this view is hottracked. A disabled view cannot be hottracked. 168 // Set whether this view is hottracked. A disabled view cannot be hottracked.
169 // If flag differs from the current value, SchedulePaint is invoked. 169 // If flag differs from the current value, SchedulePaint is invoked.
170 virtual void SetHotTracked(bool flag); 170 virtual void SetHotTracked(bool flag);
171 171
172 // TODO(beng): delete 172 // TODO(beng): delete
173 // Returns whether the view is hot-tracked. 173 // Returns whether the view is hot-tracked.
174 virtual bool IsHotTracked() const; 174 virtual bool IsHotTracked() const;
175 175
176 // FATE TBD ------------------------------------------------------------------ 176 // FATE TBD ------------------------------------------------------------------
177 // TODO(beng): Figure out what these methods are for and delete them. 177 // TODO(beng): Figure out what these methods are for and delete them.
178 178 virtual Widget* GetChildWidget();
179 // TODO(beng): this one isn't even google3-style. wth.
180 virtual Widget* child_widget();
181 179
182 // Creation and lifetime ----------------------------------------------------- 180 // Creation and lifetime -----------------------------------------------------
183 181
184 View(); 182 View();
185 virtual ~View(); 183 virtual ~View();
186 184
187 // Set whether this view is owned by its parent. A view that is owned by its 185 // Set whether this view is owned by its parent. A view that is owned by its
188 // parent is automatically deleted when the parent is deleted. The default is 186 // parent is automatically deleted when the parent is deleted. The default is
189 // true. Set to false if the view is owned by another object and should not 187 // true. Set to false if the view is owned by another object and should not
190 // be deleted by its parent. 188 // be deleted by its parent.
(...skipping 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1443 // The Windows-specific accessibility implementation for this View. 1441 // The Windows-specific accessibility implementation for this View.
1444 scoped_refptr<NativeViewAccessibilityWin> native_view_accessibility_win_; 1442 scoped_refptr<NativeViewAccessibilityWin> native_view_accessibility_win_;
1445 #endif 1443 #endif
1446 1444
1447 DISALLOW_COPY_AND_ASSIGN(View); 1445 DISALLOW_COPY_AND_ASSIGN(View);
1448 }; 1446 };
1449 1447
1450 } // namespace views 1448 } // namespace views
1451 1449
1452 #endif // VIEWS_VIEW_H_ 1450 #endif // VIEWS_VIEW_H_
OLDNEW
« no previous file with comments | « views/controls/tabbed_pane/native_tabbed_pane_win.cc ('k') | views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698