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

Unified Diff: chrome/browser/speech/speech_input_bubble_browsertest.cc

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/speech_input_bubble_browsertest.cc
diff --git a/chrome/browser/speech/speech_input_bubble_browsertest.cc b/chrome/browser/speech/speech_input_bubble_browsertest.cc
deleted file mode 100644
index 72fbf3aca1a045292c79264114558ac3356c4375..0000000000000000000000000000000000000000
--- a/chrome/browser/speech/speech_input_bubble_browsertest.cc
+++ /dev/null
@@ -1,56 +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.
-
-#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/speech/speech_input_bubble.h"
-#include "chrome/browser/ui/browser.h"
-#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
-#include "chrome/test/base/in_process_browser_test.h"
-#include "testing/gtest/include/gtest/gtest.h"
-#include "ui/gfx/rect.h"
-
-class SpeechInputBubbleTest : public SpeechInputBubbleDelegate,
- public InProcessBrowserTest {
- public:
- // SpeechInputBubble::Delegate methods.
- virtual void InfoBubbleButtonClicked(SpeechInputBubble::Button button) {}
- virtual void InfoBubbleFocusChanged() {}
-
- protected:
-};
-
-IN_PROC_BROWSER_TEST_F(SpeechInputBubbleTest, CreateAndDestroy) {
- gfx::Rect element_rect(100, 100, 100, 100);
- scoped_ptr<SpeechInputBubble> bubble(SpeechInputBubble::Create(
- browser()->GetSelectedWebContents(), this, element_rect));
- EXPECT_TRUE(bubble.get());
-}
-
-IN_PROC_BROWSER_TEST_F(SpeechInputBubbleTest, ShowAndDestroy) {
- gfx::Rect element_rect(100, 100, 100, 100);
- scoped_ptr<SpeechInputBubble> bubble(SpeechInputBubble::Create(
- browser()->GetSelectedWebContents(), this, element_rect));
- EXPECT_TRUE(bubble.get());
- bubble->Show();
-}
-
-IN_PROC_BROWSER_TEST_F(SpeechInputBubbleTest, ShowAndHide) {
- gfx::Rect element_rect(100, 100, 100, 100);
- scoped_ptr<SpeechInputBubble> bubble(SpeechInputBubble::Create(
- browser()->GetSelectedWebContents(), this, element_rect));
- EXPECT_TRUE(bubble.get());
- bubble->Show();
- bubble->Hide();
-}
-
-IN_PROC_BROWSER_TEST_F(SpeechInputBubbleTest, ShowAndHideTwice) {
- gfx::Rect element_rect(100, 100, 100, 100);
- scoped_ptr<SpeechInputBubble> bubble(SpeechInputBubble::Create(
- browser()->GetSelectedWebContents(), this, element_rect));
- EXPECT_TRUE(bubble.get());
- bubble->Show();
- bubble->Hide();
- bubble->Show();
- bubble->Hide();
-}
« no previous file with comments | « chrome/browser/speech/speech_input_bubble.cc ('k') | chrome/browser/speech/speech_input_bubble_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698