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

Unified Diff: chrome/browser/platform_util_aura.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: chrome/browser/platform_util_aura.cc
===================================================================
--- chrome/browser/platform_util_aura.cc (revision 114022)
+++ chrome/browser/platform_util_aura.cc (working copy)
@@ -6,6 +6,7 @@
#include "base/logging.h"
#include "ui/aura/window.h"
+#include "ui/aura_shell/window_util.h"
namespace platform_util {
@@ -18,11 +19,11 @@
}
bool IsWindowActive(gfx::NativeWindow window) {
- return window->IsActive();
+ return aura_shell::IsActiveWindow(window);
}
void ActivateWindow(gfx::NativeWindow window) {
- window->Activate();
+ aura_shell::ActivateWindow(window);
}
bool IsVisible(gfx::NativeView view) {
« no previous file with comments | « chrome/browser/automation/testing_automation_provider_aura.cc ('k') | chrome/browser/ui/views/aura/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698