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

Unified Diff: chrome/test/data/webui/webui_resource_browsertest.cc

Issue 1178783003: Add menuhide event to menu button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove initUIEvent. Created 5 years, 6 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/test/data/webui/menu_button_test.html ('k') | ui/webui/resources/js/cr/ui/menu_button.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/webui_resource_browsertest.cc
diff --git a/chrome/test/data/webui/webui_resource_browsertest.cc b/chrome/test/data/webui/webui_resource_browsertest.cc
index 6fe54c591a2949e9331b44f3d6b2e7d0e626d110..eb9f98be480e6168db9f8282bc6502da652cfac2 100644
--- a/chrome/test/data/webui/webui_resource_browsertest.cc
+++ b/chrome/test/data/webui/webui_resource_browsertest.cc
@@ -187,3 +187,14 @@ IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, ContextMenuHandlerTest) {
AddLibrary(IDR_WEBUI_JS_CR_UI_CONTEXT_MENU_HANDLER);
RunTest(base::FilePath(FILE_PATH_LITERAL("context_menu_handler_test.html")));
}
+
+IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, MenuButtonTest) {
+ AddLibrary(IDR_WEBUI_JS_ASSERT);
+ AddLibrary(IDR_WEBUI_JS_EVENT_TRACKER);
+ AddLibrary(IDR_WEBUI_JS_CR);
+ AddLibrary(IDR_WEBUI_JS_CR_UI);
+ AddLibrary(IDR_WEBUI_JS_CR_UI_POSITION_UTIL);
+ AddLibrary(IDR_WEBUI_JS_CR_UI_MENU_BUTTON);
+ AddLibrary(IDR_WEBUI_JS_CR_UI_MENU);
+ RunTest(base::FilePath(FILE_PATH_LITERAL("menu_button_test.html")));
+}
« no previous file with comments | « chrome/test/data/webui/menu_button_test.html ('k') | ui/webui/resources/js/cr/ui/menu_button.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698