Skip to content

Commit

Permalink
Revert "Enable getUserMedia(). Part of fixes for electron#31."
Browse files Browse the repository at this point in the history
Now the getUserMedia is implemented in brightray.

This reverts commit f26db5c.

Conflicts:
	atom.gyp
  • Loading branch information
zcbenz committed Aug 1, 2013
1 parent 51cf1db commit d888f5c
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 391 deletions.
4 changes: 0 additions & 4 deletions atom.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@
'browser/file_dialog.h',
'browser/file_dialog_mac.mm',
'browser/file_dialog_win.cc',
'browser/media/media_capture_devices_dispatcher.cc',
'browser/media/media_capture_devices_dispatcher.h',
'browser/media/media_stream_devices_controller.cc',
'browser/media/media_stream_devices_controller.h',
'browser/message_box.h',
'browser/message_box_mac.mm',
'browser/message_box_win.cc',
Expand Down
5 changes: 0 additions & 5 deletions browser/atom_browser_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "browser/atom_browser_client.h"

#include "browser/atom_browser_main_parts.h"
#include "browser/media/media_capture_devices_dispatcher.h"
#include "webkit/glue/webpreferences.h"

namespace atom {
Expand Down Expand Up @@ -38,10 +37,6 @@ void AtomBrowserClient::OverrideWebkitPrefs(
prefs->allow_running_insecure_content = true;
}

content::MediaObserver* AtomBrowserClient::GetMediaObserver() {
return MediaCaptureDevicesDispatcher::GetInstance();
}

bool AtomBrowserClient::ShouldSwapProcessesForNavigation(
content::SiteInstance* site_instance,
const GURL& current_url,
Expand Down
1 change: 0 additions & 1 deletion browser/atom_browser_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ class AtomBrowserClient : public brightray::BrowserClient {
virtual void OverrideWebkitPrefs(content::RenderViewHost* render_view_host,
const GURL& url,
WebPreferences* prefs) OVERRIDE;
virtual content::MediaObserver* GetMediaObserver() OVERRIDE;
virtual bool ShouldSwapProcessesForNavigation(
content::SiteInstance* site_instance,
const GURL& current_url,
Expand Down
157 changes: 0 additions & 157 deletions browser/media/media_capture_devices_dispatcher.cc

This file was deleted.

78 changes: 0 additions & 78 deletions browser/media/media_capture_devices_dispatcher.h

This file was deleted.

86 changes: 0 additions & 86 deletions browser/media/media_stream_devices_controller.cc

This file was deleted.

Loading

0 comments on commit d888f5c

Please sign in to comment.