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

Unified Diff: ui/app_list/views/contents_switcher_view.h

Issue 392133002: Remove Layout code from ContentsSwitcherView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@land_return_to_page
Patch Set: Created 6 years, 5 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 | ui/app_list/views/contents_switcher_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/contents_switcher_view.h
diff --git a/ui/app_list/views/contents_switcher_view.h b/ui/app_list/views/contents_switcher_view.h
index 38ba280467f8bd0ae04643582744b75cb41b419c..168d69df5d7624becb7b0d33986e2d3cd394c975 100644
--- a/ui/app_list/views/contents_switcher_view.h
+++ b/ui/app_list/views/contents_switcher_view.h
@@ -31,10 +31,6 @@ class ContentsSwitcherView : public views::View,
void AddSwitcherButton(int resource_id, int page_index);
private:
- // Overridden from views::View:
- virtual gfx::Size GetPreferredSize() const OVERRIDE;
- virtual void Layout() OVERRIDE;
-
// Overridden from views::ButtonListener:
virtual void ButtonPressed(views::Button* sender,
const ui::Event& event) OVERRIDE;
@@ -46,7 +42,7 @@ class ContentsSwitcherView : public views::View,
virtual void TransitionChanged() OVERRIDE;
ContentsView* contents_view_; // Owned by views hierarchy.
- views::View* buttons_; // Owned by views hierarchy.
+
// Stores Views owned by views hierarchy.
std::vector<views::View*> page_active_indicators_;
« no previous file with comments | « no previous file | ui/app_list/views/contents_switcher_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698