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

Side by Side Diff: content/browser/accessibility/accessibility_event_recorder.h

Issue 790943002: Add DumpAccessibilityEvents test framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dump_acc_events_1
Patch Set: Created 6 years 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698