This source file includes following definitions.
- IN_PROC_BROWSER_TEST_F
#include "chrome/browser/download/download_started_animation.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/in_process_browser_test.h"
class DownloadStartedAnimationTest : public InProcessBrowserTest {
public:
DownloadStartedAnimationTest() {
}
private:
DISALLOW_COPY_AND_ASSIGN(DownloadStartedAnimationTest);
};
IN_PROC_BROWSER_TEST_F(DownloadStartedAnimationTest,
InstantiateAndImmediatelyClose) {
content::WebContents* web_contents =
browser()->tab_strip_model()->GetActiveWebContents();
DownloadStartedAnimation::Show(web_contents);
chrome::CloseWindow(browser());
}