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

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

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « public/web/WebSpeechInputResult.h ('k') | public/web/WebSpeechRecognitionParams.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 15 matching lines...) Expand all
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 WebCore { 32 namespace WebCore {
33 class SpeechRecognition; 33 class SpeechRecognition;
34 } 34 }
35 35
36 namespace WebKit { 36 namespace blink {
37 37
38 class WebSpeechRecognitionResult; 38 class WebSpeechRecognitionResult;
39 class WebString; 39 class WebString;
40 40
41 // WebSpeechRecognitionHandle is used by WebSpeechRecognizer to identify a 41 // WebSpeechRecognitionHandle is used by WebSpeechRecognizer to identify a
42 // recognition session, and by WebSpeechRecognizerClient to route 42 // recognition session, and by WebSpeechRecognizerClient to route
43 // recognition events. 43 // recognition events.
44 class WebSpeechRecognitionHandle { 44 class WebSpeechRecognitionHandle {
45 public: 45 public:
46 ~WebSpeechRecognitionHandle() { reset(); } 46 ~WebSpeechRecognitionHandle() { reset(); }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 inline bool operator!=(const WebSpeechRecognitionHandle& a, const WebSpeechRecog nitionHandle& b) 79 inline bool operator!=(const WebSpeechRecognitionHandle& a, const WebSpeechRecog nitionHandle& b)
80 { 80 {
81 return !(a == b); 81 return !(a == b);
82 } 82 }
83 83
84 inline bool operator<(const WebSpeechRecognitionHandle& a, const WebSpeechRecogn itionHandle& b) 84 inline bool operator<(const WebSpeechRecognitionHandle& a, const WebSpeechRecogn itionHandle& b)
85 { 85 {
86 return a.lessThan(b); 86 return a.lessThan(b);
87 } 87 }
88 88
89 } // namespace WebKit 89 } // namespace blink
90 90
91 #endif // WebSpeechRecognitionHandle_h 91 #endif // WebSpeechRecognitionHandle_h
OLDNEW
« no previous file with comments | « public/web/WebSpeechInputResult.h ('k') | public/web/WebSpeechRecognitionParams.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698