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

Side by Side Diff: chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/ui/views/translate/translate_bubble_view.h" 5 #include "chrome/browser/ui/views/translate/translate_bubble_view.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/chrome_notification_types.h" 10 #include "chrome/browser/chrome_notification_types.h"
10 #include "chrome/browser/translate/cld_data_harness.h" 11 #include "chrome/browser/translate/cld_data_harness.h"
11 #include "chrome/browser/translate/cld_data_harness_factory.h" 12 #include "chrome/browser/translate/cld_data_harness_factory.h"
12 #include "chrome/browser/ui/browser.h" 13 #include "chrome/browser/ui/browser.h"
13 #include "chrome/browser/ui/browser_commands.h" 14 #include "chrome/browser/ui/browser_commands.h"
14 #include "chrome/browser/ui/browser_tabstrip.h" 15 #include "chrome/browser/ui/browser_tabstrip.h"
15 #include "chrome/browser/ui/tabs/tab_strip_model.h" 16 #include "chrome/browser/ui/tabs/tab_strip_model.h"
16 #include "chrome/common/chrome_switches.h" 17 #include "chrome/common/chrome_switches.h"
17 #include "chrome/test/base/in_process_browser_test.h" 18 #include "chrome/test/base/in_process_browser_test.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 chrome::CloseWebContents(browser(), web_contents, false); 118 chrome::CloseWebContents(browser(), web_contents, false);
118 EXPECT_EQ(active_index, browser()->tab_strip_model()->active_index()); 119 EXPECT_EQ(active_index, browser()->tab_strip_model()->active_index());
119 EXPECT_EQ(1, browser()->tab_strip_model()->count()); 120 EXPECT_EQ(1, browser()->tab_strip_model()->count());
120 EXPECT_FALSE(TranslateBubbleView::GetCurrentBubble()); 121 EXPECT_FALSE(TranslateBubbleView::GetCurrentBubble());
121 122
122 // Close the last tab. 123 // Close the last tab.
123 chrome::CloseWebContents(browser(), 124 chrome::CloseWebContents(browser(),
124 browser()->tab_strip_model()->GetActiveWebContents(), 125 browser()->tab_strip_model()->GetActiveWebContents(),
125 false); 126 false);
126 } 127 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/translate/translate_bubble_view.cc ('k') | chrome/browser/ui/views/uninstall_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698