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

Unified Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 12995025: [Mac] DownloadShelf should be notified when autoclosing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: + NSTrackingInVisibleRect Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/nibs/DownloadShelf.xib ('k') | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index ce791d5ea52547121d24852f64fb255112dfc6d2..db219533f6f48b3468a8ccbc374ba2f3d3b879cf 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -2704,7 +2704,7 @@ void TestingAutomationProvider::SetDownloadShelfVisibleJSON(
if (is_visible) {
browser->window()->GetDownloadShelf()->Show();
} else {
- browser->window()->GetDownloadShelf()->Close();
+ browser->window()->GetDownloadShelf()->Close(DownloadShelf::AUTOMATIC);
}
reply.SendSuccess(NULL);
}
« no previous file with comments | « chrome/app/nibs/DownloadShelf.xib ('k') | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698