Remove duplicated code in favor of IsRendererDebugURL.

BUG=none
TEST=chrome://kill and javascript: URLs still work.
R=nasko@chromium.org

Review URL: https://codereview.chromium.org/160743002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250871 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250871
Tabs being screen-captured will fullscreen within their tab contents area.

Note: This change in behavior only applies when the --embed-flash-fullscreen experimental flag is enabled.

This change adds additional logic to FullscreenController to prevent the browser window from entering fullscreen if a tab is being screen-captured.  This allows the user to retain control of their desktop to work in other browser tabs or applications while the fullscreen view is displayed on a remote screen (e.g., a Chromecast receiver).

Furthermore, if a user switches to a different tab, FullscreenController will set the size of the hidden view to the video resolution of the capture.  This is both a quality and performance improvement as harmful scaling and letterboxing can be skipped.

BUG=256870
TEST=New FullscreenController state tests.  Ran all disabled FullscreenControllerInteractiveTests (in interactive_ui_tests).  Also confirmed all new functionality manually.

Review URL: https://codereview.chromium.org/158253002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250872 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250872