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

Side by Side Diff: chrome/browser/views/find_bar_host_interactive_uitest.cc

Issue 200035: First cut at implementation of FindBar for views / gtk... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 5
6 #include "chrome/browser/view_ids.h" 6 #include "chrome/browser/view_ids.h"
7 #include "chrome/test/automation/browser_proxy.h" 7 #include "chrome/test/automation/browser_proxy.h"
8 #include "chrome/test/automation/window_proxy.h" 8 #include "chrome/test/automation/window_proxy.h"
9 #include "chrome/test/automation/tab_proxy.h" 9 #include "chrome/test/automation/tab_proxy.h"
10 #include "chrome/test/ui/ui_test.h" 10 #include "chrome/test/ui/ui_test.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 views::Event::EF_LEFT_BUTTON_DOWN)); 86 views::Event::EF_LEFT_BUTTON_DOWN));
87 ::Sleep(kActionDelayMs); 87 ::Sleep(kActionDelayMs);
88 int focused_view_id; 88 int focused_view_id;
89 EXPECT_TRUE(window->GetFocusedViewID(&focused_view_id)); 89 EXPECT_TRUE(window->GetFocusedViewID(&focused_view_id));
90 EXPECT_EQ(VIEW_ID_LOCATION_BAR, focused_view_id); 90 EXPECT_EQ(VIEW_ID_LOCATION_BAR, focused_view_id);
91 91
92 // This used to crash until bug 1303709 was fixed. 92 // This used to crash until bug 1303709 was fixed.
93 EXPECT_TRUE(window->SimulateOSKeyPress(VK_ESCAPE, 0)); 93 EXPECT_TRUE(window->SimulateOSKeyPress(VK_ESCAPE, 0));
94 ::Sleep(kActionDelayMs); 94 ::Sleep(kActionDelayMs);
95 } 95 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698