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

Unified Diff: chrome/browser/ui/website_settings/mock_permission_prompt_factory.h

Issue 2385033002: Hookup the plugin placeholder to the Flash permission prompt (Closed)
Patch Set: Hookup the plugin placeholder to the Flash permission prompt Created 4 years, 2 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/browser/plugins/plugin_observer.cc ('k') | chrome/test/data/permissions/flash.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/website_settings/mock_permission_prompt_factory.h
diff --git a/chrome/browser/ui/website_settings/mock_permission_prompt_factory.h b/chrome/browser/ui/website_settings/mock_permission_prompt_factory.h
index e09ee62591fecc5567d629dde58cc1b12ab7f3ca..83db513cd24e6c4a759f76afe202169c1e80209c 100644
--- a/chrome/browser/ui/website_settings/mock_permission_prompt_factory.h
+++ b/chrome/browser/ui/website_settings/mock_permission_prompt_factory.h
@@ -41,6 +41,10 @@ class MockPermissionPromptFactory {
response_type_ = type;
}
+ PermissionRequestManager::AutoResponseType response_type() {
+ return response_type_;
+ }
+
// If the current view is visible.
bool is_visible();
// Number of times |Show| was called on any bubble.
« no previous file with comments | « chrome/browser/plugins/plugin_observer.cc ('k') | chrome/test/data/permissions/flash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698