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

Unified Diff: chrome/browser/ui/find_bar/find_bar_host_browsertest.cc

Issue 326043002: Cleanup: Remove more dead GTK code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix accidental revert Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/browser_browsertest.cc ('k') | chrome/browser/ui/panels/docked_panel_collection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/find_bar/find_bar_host_browsertest.cc
===================================================================
--- chrome/browser/ui/find_bar/find_bar_host_browsertest.cc (revision 277810)
+++ chrome/browser/ui/find_bar/find_bar_host_browsertest.cc (working copy)
@@ -1382,14 +1382,7 @@
observer.Wait();
}
-// Tests that FindBar fits within a narrow browser window.
-// Flaky on Linux/GTK: http://crbug.com/136443.
-#if defined(TOOLKIT_GTK)
-#define MAYBE_FitWindow DISABLED_FitWindow
-#else
-#define MAYBE_FitWindow FitWindow
-#endif
-IN_PROC_BROWSER_TEST_F(FindInPageControllerTest, MAYBE_FitWindow) {
+IN_PROC_BROWSER_TEST_F(FindInPageControllerTest, FitWindow) {
Browser::CreateParams params(Browser::TYPE_POPUP, browser()->profile(),
browser()->host_desktop_type());
params.initial_bounds = gfx::Rect(0, 0, 250, 500);
@@ -1598,7 +1591,7 @@
// Now get the region of the plugin before the find bar is shown.
HWND hwnd = tab->GetNativeView()->GetHost()->GetAcceleratedWidget();
HWND child = NULL;
- EnumChildWindows(hwnd, EnumerateChildren,reinterpret_cast<LPARAM>(&child));
+ EnumChildWindows(hwnd, EnumerateChildren, reinterpret_cast<LPARAM>(&child));
RECT region_before, region_after;
int result = GetWindowRgnBox(child, &region_before);
« no previous file with comments | « chrome/browser/ui/browser_browsertest.cc ('k') | chrome/browser/ui/panels/docked_panel_collection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698