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

Side by Side Diff: chrome/browser/ui/libgtkui/select_file_dialog_interactive_uitest.cc

Issue 2453243002: Gtk3 UI: Rename files in libgtkui containing gtk2 in their name (Closed)
Patch Set: Fix git cl format mistake Created 4 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/macros.h" 5 #include "base/macros.h"
6 #include "chrome/browser/ui/browser.h" 6 #include "chrome/browser/ui/browser.h"
7 #include "chrome/browser/ui/browser_window.h" 7 #include "chrome/browser/ui/browser_window.h"
8 #include "chrome/browser/ui/chrome_select_file_policy.h" 8 #include "chrome/browser/ui/chrome_select_file_policy.h"
9 #include "chrome/browser/ui/libgtkui/select_file_dialog_impl_gtk2.h" 9 #include "chrome/browser/ui/libgtkui/select_file_dialog_impl_gtk.h"
10 #include "chrome/browser/ui/view_ids.h" 10 #include "chrome/browser/ui/view_ids.h"
11 #include "chrome/test/base/in_process_browser_test.h" 11 #include "chrome/test/base/in_process_browser_test.h"
12 #include "chrome/test/base/interactive_test_utils.h" 12 #include "chrome/test/base/interactive_test_utils.h"
13 #include "chrome/test/base/ui_test_utils.h" 13 #include "chrome/test/base/ui_test_utils.h"
14 #include "net/test/embedded_test_server/embedded_test_server.h" 14 #include "net/test/embedded_test_server/embedded_test_server.h"
15 #include "ui/shell_dialogs/select_file_dialog.h" 15 #include "ui/shell_dialogs/select_file_dialog.h"
16 #include "ui/views/test/widget_test.h" 16 #include "ui/views/test/widget_test.h"
17 #include "ui/views/widget/widget.h" 17 #include "ui/views/widget/widget.h"
18 18
19 using BrowserSelectFileDialogTest = InProcessBrowserTest; 19 using BrowserSelectFileDialogTest = InProcessBrowserTest;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 file_picker.Close(); 104 file_picker.Close();
105 105
106 // Run a nested loop until the browser window becomes active. 106 // Run a nested loop until the browser window becomes active.
107 views::test::WidgetActivationWaiter wait_active(widget, true); 107 views::test::WidgetActivationWaiter wait_active(widget, true);
108 wait_active.Wait(); 108 wait_active.Wait();
109 109
110 ui_test_utils::ClickOnView(browser(), VIEW_ID_TAB_CONTAINER); 110 ui_test_utils::ClickOnView(browser(), VIEW_ID_TAB_CONTAINER);
111 EXPECT_TRUE(browser()->window()->IsActive()); 111 EXPECT_TRUE(browser()->window()->IsActive());
112 } 112 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/libgtkui/select_file_dialog_impl_gtk2.cc ('k') | chrome/browser/ui/libgtkui/skia_utils_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698