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

Unified Diff: ui/aura_shell/examples/aura_shell_main.cc

Issue 8894018: Move the concept of Activation to the Shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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: ui/aura_shell/examples/aura_shell_main.cc
===================================================================
--- ui/aura_shell/examples/aura_shell_main.cc (revision 113647)
+++ ui/aura_shell/examples/aura_shell_main.cc (working copy)
@@ -13,6 +13,7 @@
#include "ui/aura_shell/shell.h"
#include "ui/aura_shell/shell_delegate.h"
#include "ui/aura_shell/shell_factory.h"
+#include "ui/aura_shell/window_util.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/ui_base_paths.h"
#include "ui/gfx/canvas.h"
@@ -74,7 +75,7 @@
virtual void LauncherItemClicked(
const aura_shell::LauncherItem& item) OVERRIDE {
- item.window->Activate();
+ aura_shell::ActivateWindow(item.window);
}
virtual bool ConfigureLauncherItem(aura_shell::LauncherItem* item) OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698