Home | History | Annotate | Download | only in automation
      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
      3 // found in the LICENSE file.
      4 
      5 #include "chrome/browser/automation/automation_provider.h"
      6 
      7 #import <Cocoa/Cocoa.h>
      8 
      9 #include "base/sys_string_conversions.h"
     10 #include "chrome/browser/automation/automation_browser_tracker.h"
     11 #include "chrome/browser/automation/automation_window_tracker.h"
     12 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
     13 #include "chrome/browser/ui/cocoa/tabs/tab_window_controller.h"
     14 #include "chrome/browser/ui/view_ids.h"
     15 #include "chrome/common/automation_messages.h"
     16 #include "grit/generated_resources.h"
     17 #include "ui/base/l10n/l10n_util.h"
     18 #include "ui/base/l10n/l10n_util_mac.h"
     19 #include "ui/gfx/point.h"
     20 #include "ui/gfx/rect.h"
     21 
     22 void AutomationProvider::PrintAsync(int tab_handle) {
     23   NOTIMPLEMENTED();
     24 }
     25 
     26 void AutomationProvider::WindowSimulateDrag(
     27     int handle,
     28     const std::vector<gfx::Point>& drag_path,
     29     int flags,
     30     bool press_escape_en_route,
     31     IPC::Message* reply_message) {
     32   NOTIMPLEMENTED();
     33   AutomationMsg_WindowDrag::WriteReplyParams(reply_message, false);
     34   Send(reply_message);
     35 }
     36 
     37