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

Unified Diff: chrome/browser/ui/views/aura/chrome_shell_delegate.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
« no previous file with comments | « chrome/browser/platform_util_aura.cc ('k') | chrome/test/base/browser_with_test_window_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/aura/chrome_shell_delegate.cc
===================================================================
--- chrome/browser/ui/views/aura/chrome_shell_delegate.cc (revision 114022)
+++ chrome/browser/ui/views/aura/chrome_shell_delegate.cc (working copy)
@@ -11,6 +11,7 @@
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "ui/aura/window.h"
#include "ui/aura_shell/launcher/launcher_types.h"
+#include "ui/aura_shell/window_util.h"
// static
ChromeShellDelegate* ChromeShellDelegate::instance_ = NULL;
@@ -66,7 +67,7 @@
void ChromeShellDelegate::LauncherItemClicked(
const aura_shell::LauncherItem& item) {
- item.window->Activate();
+ aura_shell::ActivateWindow(item.window);
}
bool ChromeShellDelegate::ConfigureLauncherItem(
« no previous file with comments | « chrome/browser/platform_util_aura.cc ('k') | chrome/test/base/browser_with_test_window_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698