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

Unified Diff: views/examples/examples_main.cc

Issue 7846010: Fixed crash when a SinglesplitView gets embdedded inside SingleSplitView (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: incorporated all review comments by Sky and Tfarina Created 9 years, 3 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
Index: views/examples/examples_main.cc
diff --git a/views/examples/examples_main.cc b/views/examples/examples_main.cc
index 19e0ef2ad72fd6258f65989416392fde38d3dc2f..2a7129963cbe14838d403e57b48e72365b33967e 100644
--- a/views/examples/examples_main.cc
+++ b/views/examples/examples_main.cc
@@ -16,6 +16,7 @@
#include "views/controls/tabbed_pane/tabbed_pane.h"
#include "views/examples/button_example.h"
#include "views/examples/combobox_example.h"
+#include "views/examples/double_split_view_example.h"
#include "views/examples/link_example.h"
#include "views/examples/menu_example.h"
#include "views/examples/message_box_example.h"
@@ -108,10 +109,15 @@ void ExamplesMain::Run() {
views::Widget* window =
views::Widget::CreateWindowWithBounds(this, gfx::Rect(0, 0, 850, 300));
oshima 2011/09/09 17:50:27 remove extra empty line
Gajen 2011/09/12 15:13:44 Done.
+
examples::NativeThemeCheckboxExample native_theme_checkbox_example(this);
tabbed_pane->AddTab(native_theme_checkbox_example.GetExampleTitle(),
native_theme_checkbox_example.GetExampleView());
+ examples::DoubleSplitViewExample double_split_view_example(this);
+ tabbed_pane->AddTab(double_split_view_example.GetExampleTitle(),
+ double_split_view_example.GetExampleView());
+
examples::NativeThemeButtonExample native_theme_button_example(this);
tabbed_pane->AddTab(native_theme_button_example.GetExampleTitle(),
native_theme_button_example.GetExampleView());

Powered by Google App Engine
This is Rietveld 408576698