Home | History | Annotate | Download | only in panels

Lines Matching defs:Panel

17 struct PanelScroller::Panel {
33 Panel* panel = new Panel;
34 panel->header = new PanelScrollerHeader(this);
35 panel->header->set_title(ASCIIToUTF16("Email"));
36 panel->container = new PanelScrollerContainer(this, new views::View());
37 panels_.push_back(panel);
39 panel = new Panel;
40 panel->header = new PanelScrollerHeader(this);
41 panel->header->set_title(ASCIIToUTF16("Chat"));
42 panel->container = new PanelScrollerContainer(this, new views::View());
43 panels_.push_back(panel);
45 panel = new Panel;
46 panel->header = new PanelScrollerHeader(this);
47 panel->header->set_title(ASCIIToUTF16("Calendar"));
48 panel->container = new PanelScrollerContainer(this, new views::View());
49 panels_.push_back(panel);
51 panel = new Panel;
52 panel->header = new PanelScrollerHeader(this);
53 panel->header->set_title(ASCIIToUTF16("Recent searches"));
54 panel->container = new PanelScrollerContainer(this, new views::View());
55 panels_.push_back(panel);
57 panel = new Panel;
58 panel->header = new PanelScrollerHeader(this);
59 panel->header->set_title(ASCIIToUTF16("Pony news"));
60 panel->container = new PanelScrollerContainer(this, new views::View());
61 panels_.push_back(panel);
124 // This panel is at least partially off the top. Put the header below the
172 NOTREACHED() << "Invalid panel passed to HeaderClicked.";
184 // Compute the offset of the top of the panel to scroll to.
191 // Compute the space below the top of the panel.
202 // If the panel is already fully visible, do nothing.
210 // There's enough room for this panel and everything below it to fit on the
217 // panel in question is fully visible.
219 divider_height_ + affected_panel_height + // Size of this panel.