| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/automation/automation_provider.h" | 5 #include "chrome/browser/automation/automation_provider.h" |
| 6 | 6 |
| 7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "app/l10n_util_mac.h" | 10 #include "app/l10n_util_mac.h" |
| 11 #include "base/sys_string_conversions.h" | 11 #include "base/sys_string_conversions.h" |
| 12 #include "chrome/browser/automation/automation_browser_tracker.h" | 12 #include "chrome/browser/automation/automation_browser_tracker.h" |
| 13 #include "chrome/browser/automation/automation_window_tracker.h" | 13 #include "chrome/browser/automation/automation_window_tracker.h" |
| 14 #include "chrome/browser/cocoa/tab_window_controller.h" | 14 #include "chrome/browser/cocoa/tab_window_controller.h" |
| 15 #include "chrome/browser/view_ids.h" | 15 #include "chrome/browser/view_ids.h" |
| 16 #import "chrome/browser/cocoa/browser_window_controller.h" | 16 #import "chrome/browser/cocoa/browser_window_controller.h" |
| 17 #include "chrome/test/automation/automation_messages.h" | 17 #include "chrome/common/automation_messages.h" |
| 18 #include "gfx/point.h" | 18 #include "gfx/point.h" |
| 19 #include "gfx/rect.h" | 19 #include "gfx/rect.h" |
| 20 #include "grit/generated_resources.h" | 20 #include "grit/generated_resources.h" |
| 21 | 21 |
| 22 void AutomationProvider::PrintAsync(int tab_handle) { | 22 void AutomationProvider::PrintAsync(int tab_handle) { |
| 23 NOTIMPLEMENTED(); | 23 NOTIMPLEMENTED(); |
| 24 } | 24 } |
| 25 | 25 |
| 26 void AutomationProvider::WindowSimulateDrag(int handle, | 26 void AutomationProvider::WindowSimulateDrag(int handle, |
| 27 std::vector<gfx::Point> drag_path, | 27 std::vector<gfx::Point> drag_path, |
| 28 int flags, | 28 int flags, |
| 29 bool press_escape_en_route, | 29 bool press_escape_en_route, |
| 30 IPC::Message* reply_message) { | 30 IPC::Message* reply_message) { |
| 31 NOTIMPLEMENTED(); | 31 NOTIMPLEMENTED(); |
| 32 AutomationMsg_WindowDrag::WriteReplyParams(reply_message, false); | 32 AutomationMsg_WindowDrag::WriteReplyParams(reply_message, false); |
| 33 Send(reply_message); | 33 Send(reply_message); |
| 34 } | 34 } |
| 35 | 35 |
| OLD | NEW |