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

Side by Side Diff: chrome/browser/ui/cocoa/translate/translate_bubble_controller_unittest.mm

Issue 151283006: Mac OS X: Show the Translate icon on Omnibox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue-307352-translate-bubble-2
Patch Set: Nico's review Created 6 years, 10 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
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/ui/cocoa/translate/translate_bubble_controller.h"
6
7 #import "chrome/browser/ui/browser.h"
8 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
9 #import "chrome/browser/ui/cocoa/cocoa_profile_test.h"
10 #include "chrome/common/url_constants.h"
11
12 @interface TranslateBubbleController (ForTests)
13
14 - (id)initWithBrowserWindowController:(BrowserWindowController*)controller
15 model:(scoped_ptr<TranslateBubbleModel>)model
16 webContents:(content::WebContents*)webContents;
17
18 @end
19
20 class TranslateBubbleControllerTest : public CocoaProfileTest {
21 public:
22 virtual void SetUp() OVERRIDE {
23 CocoaProfileTest::SetUp();
24 }
25
26 virtual void TearDown() OVERRIDE {
27 CocoaProfileTest::TearDown();
28 }
29 };
30
31 TEST_F(TranslateBubbleControllerTest, Show) {
groby-ooo-7-16 2014/02/11 00:43:55 Please do add this test. See e.g. new_credit_card_
hajimehoshi 2014/02/25 09:31:07 Done.
32 // fixme: Implement the test to show the bubble and check the state.
33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698