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

Unified Diff: chrome/browser/speech/chrome_speech_input_manager_delegate.h

Issue 9568002: Renamed speech input implementation from to speech_recognition_*. The namespace has been renamed fr… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased from master. Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/speech/chrome_speech_input_manager_delegate.h
diff --git a/chrome/browser/speech/chrome_speech_input_manager_delegate.h b/chrome/browser/speech/chrome_speech_input_manager_delegate.h
deleted file mode 100644
index d133a512cbb5625587cd6fee5b25695d5726e9bb..0000000000000000000000000000000000000000
--- a/chrome/browser/speech/chrome_speech_input_manager_delegate.h
+++ /dev/null
@@ -1,60 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_SPEECH_CHROME_SPEECH_INPUT_MANAGER_DELEGATE_H_
-#define CHROME_BROWSER_SPEECH_CHROME_SPEECH_INPUT_MANAGER_DELEGATE_H_
-
-#include "base/compiler_specific.h"
-#include "base/memory/ref_counted.h"
-#include "chrome/browser/speech/speech_input_bubble_controller.h"
-#include "content/public/browser/speech_input_manager_delegate.h"
-
-namespace speech_input {
-
-// This is Chrome's implementation of the SpeechInputManager interface. This
-// class is a singleton and accessed via the Get method.
-class ChromeSpeechInputManagerDelegate
- : NON_EXPORTED_BASE(public content::SpeechInputManagerDelegate),
- public SpeechInputBubbleControllerDelegate {
- public:
- ChromeSpeechInputManagerDelegate();
- virtual ~ChromeSpeechInputManagerDelegate();
-
- // SpeechInputBubbleControllerDelegate methods.
- virtual void InfoBubbleButtonClicked(
- int caller_id, SpeechInputBubble::Button button) OVERRIDE;
- virtual void InfoBubbleFocusChanged(int caller_id) OVERRIDE;
-
- protected:
- // SpeechInputManagerDelegate methods.
- virtual void GetRequestInfo(bool* can_report_metrics,
- std::string* request_info) OVERRIDE;
- virtual void ShowRecognitionRequested(int caller_id,
- int render_process_id,
- int render_view_id,
- const gfx::Rect& element_rect) OVERRIDE;
- virtual void ShowWarmUp(int caller_id) OVERRIDE;
- virtual void ShowRecognizing(int caller_id) OVERRIDE;
- virtual void ShowRecording(int caller_id) OVERRIDE;
- virtual void ShowInputVolume(int caller_id,
- float volume,
- float noise_volume) OVERRIDE;
- virtual void ShowMicError(int caller_id,
- MicError error) OVERRIDE;
- virtual void ShowRecognizerError(int caller_id,
- content::SpeechInputError error) OVERRIDE;
- virtual void DoClose(int caller_id) OVERRIDE;
-
- private:
- class OptionalRequestInfo;
-
- scoped_refptr<SpeechInputBubbleController> bubble_controller_;
- scoped_refptr<OptionalRequestInfo> optional_request_info_;
-
- DISALLOW_COPY_AND_ASSIGN(ChromeSpeechInputManagerDelegate);
-};
-
-} // namespace speech_input
-
-#endif // CHROME_BROWSER_SPEECH_CHROME_SPEECH_INPUT_MANAGER_DELEGATE_H_
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/speech/chrome_speech_input_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698