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

Side by Side Diff: public/web/WebSpeechRecognitionHandle.h

Issue 776693002: Clean forward declaration in public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix fakewebplugin 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
« no previous file with comments | « public/web/WebSharedWorkerConnector.h ('k') | public/web/WebSpeechRecognizer.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 WebSpeechRecognitionHandle_h 26 #ifndef WebSpeechRecognitionHandle_h
27 #define WebSpeechRecognitionHandle_h 27 #define WebSpeechRecognitionHandle_h
28 28
29 #include "../platform/WebCommon.h" 29 #include "../platform/WebCommon.h"
30 #include "../platform/WebPrivatePtr.h" 30 #include "../platform/WebPrivatePtr.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class SpeechRecognition; 34 class SpeechRecognition;
35 class WebSpeechRecognitionResult;
36 class WebString;
37 35
38 // WebSpeechRecognitionHandle is used by WebSpeechRecognizer to identify a 36 // WebSpeechRecognitionHandle is used by WebSpeechRecognizer to identify a
39 // recognition session, and by WebSpeechRecognizerClient to route 37 // recognition session, and by WebSpeechRecognizerClient to route
40 // recognition events. 38 // recognition events.
41 class WebSpeechRecognitionHandle { 39 class WebSpeechRecognitionHandle {
42 public: 40 public:
43 ~WebSpeechRecognitionHandle() { reset(); } 41 ~WebSpeechRecognitionHandle() { reset(); }
44 WebSpeechRecognitionHandle() { } 42 WebSpeechRecognitionHandle() { }
45 43
46 WebSpeechRecognitionHandle(const WebSpeechRecognitionHandle& other) { assign (other); } 44 WebSpeechRecognitionHandle(const WebSpeechRecognitionHandle& other) { assign (other); }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 } 76 }
79 77
80 inline bool operator<(const WebSpeechRecognitionHandle& a, const WebSpeechRecogn itionHandle& b) 78 inline bool operator<(const WebSpeechRecognitionHandle& a, const WebSpeechRecogn itionHandle& b)
81 { 79 {
82 return a.lessThan(b); 80 return a.lessThan(b);
83 } 81 }
84 82
85 } // namespace blink 83 } // namespace blink
86 84
87 #endif // WebSpeechRecognitionHandle_h 85 #endif // WebSpeechRecognitionHandle_h
OLDNEW
« no previous file with comments | « public/web/WebSharedWorkerConnector.h ('k') | public/web/WebSpeechRecognizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698