1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/automation/testing_automation_provider.h"
7 #include "base/logging.h"
8 #include "chrome/browser/automation/automation_window_tracker.h"
9 #include "ui/aura/client/aura_constants.h"
10 #include "ui/aura/window.h"
11 #include "ui/base/ui_base_types.h"
14 #include "ash/wm/window_util.h"
17 void TestingAutomationProvider::TerminateSession(int handle
, bool* success
) {
21 void TestingAutomationProvider::SetWindowBounds(int handle
,
22 const gfx::Rect
& bounds
,
24 aura::Window
* window
= window_tracker_
->GetResource(handle
);
26 window
->SetBounds(bounds
);