| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_ROUTE
R_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_ROUTE
R_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_ROUTE
R_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_ROUTE
R_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 52 |
| 53 // Notify all automation extensions that an accessibility tree was | 53 // Notify all automation extensions that an accessibility tree was |
| 54 // destroyed. If |browser_context| is null, | 54 // destroyed. If |browser_context| is null, |
| 55 void DispatchTreeDestroyedEvent( | 55 void DispatchTreeDestroyedEvent( |
| 56 int tree_id, | 56 int tree_id, |
| 57 content::BrowserContext* browser_context); | 57 content::BrowserContext* browser_context); |
| 58 | 58 |
| 59 private: | 59 private: |
| 60 struct AutomationListener { | 60 struct AutomationListener { |
| 61 AutomationListener(); | 61 AutomationListener(); |
| 62 AutomationListener(const AutomationListener& other); |
| 62 ~AutomationListener(); | 63 ~AutomationListener(); |
| 63 | 64 |
| 64 ExtensionId extension_id; | 65 ExtensionId extension_id; |
| 65 int routing_id; | 66 int routing_id; |
| 66 int process_id; | 67 int process_id; |
| 67 bool desktop; | 68 bool desktop; |
| 68 std::set<int> tree_ids; | 69 std::set<int> tree_ids; |
| 69 bool is_active_profile; | 70 bool is_active_profile; |
| 70 }; | 71 }; |
| 71 | 72 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 102 Profile* active_profile_; | 103 Profile* active_profile_; |
| 103 | 104 |
| 104 friend struct base::DefaultSingletonTraits<AutomationEventRouter>; | 105 friend struct base::DefaultSingletonTraits<AutomationEventRouter>; |
| 105 | 106 |
| 106 DISALLOW_COPY_AND_ASSIGN(AutomationEventRouter); | 107 DISALLOW_COPY_AND_ASSIGN(AutomationEventRouter); |
| 107 }; | 108 }; |
| 108 | 109 |
| 109 } // namespace extensions | 110 } // namespace extensions |
| 110 | 111 |
| 111 #endif // CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_RO
UTER_H_ | 112 #endif // CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_RO
UTER_H_ |
| OLD | NEW |