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

Unified Diff: content/browser/media/midi_dispatcher_host.h

Issue 642623005: [WebMIDI] Remove not needed CancelPermission IPC message. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: content/browser/media/midi_dispatcher_host.h
diff --git a/content/browser/media/midi_dispatcher_host.h b/content/browser/media/midi_dispatcher_host.h
index e1aef2a8c72c4ffd5599c1951fd5de53b4c68c5a..55a3ae5bf0f1cacf3950f4123556f36325d9b12e 100644
--- a/content/browser/media/midi_dispatcher_host.h
+++ b/content/browser/media/midi_dispatcher_host.h
@@ -22,6 +22,10 @@ class MidiDispatcherHost : public WebContentsObserver {
virtual ~MidiDispatcherHost();
// WebContentsObserver implementation.
+ virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) override;
+ virtual void DidNavigateAnyFrame(RenderFrameHost* render_frame_host,
+ const LoadCommittedDetails& details,
+ const FrameNavigateParams& params) override;
virtual bool OnMessageReceived(const IPC::Message& message,
RenderFrameHost* render_frame_host) override;
@@ -37,6 +41,7 @@ class MidiDispatcherHost : public WebContentsObserver {
int render_frame_id,
int bridge_id,
bool is_allowed);
+ void CancelPermissionRequestsForFrame(RenderFrameHost* render_frame_host);
struct PendingPermission {
PendingPermission(int render_process_id,
« no previous file with comments | « no previous file | content/browser/media/midi_dispatcher_host.cc » ('j') | content/browser/media/midi_dispatcher_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698