| Index: chrome/browser/automation/testing_automation_provider_aura.cc
|
| diff --git a/chrome/browser/automation/testing_automation_provider_aura.cc b/chrome/browser/automation/testing_automation_provider_aura.cc
|
| index a1a26da808f95b99ce06392b1bdfbbe0b5d51268..04a8b8c2bfe57d8565e6c938881008cb4d61635b 100644
|
| --- a/chrome/browser/automation/testing_automation_provider_aura.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider_aura.cc
|
| @@ -4,18 +4,25 @@
|
|
|
| #include "chrome/browser/automation/testing_automation_provider.h"
|
|
|
| -#include "ash/wm/window_util.h"
|
| #include "base/logging.h"
|
| #include "chrome/browser/automation/automation_window_tracker.h"
|
| #include "ui/aura/client/aura_constants.h"
|
| #include "ui/aura/window.h"
|
| #include "ui/base/ui_base_types.h"
|
|
|
| +#if defined(USE_ASH)
|
| +#include "ash/wm/window_util.h"
|
| +#endif
|
| +
|
| void TestingAutomationProvider::ActivateWindow(int handle) {
|
| +#if defined(USE_ASH)
|
| aura::Window* window = window_tracker_->GetResource(handle);
|
| if (window) {
|
| ash::wm::ActivateWindow(window);
|
| }
|
| +#else
|
| + NOTIMPLEMENTED();
|
| +#endif
|
| }
|
|
|
| void TestingAutomationProvider::IsWindowMaximized(int handle,
|
|
|