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(); |
-} |