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

Unified Diff: ui/views/examples/tabbed_pane_example.h

Issue 12221130: Revert 181798 for excessive leaks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 | « ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc ('k') | ui/views/examples/tabbed_pane_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/tabbed_pane_example.h
===================================================================
--- ui/views/examples/tabbed_pane_example.h (revision 181830)
+++ ui/views/examples/tabbed_pane_example.h (working copy)
@@ -18,7 +18,7 @@
namespace examples {
-// A TabbedPane example tests adding and selecting tabs.
+// A TabbedPane example tests adding/removing/selecting tabs.
class TabbedPaneExample : public ExampleBase,
public ButtonListener,
public TabbedPaneListener {
@@ -44,9 +44,10 @@
// The tabbed pane to be tested.
TabbedPane* tabbed_pane_;
- // Control buttons to add and select tabs.
+ // Control buttons to add, remove or select tabs.
Button* add_;
Button* add_at_;
+ Button* remove_at_;
Button* select_at_;
DISALLOW_COPY_AND_ASSIGN(TabbedPaneExample);
« no previous file with comments | « ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc ('k') | ui/views/examples/tabbed_pane_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698