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

Unified Diff: chrome/browser/ui/cocoa/speech_recognition_window_controller.h

Issue 260903010: Start removing support for the experimental x-webkit-speech API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't touch histograms.xml Created 6 years, 8 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/ui/cocoa/speech_recognition_window_controller.h
diff --git a/chrome/browser/ui/cocoa/speech_recognition_window_controller.h b/chrome/browser/ui/cocoa/speech_recognition_window_controller.h
deleted file mode 100644
index 24fa8909dac0607bf4602b076989e26342777b68..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/speech_recognition_window_controller.h
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2012 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_UI_COCOA_SPEECH_RECOGNITION_WINDOW_CONTROLLER_H_
-#define CHROME_BROWSER_UI_COCOA_SPEECH_RECOGNITION_WINDOW_CONTROLLER_H_
-
-#import <Cocoa/Cocoa.h>
-
-#include "chrome/browser/speech/speech_recognition_bubble.h"
-#include "chrome/browser/ui/cocoa/base_bubble_controller.h"
-
-// Controller for the speech recognition bubble window. This bubble window gets
-// displayed when the user starts speech input in a html input element.
-@interface SpeechRecognitionWindowController : BaseBubbleController {
- @private
- SpeechRecognitionBubble::Delegate* delegate_; // weak.
- SpeechRecognitionBubbleBase::DisplayMode displayMode_;
-
- // References below are weak, being obtained from the nib.
- IBOutlet NSImageView* iconImage_;
- IBOutlet NSTextField* instructionLabel_;
- IBOutlet NSButton* cancelButton_;
- IBOutlet NSButton* tryAgainButton_;
- IBOutlet NSButton* micSettingsButton_;
-}
-
-// Initialize the window. |anchoredAt| is in screen coordinates.
-- (id)initWithParentWindow:(NSWindow*)parentWindow
- delegate:(SpeechRecognitionBubbleDelegate*)delegate
- anchoredAt:(NSPoint)anchoredAt;
-
-// Handler for the cancel button.
-- (IBAction)cancel:(id)sender;
-
-// Handler for the try again button.
-- (IBAction)tryAgain:(id)sender;
-
-// Handler for the mic settings button.
-- (IBAction)micSettings:(id)sender;
-
-// Updates the UI with data related to the given display mode.
-- (void)updateLayout:(SpeechRecognitionBubbleBase::DisplayMode)mode
- messageText:(const base::string16&)messageText
- iconImage:(NSImage*)iconImage;
-
-// Makes the speech recognition bubble visible on screen.
-- (void)show;
-
-// Hides the speech recognition bubble away from screen. This does NOT release
-// the controller and the window.
-- (void)hide;
-
-// Sets the image to be displayed in the bubble's status ImageView. A future
-// call to updateLayout may change the image.
-// TODO(satish): Clean that up and move it into the platform independent
-// SpeechRecognitionBubbleBase class.
-- (void)setImage:(NSImage*)image;
-
-@end
-
-#endif // CHROME_BROWSER_UI_COCOA_SPEECH_RECOGNITION_WINDOW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698