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

Unified Diff: chrome/browser/ui/test/test_browser_dialog.h

Issue 2899653002: Remove uses of FontList::Derive*(..) in views payments dialogs. (Closed)
Patch Set: hate you gcc Created 3 years, 7 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 | « no previous file | chrome/browser/ui/test/test_browser_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/test/test_browser_dialog.h
diff --git a/chrome/browser/ui/test/test_browser_dialog.h b/chrome/browser/ui/test/test_browser_dialog.h
index 0e9daa2012af90e72d74bb3f2b1c3a1d3c004792..66954716723ff16863f1332b193a4f40976e09c1 100644
--- a/chrome/browser/ui/test/test_browser_dialog.h
+++ b/chrome/browser/ui/test/test_browser_dialog.h
@@ -64,6 +64,13 @@ class TestBrowserDialog {
// Show the dialog corresponding to |name| and leave it open.
virtual void ShowDialog(const std::string& name) = 0;
+ // Whether to always close asynchronously using Widget::Close(). This covers
+ // codepaths relying on DialogDelegate::Close(), which isn't invoked by
+ // Widget::CloseNow(). Dialogs should support both, since the OS can initiate
+ // the destruction of dialogs, e.g., during logoff which bypass
+ // Widget::CanClose() and DialogDelegate::Close().
+ virtual bool AlwaysCloseAsynchronously();
+
private:
DISALLOW_COPY_AND_ASSIGN(TestBrowserDialog);
};
« no previous file with comments | « no previous file | chrome/browser/ui/test/test_browser_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698