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

Side by Side Diff: chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc

Issue 16387014: Use a direct include of utf_string_conversions.h in chrome/browser/, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "base/bind.h" 5 #include "base/bind.h"
6 #include "base/utf_string_conversions.h" 6 #include "base/strings/utf_string_conversions.h"
7 #include "chrome/browser/speech/speech_recognition_bubble_controller.h" 7 #include "chrome/browser/speech/speech_recognition_bubble_controller.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/browser_tabstrip.h" 9 #include "chrome/browser/ui/browser_tabstrip.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model.h" 10 #include "chrome/browser/ui/tabs/tab_strip_model.h"
11 #include "chrome/test/base/browser_with_test_window_test.h" 11 #include "chrome/test/base/browser_with_test_window_test.h"
12 #include "chrome/test/base/testing_profile.h" 12 #include "chrome/test/base/testing_profile.h"
13 #include "content/public/test/test_browser_thread.h" 13 #include "content/public/test/test_browser_thread.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "ui/gfx/rect.h" 15 #include "ui/gfx/rect.h"
16 16
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 213
214 controller_->CreateBubble(kBubbleSessionId, 1, 1, gfx::Rect(1, 1)); 214 controller_->CreateBubble(kBubbleSessionId, 1, 1, gfx::Rect(1, 1));
215 base::MessageLoop::current()->Run(); 215 base::MessageLoop::current()->Run();
216 EXPECT_FALSE(cancel_clicked_); 216 EXPECT_FALSE(cancel_clicked_);
217 EXPECT_TRUE(try_again_clicked_); 217 EXPECT_TRUE(try_again_clicked_);
218 EXPECT_FALSE(focus_changed_); 218 EXPECT_FALSE(focus_changed_);
219 controller_->CloseBubble(); 219 controller_->CloseBubble();
220 } 220 }
221 221
222 } // namespace speech 222 } // namespace speech
OLDNEW
« no previous file with comments | « chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc ('k') | chrome/browser/speech/tts_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698