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

Side by Side Diff: chrome/browser/automation/testing_automation_provider.h

Issue 10784009: screenshot disabling policy tests (Closed) Base URL: http://git.chromium.org/chromium/src.git@disable_screenshots
Patch Set: Updated accelerator_action.h Created 8 years, 4 months 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 1585 matching lines...) Expand 10 before | Expand all | Expand 10 after
1596 void CaptureProfilePhoto(Browser* browser, 1596 void CaptureProfilePhoto(Browser* browser,
1597 DictionaryValue* args, 1597 DictionaryValue* args,
1598 IPC::Message* reply_message); 1598 IPC::Message* reply_message);
1599 1599
1600 // Html terminal. 1600 // Html terminal.
1601 void OpenCrosh(base::DictionaryValue* args, IPC::Message* reply_message); 1601 void OpenCrosh(base::DictionaryValue* args, IPC::Message* reply_message);
1602 1602
1603 void AddChromeosObservers(); 1603 void AddChromeosObservers();
1604 void RemoveChromeosObservers(); 1604 void RemoveChromeosObservers();
1605 1605
1606 // ASH accelerator.
1607 // Example:
1608 // input: {"action": 42} - For available actions see AcceleratorAction in
1609 // ash/accelerators/accelerator_table.h
1610 // output: {"handled": True} - Whether the accelerator was handled
1611 void RunAshCommand(base::DictionaryValue* args, IPC::Message* reply_message);
1612
1606 #endif // defined(OS_CHROMEOS) 1613 #endif // defined(OS_CHROMEOS)
1607 1614
1608 void WaitForTabCountToBecome(int browser_handle, 1615 void WaitForTabCountToBecome(int browser_handle,
1609 int target_tab_count, 1616 int target_tab_count,
1610 IPC::Message* reply_message); 1617 IPC::Message* reply_message);
1611 1618
1612 void WaitForInfoBarCount(int tab_handle, 1619 void WaitForInfoBarCount(int tab_handle,
1613 size_t target_count, 1620 size_t target_count,
1614 IPC::Message* reply_message); 1621 IPC::Message* reply_message);
1615 1622
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
1653 scoped_ptr<AutomationEventQueue> automation_event_queue_; 1660 scoped_ptr<AutomationEventQueue> automation_event_queue_;
1654 1661
1655 // List of commands which just finish synchronously and don't require 1662 // List of commands which just finish synchronously and don't require
1656 // setting up an observer. 1663 // setting up an observer.
1657 static const int kSynchronousCommands[]; 1664 static const int kSynchronousCommands[];
1658 1665
1659 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1666 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1660 }; 1667 };
1661 1668
1662 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1669 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698