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

Unified Diff: chrome/browser/chromeos/login/ui/webui_login_view.h

Issue 2696703006: Move media permission checking logic for ChromeOS login pages (Closed)
Patch Set: Move media permission checking logic for ChromeOS login pages Created 3 years, 10 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/chromeos/login/ui/webui_login_view.h
diff --git a/chrome/browser/chromeos/login/ui/webui_login_view.h b/chrome/browser/chromeos/login/ui/webui_login_view.h
index 9c306363697b39b595282badbeb74f4d6cf969f0..8c13478d42f40de26776fb68c55def6f6825896e 100644
--- a/chrome/browser/chromeos/login/ui/webui_login_view.h
+++ b/chrome/browser/chromeos/login/ui/webui_login_view.h
@@ -56,6 +56,9 @@ class WebUILoginView : public views::View,
// Internal class name.
static const char kViewClassName[];
+ // Returns true if the given WebContentsDelegate is a WebUILoginView.
+ static bool IsWebUILoginView(const content::WebContentsDelegate* delegate);
achuithb 2017/02/16 09:05:38 Let's not do this here. You can get WebUILoginVie
raymes 2017/02/16 10:36:14 I see - so there is only ever one of these around?
achuithb 2017/02/16 10:38:49 Yup, there's only one
raymes 2017/02/21 01:29:55 Done.
raymes 2017/02/21 01:29:55 Done.
+
explicit WebUILoginView(const WebViewSettings& settings);
~WebUILoginView() override;

Powered by Google App Engine
This is Rietveld 408576698