| OLD | NEW |
| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
| 29 | 29 |
| 30 #if defined(OS_CHROMEOS) | 30 #if defined(OS_CHROMEOS) |
| 31 // TODO(sque): move to a ChromeOS-specific class. See crosbug.com/22081. | 31 // TODO(sque): move to a ChromeOS-specific class. See crosbug.com/22081. |
| 32 class PowerManagerClientObserverForTesting; | 32 class PowerManagerClientObserverForTesting; |
| 33 #endif // defined(OS_CHROMEOS) | 33 #endif // defined(OS_CHROMEOS) |
| 34 | 34 |
| 35 class AutofillProfile; | 35 class AutofillProfile; |
| 36 class CreditCard; | 36 class CreditCard; |
| 37 class ImporterList; | 37 class ImporterList; |
| 38 struct NativeWebKeyboardEvent; |
| 38 | 39 |
| 39 namespace base { | 40 namespace base { |
| 40 class DictionaryValue; | 41 class DictionaryValue; |
| 41 } | 42 } |
| 42 | 43 |
| 43 namespace content { | 44 namespace content { |
| 44 class RenderViewHost; | 45 class RenderViewHost; |
| 45 } | 46 } |
| 46 | 47 |
| 48 namespace gfx { |
| 49 class Rect; |
| 50 } |
| 51 |
| 47 namespace webkit { | 52 namespace webkit { |
| 48 struct WebPluginInfo; | 53 struct WebPluginInfo; |
| 49 } | 54 } |
| 50 | 55 |
| 51 // This is an automation provider containing testing calls. | 56 // This is an automation provider containing testing calls. |
| 52 class TestingAutomationProvider : public AutomationProvider, | 57 class TestingAutomationProvider : public AutomationProvider, |
| 53 public BrowserList::Observer, | 58 public BrowserList::Observer, |
| 54 public importer::ImporterListObserver, | 59 public importer::ImporterListObserver, |
| 55 public content::NotificationObserver { | 60 public content::NotificationObserver { |
| 56 public: | 61 public: |
| (...skipping 1571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1628 ImportSettingsData import_settings_data_; | 1633 ImportSettingsData import_settings_data_; |
| 1629 | 1634 |
| 1630 // The automation event observer queue. It is lazily created when an observer | 1635 // The automation event observer queue. It is lazily created when an observer |
| 1631 // is added to avoid overhead when not needed. | 1636 // is added to avoid overhead when not needed. |
| 1632 scoped_ptr<AutomationEventQueue> automation_event_queue_; | 1637 scoped_ptr<AutomationEventQueue> automation_event_queue_; |
| 1633 | 1638 |
| 1634 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1639 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 1635 }; | 1640 }; |
| 1636 | 1641 |
| 1637 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1642 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |