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

Side by Side Diff: Source/core/page/SpeechInputResultList.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/SpeechInputEvent.h ('k') | Source/core/page/WindowFocusAllowedIndicator.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 14 matching lines...) Expand all
25 25
26 #ifndef SpeechInputResultList_h 26 #ifndef SpeechInputResultList_h
27 #define SpeechInputResultList_h 27 #define SpeechInputResultList_h
28 28
29 #if ENABLE(INPUT_SPEECH) 29 #if ENABLE(INPUT_SPEECH)
30 30
31 #include "bindings/v8/ScriptWrappable.h" 31 #include "bindings/v8/ScriptWrappable.h"
32 #include "core/page/SpeechInputResult.h" 32 #include "core/page/SpeechInputResult.h"
33 #include "wtf/PassRefPtr.h" 33 #include "wtf/PassRefPtr.h"
34 #include "wtf/RefCounted.h" 34 #include "wtf/RefCounted.h"
35 #include "wtf/Vector.h"
36 35
37 namespace WebCore { 36 namespace WebCore {
38 37
39 class SpeechInputResultList : public RefCounted<SpeechInputResultList>, public S criptWrappable { 38 class SpeechInputResultList : public RefCounted<SpeechInputResultList>, public S criptWrappable {
40 public: 39 public:
41 static PassRefPtr<SpeechInputResultList> create(const SpeechInputResultArray & results); 40 static PassRefPtr<SpeechInputResultList> create(const SpeechInputResultArray & results);
42 41
43 // Methods from the IDL. 42 // Methods from the IDL.
44 size_t length() { return m_results.size(); } 43 size_t length() { return m_results.size(); }
45 SpeechInputResult* item(unsigned index); 44 SpeechInputResult* item(unsigned index);
46 45
47 private: 46 private:
48 explicit SpeechInputResultList(const SpeechInputResultArray& results); 47 explicit SpeechInputResultList(const SpeechInputResultArray& results);
49 48
50 SpeechInputResultArray m_results; 49 SpeechInputResultArray m_results;
51 }; 50 };
52 51
53 } // namespace WebCore 52 } // namespace WebCore
54 53
55 #endif // ENABLE(INPUT_SPEECH) 54 #endif // ENABLE(INPUT_SPEECH)
56 55
57 #endif // SpeechInputResultList_h 56 #endif // SpeechInputResultList_h
OLDNEW
« no previous file with comments | « Source/core/page/SpeechInputEvent.h ('k') | Source/core/page/WindowFocusAllowedIndicator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698