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

Side by Side Diff: chrome/browser/ui/views/bookmarks/bookmark_editor_view_browsertest.cc

Issue 2743743003: GridLayout: Guard against layout queries while adding a view. (Closed)
Patch Set: Rebase for BUILD.gn conflict Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 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/views/bookmarks/bookmark_editor_view.h"
6
7 #include "chrome/browser/ui/bookmarks/bookmark_utils_desktop.h"
8 #include "chrome/browser/ui/test/test_browser_dialog.h"
9
10 // Test harness for integration tests using BookmarkEditorView.
11 class BookmarkEditorViewBrowserTest : public DialogBrowserTest {
12 public:
13 BookmarkEditorViewBrowserTest() {}
14
15 // DialogBrowserTest:
16 void ShowDialog(const std::string& name) override {
17 DCHECK_EQ("all_tabs", name);
18 chrome::ShowBookmarkAllTabsDialog(browser());
19 }
20
21 private:
22 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorViewBrowserTest);
23 };
24
25 // Shows the dialog for bookmarking all tabs. This shows a BookmarkEditorView
26 // dialog, with a tree view, where a user can rename and select a parent folder.
27 // Can be interactive when run with --gtest_filter=BrowserDialogTest.Invoke.
28 IN_PROC_BROWSER_TEST_F(BookmarkEditorViewBrowserTest, InvokeDialog_all_tabs) {
29 RunDialog();
30 }
OLDNEW
« no previous file with comments | « no previous file | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698