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

Unified Diff: chrome/browser/ui/views/website_settings/permission_prompt_impl.h

Issue 2258763002: Add a feature-controlled persistence checkbox to geolocation prompts on desktop Views platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-infobardelegate-clean
Patch Set: Address comments Created 4 years, 4 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
Index: chrome/browser/ui/views/website_settings/permission_prompt_impl.h
diff --git a/chrome/browser/ui/views/website_settings/permission_prompt_impl.h b/chrome/browser/ui/views/website_settings/permission_prompt_impl.h
index 7deae51902e0df68068e990bdc398c179f3ef465..c8e6fc955853a43ca9765ea87cf00f070bd095d5 100644
--- a/chrome/browser/ui/views/website_settings/permission_prompt_impl.h
+++ b/chrome/browser/ui/views/website_settings/permission_prompt_impl.h
@@ -37,7 +37,8 @@ class PermissionPromptImpl : public PermissionPrompt {
gfx::NativeWindow GetNativeWindow() override;
void Closing();
- void Toggle(int index, bool value);
+ void ToggleAccept(int index, bool value);
+ void TogglePersist(bool value);
void Accept();
void Deny();

Powered by Google App Engine
This is Rietveld 408576698