diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-03 18:36:47 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-03 18:36:47 +0000 |
commit | bcd6cf7b2d813be66486a4b71345deb4050453c1 (patch) | |
tree | 91bb3564b9aed3dca4061398def6037982749d13 /views/view.h | |
parent | 301f973d3a2111bc255828cf71b961fb96c0bf5c (diff) | |
download | chromium_src-bcd6cf7b2d813be66486a4b71345deb4050453c1.zip chromium_src-bcd6cf7b2d813be66486a4b71345deb4050453c1.tar.gz chromium_src-bcd6cf7b2d813be66486a4b71345deb4050453c1.tar.bz2 |
views: Use ViewVector typedef instead of std::vector<View*> in view.*
BUG=72040,68682
TEST=None
R=sky@chromium.org
Review URL: http://codereview.chromium.org/7111008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87823 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/view.h')
-rw-r--r-- | views/view.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/views/view.h b/views/view.h index 27aed3a..d60fa43 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 ------------------------------------------------------ |