| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_VOICE_SEARCH_PROVIDER_H_ | 5 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_VOICE_SEARCH_PROVIDER_H_ |
| 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_VOICE_SEARCH_PROVIDER_H_ | 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_VOICE_SEARCH_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 #include <UIKit/UIKit.h> | 9 #import <UIKit/UIKit.h> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 | 13 |
| 14 class AudioSessionController; | 14 class AudioSessionController; |
| 15 @protocol VoiceSearchBar; | 15 @protocol VoiceSearchBar; |
| 16 class VoiceSearchController; | 16 class VoiceSearchController; |
| 17 | 17 |
| 18 namespace ios { | 18 namespace ios { |
| 19 class ChromeBrowserState; | 19 class ChromeBrowserState; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 42 | 42 |
| 43 // Creates a new VoiceSearchBar. The caller assumes ownership. | 43 // Creates a new VoiceSearchBar. The caller assumes ownership. |
| 44 virtual UIView<VoiceSearchBar>* CreateVoiceSearchBar(CGRect frame) const | 44 virtual UIView<VoiceSearchBar>* CreateVoiceSearchBar(CGRect frame) const |
| 45 NS_RETURNS_RETAINED; | 45 NS_RETURNS_RETAINED; |
| 46 | 46 |
| 47 private: | 47 private: |
| 48 DISALLOW_COPY_AND_ASSIGN(VoiceSearchProvider); | 48 DISALLOW_COPY_AND_ASSIGN(VoiceSearchProvider); |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_VOICE_SEARCH_PROVIDER_H_ | 51 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_VOICE_SEARCH_PROVIDER_H_ |
| OLD | NEW |