Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
|
David Tseng
2014/12/16 16:53:04
Ditto.
dmazzoni
2014/12/16 23:26:31
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EVENT_RECORDER_H_ | |
| 6 #define CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EVENT_RECORDER_H_ | |
| 7 | |
| 8 #include <vector> | |
| 9 | |
| 10 #include "content/browser/accessibility/browser_accessibility_manager.h" | |
|
David Tseng
2014/12/16 16:53:04
Could you forward declare?
dmazzoni
2014/12/16 23:26:31
Done.
| |
| 11 #include "content/common/content_export.h" | |
| 12 | |
| 13 namespace content { | |
| 14 | |
| 15 class AccessibilityEventRecorder { | |
|
David Tseng
2014/12/16 16:53:04
nit: document
dmazzoni
2014/12/16 23:26:31
Done.
| |
| 16 public: | |
| 17 static AccessibilityEventRecorder* Create( | |
| 18 BrowserAccessibilityManager* manager); | |
| 19 virtual ~AccessibilityEventRecorder(); | |
| 20 | |
| 21 const std::vector<std::string>& GetEventLogs() { return event_logs_; } | |
|
David Tseng
2014/12/16 16:53:04
nit: just event_logs()
David Tseng
2014/12/16 16:53:04
nit: document
dmazzoni
2014/12/16 23:26:31
Done.
| |
| 22 | |
| 23 protected: | |
| 24 explicit AccessibilityEventRecorder(BrowserAccessibilityManager* manager); | |
| 25 | |
| 26 BrowserAccessibilityManager* manager_; | |
| 27 std::vector<std::string> event_logs_; | |
| 28 | |
| 29 DISALLOW_COPY_AND_ASSIGN(AccessibilityEventRecorder); | |
| 30 }; | |
| 31 | |
| 32 } // namespace content | |
| 33 | |
| 34 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EVENT_RECORDER_H_ | |
| OLD | NEW |