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

Side by Side Diff: Source/core/page/SpeechInputEvent.h

Issue 17569013: Remove unused includes from core/inspector, core/loader and core/page (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 5 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
« no previous file with comments | « Source/core/page/Settings.cpp ('k') | Source/core/page/SpeechInputResultList.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * * Redistributions of source code must retain the above copyright 7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright 9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #ifndef SpeechInputEvent_h 26 #ifndef SpeechInputEvent_h
27 #define SpeechInputEvent_h 27 #define SpeechInputEvent_h
28 28
29 #if ENABLE(INPUT_SPEECH) 29 #if ENABLE(INPUT_SPEECH)
30 30
31 #include "core/dom/Event.h" 31 #include "core/dom/Event.h"
32 #include "core/page/SpeechInputResultList.h" 32 #include "core/page/SpeechInputResultList.h"
33 33
34 #include <wtf/PassRefPtr.h> 34 #include "wtf/PassRefPtr.h"
35 #include <wtf/RefCounted.h>
36 #include <wtf/Vector.h>
37 35
38 namespace WebCore { 36 namespace WebCore {
39 37
40 class SpeechInputEvent : public Event { 38 class SpeechInputEvent : public Event {
41 public: 39 public:
42 static PassRefPtr<SpeechInputEvent> create(); 40 static PassRefPtr<SpeechInputEvent> create();
43 static PassRefPtr<SpeechInputEvent> create(const AtomicString& eventType, co nst SpeechInputResultArray& results); 41 static PassRefPtr<SpeechInputEvent> create(const AtomicString& eventType, co nst SpeechInputResultArray& results);
44 ~SpeechInputEvent(); 42 ~SpeechInputEvent();
45 43
46 SpeechInputResultList* results() const { return m_results.get(); } 44 SpeechInputResultList* results() const { return m_results.get(); }
47 45
48 virtual const AtomicString& interfaceName() const; 46 virtual const AtomicString& interfaceName() const;
49 47
50 private: 48 private:
51 SpeechInputEvent(); 49 SpeechInputEvent();
52 SpeechInputEvent(const AtomicString& eventType, const SpeechInputResultArray & results); 50 SpeechInputEvent(const AtomicString& eventType, const SpeechInputResultArray & results);
53 51
54 RefPtr<SpeechInputResultList> m_results; 52 RefPtr<SpeechInputResultList> m_results;
55 }; 53 };
56 54
57 } // namespace WebCore 55 } // namespace WebCore
58 56
59 #endif // ENABLE(INPUT_SPEECH) 57 #endif // ENABLE(INPUT_SPEECH)
60 58
61 #endif // SpeechInputEvent_h 59 #endif // SpeechInputEvent_h
OLDNEW
« no previous file with comments | « Source/core/page/Settings.cpp ('k') | Source/core/page/SpeechInputResultList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698