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

Unified Diff: mojo/examples/window_manager/debug_panel.cc

Issue 489493004: Update view manager to support content handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: blah to the blizzah Created 6 years, 4 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 | « mojo/examples/window_manager/debug_panel.h ('k') | mojo/examples/window_manager/window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/window_manager/debug_panel.cc
diff --git a/mojo/examples/window_manager/debug_panel.cc b/mojo/examples/window_manager/debug_panel.cc
index 1648d0c53fa230c45b31f11d50d433c65ad9697a..022695d132ebe166a2ad5c331c4701208d4f7d1e 100644
--- a/mojo/examples/window_manager/debug_panel.cc
+++ b/mojo/examples/window_manager/debug_panel.cc
@@ -35,7 +35,6 @@ DebugPanel::DebugPanel(Delegate* delegate, View* view)
base::ASCIIToUTF16("Source window"), kNavigationTargetGroupId)),
navigation_target_default_(new views::RadioButton(
base::ASCIIToUTF16("Default"), kNavigationTargetGroupId)),
- next_color_(0),
colored_square_(new views::BlueButton(
this, base::ASCIIToUTF16("Local nav test"))),
close_last_(new views::BlueButton(
@@ -117,8 +116,7 @@ void DebugPanel::Layout(views::View* view) {
void DebugPanel::ButtonPressed(views::Button* sender, const ui::Event& event) {
if (sender == colored_square_) {
- Navigate(base::StringPrintf("mojo://mojo_embedded_app/%x",
- kColors[next_color_ % arraysize(kColors)]));
+ Navigate("mojo://mojo_embedded_app/");
next_color_++;
} else if (sender == close_last_) {
delegate_->CloseTopWindow();
« no previous file with comments | « mojo/examples/window_manager/debug_panel.h ('k') | mojo/examples/window_manager/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698