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

Side by Side Diff: chrome/browser/chromeos/accessibility/spoken_feedback_event_rewriter.h

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 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_CHROMEOS_ACCESSIBILITY_SPOKEN_FEEDBACK_EVENT_REWRITER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_SPOKEN_FEEDBACK_EVENT_REWRITER_H_
6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_SPOKEN_FEEDBACK_EVENT_REWRITER_H_ 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_SPOKEN_FEEDBACK_EVENT_REWRITER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h"
10 #include "content/public/browser/web_contents_delegate.h" 11 #include "content/public/browser/web_contents_delegate.h"
11 #include "ui/events/event_rewriter.h" 12 #include "ui/events/event_rewriter.h"
12 13
13 namespace ui { 14 namespace ui {
14 class KeyEvent; 15 class KeyEvent;
15 } 16 }
16 17
17 // Receives requests for spoken feedback enabled state and command dispatch. 18 // Receives requests for spoken feedback enabled state and command dispatch.
18 class SpokenFeedbackEventRewriterDelegate 19 class SpokenFeedbackEventRewriterDelegate
19 : public content::WebContentsDelegate { 20 : public content::WebContentsDelegate {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 const ui::Event& last_event, 58 const ui::Event& last_event,
58 scoped_ptr<ui::Event>* new_event) override; 59 scoped_ptr<ui::Event>* new_event) override;
59 60
60 // Active delegate (used for testing). 61 // Active delegate (used for testing).
61 scoped_ptr<SpokenFeedbackEventRewriterDelegate> delegate_; 62 scoped_ptr<SpokenFeedbackEventRewriterDelegate> delegate_;
62 63
63 DISALLOW_COPY_AND_ASSIGN(SpokenFeedbackEventRewriter); 64 DISALLOW_COPY_AND_ASSIGN(SpokenFeedbackEventRewriter);
64 }; 65 };
65 66
66 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_SPOKEN_FEEDBACK_EVENT_REWRITER_ H_ 67 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_SPOKEN_FEEDBACK_EVENT_REWRITER_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698