| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_MIDI_DISPATCHER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_MIDI_DISPATCHER_HOST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_MIDI_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_MIDI_DISPATCHER_HOST_H_ |
| 7 | 7 |
| 8 #include "content/public/browser/browser_message_filter.h" | 8 #include "content/public/browser/browser_message_filter.h" |
| 9 | 9 |
| 10 class GURL; | 10 class GURL; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 private: | 31 private: |
| 32 void OnRequestSysExPermission(int render_view_id, | 32 void OnRequestSysExPermission(int render_view_id, |
| 33 int bridge_id, | 33 int bridge_id, |
| 34 const GURL& origin, | 34 const GURL& origin, |
| 35 bool user_gesture); | 35 bool user_gesture); |
| 36 void OnCancelSysExPermissionRequest(int render_view_id, | 36 void OnCancelSysExPermissionRequest(int render_view_id, |
| 37 int bridge_id, | 37 int bridge_id, |
| 38 const GURL& requesting_frame); | 38 const GURL& requesting_frame); |
| 39 void WasSysExPermissionGranted(int render_view_id, | 39 void WasSysExPermissionGranted(int render_view_id, |
| 40 int bridge_id, | 40 int bridge_id, |
| 41 bool success); | 41 bool is_allowed); |
| 42 | 42 |
| 43 int render_process_id_; | 43 int render_process_id_; |
| 44 BrowserContext* browser_context_; | 44 BrowserContext* browser_context_; |
| 45 | 45 |
| 46 DISALLOW_COPY_AND_ASSIGN(MidiDispatcherHost); | 46 DISALLOW_COPY_AND_ASSIGN(MidiDispatcherHost); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace content | 49 } // namespace content |
| 50 | 50 |
| 51 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MIDI_DISPATCHER_HOST_H_ | 51 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MIDI_DISPATCHER_HOST_H_ |
| OLD | NEW |