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

Unified Diff: views/view.h

Issue 7111008: views: Use ViewVector typedef instead of std::vector<View*> in view.* (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/view.h
diff --git a/views/view.h b/views/view.h
index 27aed3ad716ac285b69c85af26fb02669b855243..d60fa43cf2e6a3333883b4b00ab6d3024e18982b 100644
--- a/views/view.h
+++ b/views/view.h
@@ -143,6 +143,8 @@ class DragController {
/////////////////////////////////////////////////////////////////////////////
class View : public AcceleratorTarget {
public:
+ typedef std::vector<View*> ViewVector;
+
#if defined(TOUCH_UI)
enum TouchStatus {
TOUCH_STATUS_UNKNOWN = 0, // Unknown touch status. This is used to indicate
@@ -450,7 +452,7 @@ class View : public AcceleratorTarget {
// Fills the provided vector with all the available views which belong to the
// provided group.
- void GetViewsWithGroup(int group_id, std::vector<View*>* out);
+ void GetViewsWithGroup(int group_id, ViewVector* out);
// Return the View that is currently selected in the specified group.
// The default implementation simply returns the first View found for that
@@ -1314,7 +1316,6 @@ class View : public AcceleratorTarget {
View* parent_;
// This view's children.
- typedef std::vector<View*> ViewVector;
ViewVector children_;
// Size and disposition ------------------------------------------------------
« no previous file with comments | « no previous file | views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698