Initial integration of DOM login screen with existing infrastructure.

This CL integrates the work that has been done on the DOM based login screen with the work on refactoring the login infrastructure. This is a very preliminary CL and is intended to review the logistics of integration, so there are many things with the DOM screen itself are broken. The intent is to address any issues with the seam between the DOM login code and existing infrastructure. Issues related to functionality of the DOM login screen or integration with chromiumos will be addressed in following CLs. This CL is only included in touchui==1 and chromeos==1 builds and NOT the default login screen.

This CL has been tested on the desktop by adding --login-manger --login_screen=login --dom-login --stub-cros to cause chromium to come up with the login screen.You may need to use --login-profile also. It is known to be broken in chromiumos, due to integration issues with the window manager. This is currently being investigated.

I have added in a command line flag "--dom-login" that allows for using the DOM based login screen instead of the views based one. This screen is not very functional at the moment. The WebUI handling layer needed to be rewritten, so we are no longer using AuthenticatorFacade. There is an issue with commands not making it down to the login infrastucture layer at the moment, so shutting down and logging in off the record hang.

The support for chrome://login-container has been removed, because the login page's DOM no longer workers as a standalone window since it needs the login infrastructure. In addition you can access the login screen for development on the desktop as mentioned before, so it isn't needed.

Patch from Ryan Harrison <[email protected]>

BUG=none
TEST=manual


Review URL: http://codereview.chromium.org/6729018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79993 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index c2f0e86..5b4c98f2 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -469,6 +469,10 @@
         'browser/chromeos/login/cookie_fetcher.h',
         'browser/chromeos/login/cryptohome_op.cc',
         'browser/chromeos/login/cryptohome_op.h',
+        'browser/chromeos/login/dom_login_display.cc',
+        'browser/chromeos/login/dom_login_display.h',
+        'browser/chromeos/login/dom_login_display_host.cc',
+        'browser/chromeos/login/dom_login_display_host.h',
         'browser/chromeos/login/enterprise_enrollment_screen.cc',
         'browser/chromeos/login/enterprise_enrollment_screen.h',
         'browser/chromeos/login/enterprise_enrollment_view.cc',
@@ -3078,15 +3082,8 @@
         'browser/ui/webui/chromeos/imageburner_ui.h',
         'browser/ui/webui/chromeos/keyboard_overlay_ui.cc',
         'browser/ui/webui/chromeos/keyboard_overlay_ui.h',
-        'browser/ui/webui/chromeos/login/authenticator_facade.h',
-        'browser/ui/webui/chromeos/login/authenticator_facade_cros.cc',
-        'browser/ui/webui/chromeos/login/authenticator_facade_cros.h',
-        'browser/ui/webui/chromeos/login/authenticator_facade_cros_helpers.cc',
-        'browser/ui/webui/chromeos/login/authenticator_facade_cros_helpers.h',
         'browser/ui/webui/chromeos/login/login_ui.cc',
         'browser/ui/webui/chromeos/login/login_ui.h',
-        'browser/ui/webui/chromeos/login/login_container_ui.cc',
-        'browser/ui/webui/chromeos/login/login_container_ui.h',
         'browser/ui/webui/chromeos/login/login_ui_helpers.cc',
         'browser/ui/webui/chromeos/login/login_ui_helpers.h',
         'browser/ui/webui/chromeos/mobile_setup_ui.cc',
@@ -3377,6 +3374,7 @@
         ['touchui==0', {
           'sources/': [
             ['exclude', '^browser/chromeos/frame/dom_*'],
+            ['exclude', '^browser/chromeos/login/dom_*'],
             ['exclude', '^browser/webui/keyboard_ui.*'],
             ['exclude', '^browser/renderer_host/render_widget_host_view_views.*'],
             ['exclude', '^browser/ui/touch/*'],