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

Unified Diff: chrome/browser/media/media_stream_capture_indicator.h

Issue 12843009: Replace screen capture confirmation infobar with a message box. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/media/media_stream_capture_indicator.h
diff --git a/chrome/browser/media/media_stream_capture_indicator.h b/chrome/browser/media/media_stream_capture_indicator.h
index fa4823120122587eb4e938621af5146c0fef40a8..a08797379a160e4fce6766ea4075bde31583cd94 100644
--- a/chrome/browser/media/media_stream_capture_indicator.h
+++ b/chrome/browser/media/media_stream_capture_indicator.h
@@ -11,6 +11,7 @@
#include <vector>
#include "base/memory/ref_counted.h"
+#include "content/public/browser/web_contents_delegate.h"
#include "content/public/common/media_stream_request.h"
#include "ui/base/models/simple_menu_model.h"
@@ -41,6 +42,12 @@ class MediaStreamCaptureIndicator
ui::Accelerator* accelerator) OVERRIDE;
virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
+ // Called to handle access request.
+ void RequestAccess(
+ content::WebContents* web_contents,
+ const content::MediaStreamRequest& request,
+ const content::MediaResponseCallback& callback);
+
// Called on IO thread when MediaStream opens new capture devices.
void CaptureDevicesOpened(int render_process_id,
int render_view_id,

Powered by Google App Engine
This is Rietveld 408576698