summaryrefslogtreecommitdiffstats
path: root/ash
Commit message (Collapse)AuthorAgeFilesLines
* Trigger NetworkConnectionHandler callbacks on success or failurestevenjb@chromium.org2013-05-319-76/+200
| | | | | | | | | | | | | | | | | | | This CL triggers waits for the network state to change before triggering success or failure callbacks in NetworkConnectionHandler. Notifications are triggered on success or failure without requiring the NetworkStateHandler connecting_network() hack. It also separates the enable flag from NetworkConfigurationHandler since enabling that has different artifacts. BUG=243899 For ash.gyp: TBR=gspencer@chromium.org Review URL: https://codereview.chromium.org/16123011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203501 0039d316-1c4b-4281-b951-d872f2087c98
* Call OpenAsh before Profile Init and CreateLauncher() afterstevenjb@chromium.org2013-05-314-19/+28
| | | | | | | | | | | | | | | This partially undoes the changes from https://chromiumcodereview.appspot.com/15702004 Rather than initializing Ash after Profile Init, initialize Ash first and postpone CreateLauncher() and any other calls that may depend on GetDefaultProfile() until after profiles have been initialized. BUG=245055 Review URL: https://chromiumcodereview.appspot.com/16229008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203454 0039d316-1c4b-4281-b951-d872f2087c98
* Convert NetworkMenu to use NetworkStateHandlerstevenjb@chromium.org2013-05-312-9/+35
| | | | | | | | | | | | | | This cleans up the separators and moves Searching/Initializing messages to match the status area. Additionally it removes Lock/IsLocked and related code from NetworkLibrary. This code was designed to prevent enabling / disabling a device during activation, but was only used in NetworkMenu which is only used in the Login UI which does not include activation. BUG=167231 R=gspencer@chromium.org, pneubeck@chromium.org Review URL: https://codereview.chromium.org/15486008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203451 0039d316-1c4b-4281-b951-d872f2087c98
* Updating XTBs based on .GRDs from branch 1500laforge@chromium.org2013-05-3152-56/+628
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203448 0039d316-1c4b-4281-b951-d872f2087c98
* Use base::MessageLoop in more files.xhwang@chromium.org2013-05-302-2/+2
| | | | | | | | | | | These are either missed in the first pass, or added after the first pass. TBR=thestig@chromium.org BUG=236029 Review URL: https://codereview.chromium.org/16092013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203259 0039d316-1c4b-4281-b951-d872f2087c98
* Move NetworkStateNotifier to SystemTrayNotifierstevenjb@chromium.org2013-05-3010-47/+75
| | | | | | | | | | | | | | | This is some prep work for issue 243899. Since we might have multiple TrayNetwork instances, NetworkStateNotifier needs to be owned by something with a single instance. SystemTrayNotifier seems like a good candidate since it is owned by ash::Shell. BUG=243899 For ash.gyp: TBR=jennyz@chromium.org Review URL: https://codereview.chromium.org/15974012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203230 0039d316-1c4b-4281-b951-d872f2087c98
* Rename SessionStateController -> LockStateController.nkostylev@chromium.org2013-05-3017-347/+346
| | | | | | | | | | | | | | | | | | | Now that we have SessionStateDelegate which covers more aspects of the session than just lock/unlock/shut down animations makes sense to rename lock animation related classes. SessionStateController -> LockStateController SessionStateControllerImpl2 > LockStateControllerImpl2 SessionStateObserver > LockStateObserver SessionStateObserver will be used as observer for SessionStateDelegate for things like active user changed etc. NOT renaming SessionStateControllerImpl since it is a legacy implementation and will removed soon. BUG=180903 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/15974008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203193 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash when JS alert from background page appears during lock screendpolukhin@chromium.org2013-05-302-8/+35
| | | | | | | | | | | | + Added test that caused crash without changes in ash/wm/stacking_controller.cc + Changes in chrome/browser/ui/views/frame/browser_view.cc prevents stealing focus loop BUG=226141 TEST=ShellTest.CreateLockScreenModalWindow Review URL: https://chromiumcodereview.appspot.com/15690015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203191 0039d316-1c4b-4281-b951-d872f2087c98
* Use CustomFrameViewAsh in ash::Shell::CreateDefaultNonClientFrameView.msw@chromium.org2013-05-301-3/+0
| | | | | | | | | | | | | | | | | | Misc Ash windows incorrectly get new style BubbleFrameViews. Revert new dialog style change to CreateDefaultNonClientFrameView. This reverts non-dialog Ash windows to the old CustomFrameViewAsh. See before/after pics at http://crbug.com/241810#c17 Dialogs get frames from DialogDelegate::CreateNonClientFrameView. ( where 'dialogs' are DialogDelegate[View] [subclass] instances ) BUG=241125,241810,166075 TEST=Only dialog windows have the new-style bubble border. No windows have a double-border issue. R=derat@chromium.org Review URL: https://chromiumcodereview.appspot.com/15685017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203092 0039d316-1c4b-4281-b951-d872f2087c98
* Turning on drag and drop from app list to launcher by defaultskuhne@chromium.org2013-05-303-6/+6
| | | | | | | | | BUG=242227 TEST=unittest Review URL: https://chromiumcodereview.appspot.com/15862014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203048 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary ui::CompositorTestSupportjamesr@chromium.org2013-05-304-7/+0
| | | | | | | | | | | | | | | The ui::CompositorTestSupport class existed to initialize WebKit since ui::Compositor depends on cc which used to depend on WebKit being initialized to function properly. cc no longer has this requirement, so this class is unnecessary. R=piman, sky Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202787 Review URL: https://chromiumcodereview.appspot.com/14744016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203042 0039d316-1c4b-4281-b951-d872f2087c98
* Use the source display's pixel (host) size as a mirror window's sizeoshima@chromium.org2013-05-2916-312/+551
| | | | | | | | | | | | | | so that we can copy texture as is. - store gfx::Display object for mirrored display instead of just id because we need one for mirror root window. - use host window's coordinate for mirror cursor window. BUG=239776 TEST=covered by unit tests Review URL: https://chromiumcodereview.appspot.com/15730006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202985 0039d316-1c4b-4281-b951-d872f2087c98
* Add stub icons for playpen.antrim@chromium.org2013-05-293-4/+3
| | | | | | | | | | | | | | +remove separators in creation dialogs. TBR=derat@chromium.org, nkostylev@chromium.org, oshima@chromium.org NOTRY=true Because of changes in binaries. BUG=229762 Review URL: https://codereview.chromium.org/16103006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202936 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Change video threshold from 300x225 to 333x250.derat@chromium.org2013-05-291-2/+2
| | | | | | | | | | | | | | This increases the minimum dimensions that ash uses when detecting video for the purpose of preventing the screen from being dimmed. It's unlikely that any given set of numbers will be perfect here, but this may help avoid some false positives caused by animated advertisements. BUG=171456 Review URL: https://chromiumcodereview.appspot.com/16174002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202817 0039d316-1c4b-4281-b951-d872f2087c98
* Unify ActivateCellular into network_connect.ccstevenjb@chromium.org2013-05-295-11/+0
| | | | | | | | | | BUG=242285 For ash delegate TBR=jamescook@chromium.org Review URL: https://chromiumcodereview.appspot.com/15937008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202807 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 202787 "Remove unnecessary ui::CompositorTestSupport"kinuko@chromium.org2013-05-294-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suspected to break Linux ChromeOS build http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Full/builds/19953/steps/compile/logs/stdio obj/ui/snapshot/test/snapshot_unittests.run_all_unittests.o:run_all_unittests.cc:function main:error: undefined reference to 'ui::test::CompositorTestSuite::CompositorTestSuite(int, char**)' obj/ui/snapshot/test/snapshot_unittests.run_all_unittests.o:run_all_unittests.cc:function main:error: undefined reference to 'ui::test::CompositorTestSuite::~CompositorTestSuite()' > Remove unnecessary ui::CompositorTestSupport > > The ui::CompositorTestSupport class existed to initialize WebKit since > ui::Compositor depends on cc which used to depend on WebKit being initialized > to function properly. cc no longer has this requirement, so this class is > unnecessary. > > R=piman, sky > > Review URL: https://chromiumcodereview.appspot.com/14744016 TBR=jamesr@chromium.org Review URL: https://codereview.chromium.org/15838015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202790 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary ui::CompositorTestSupportjamesr@chromium.org2013-05-294-7/+0
| | | | | | | | | | | | | The ui::CompositorTestSupport class existed to initialize WebKit since ui::Compositor depends on cc which used to depend on WebKit being initialized to function properly. cc no longer has this requirement, so this class is unnecessary. R=piman, sky Review URL: https://chromiumcodereview.appspot.com/14744016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202787 0039d316-1c4b-4281-b951-d872f2087c98
* Add help button to app launcher.calamity@chromium.org2013-05-291-0/+4
| | | | | | | | | | Goes to https://support.google.com/chrome/?p=cws_app_launcher. BUG=225068 Review URL: https://chromiumcodereview.appspot.com/14007002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202740 0039d316-1c4b-4281-b951-d872f2087c98
* Generate tap gesture with tap_count = 3 for triple-tapmiletus@chromium.org2013-05-291-1/+4
| | | | | | | | | | | | This is to make triple-tap select a paragraph. BUG=236402 TEST=triple-tap on a paragraph and make sure the whole paragraph is selected. Review URL: https://chromiumcodereview.appspot.com/16018006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202735 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled flaky DisplayManagerTest.Rotate on Windows.dharcourt@chromium.org2013-05-281-1/+7
| | | | | | | | | BUG=244466 TBR=oshima@chromium.org Review URL: https://chromiumcodereview.appspot.com/15659012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202649 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup legacy flags and switchesnkostylev@chromium.org2013-05-283-20/+0
| | | | | | | | | | | | | | | | | | | | kLoginScreen kLoginScreenSize kAshBootAnimationFunction2 kAshBootAnimationFunction3 kAshDisableBootAnimation2 + related flags See also https://gerrit.chromium.org/gerrit/#/c/56735/ BUG=244224 TEST=compiles, existing browser_tests and autotests work NOTRY=true Review URL: https://chromiumcodereview.appspot.com/16105005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202646 0039d316-1c4b-4281-b951-d872f2087c98
* Add NetworkHandler to own network handlers in src/chromeos/networkstevenjb@chromium.org2013-05-287-55/+64
| | | | | | | | | | | | | This is just some code cleanup and should have no behavior changes. BUG=239073 For webui/chromeos, browser/geolocation: TBR=nkostylev@chromium.org,joth@chromium.org Review URL: https://chromiumcodereview.appspot.com/14729017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202609 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce a single call to grab default browser on Win8 for tests.gab@chromium.org2013-05-282-10/+15
| | | | | | | | | | | | Required to avoid duplicating code for upcoming Ash browser_tests on Windows. Also avoids calling into OpenWithDialogController if the test is already default browser. BUG=179830 Review URL: https://chromiumcodereview.appspot.com/15755016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202599 0039d316-1c4b-4281-b951-d872f2087c98
* Move NotificationDelegate into message_center.dewittj@chromium.org2013-05-282-11/+15
| | | | | | | | | | | | | | | | | | This splits NotificationDelegate into two interfaces: * message_center::NotificationDelegate, and * ::NotificationDelegate. message_center::NotificationDelegate handles click events, whereas ::NotificationDelegate has a RenderViewHost that can be used to download images. This will support adding message_center::Notification objects directly, including all the binary bits of their image notifications. BUG=174164 Review URL: https://chromiumcodereview.appspot.com/15582004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202591 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Stop propagation of gesture events when drag drop is in progress.varunjain@chromium.org2013-05-272-7/+59
| | | | | | | | BUG=236493 Review URL: https://chromiumcodereview.appspot.com/15889009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202467 0039d316-1c4b-4281-b951-d872f2087c98
* Make RecreateLayer() order the old layer above the new layer.pkotwicz@chromium.org2013-05-271-3/+5
| | | | | | | | This is required to stack layers with LayerOwners below layers without LayerOwners as per sky@'s suggestion in https://codereview.chromium.org/15114002/ Review URL: https://chromiumcodereview.appspot.com/15932003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202457 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Add UMA action metrics for Ctrl-Shift-Qjamescook@chromium.org2013-05-273-2/+8
| | | | | | | | | | | BUG=none TEST=uma.googleplex.com gains a user action entry from Accel_Exit_First_Q and Accel_Exit_Second_Q R=sschmitz@chromium.org TBR=sschmitz@chromium.org Review URL: https://chromiumcodereview.appspot.com/15841006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202421 0039d316-1c4b-4281-b951-d872f2087c98
* Fix several audio issues:jennyz@chromium.org2013-05-261-15/+53
| | | | | | | | | | | | | | | 1. Audio button on ash tray UI does not work when user toggles it. 2. On ash tray bubble, if audio is muted, when user moves slider, audio is not unmuted. 3. Change CrasAudioHandler to update audio state, preference and notify observers for audio state change when user call CrasAudioHandler APIs to change the audio state, not when the dbus signals are received. 4. Move the code for adjusting unmute output volume to minimum unmute level out of SetOutputMute, and it is up to user to decide if they can call AdjustOutputVolumeToAudibleLevel to adjust the volume. 5. This also make the volume bubble shows up each time user presses mute, volume up, volume down button even if there is no audio state changes. BUG=242549,242964 TBR=jamescook@chromium.org Review URL: https://chromiumcodereview.appspot.com/15927004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202334 0039d316-1c4b-4281-b951-d872f2087c98
* Make the bluetooth device remain the same order in the ash tray list when ↵jennyz@chromium.org2013-05-251-12/+56
| | | | | | | | | | bluetooth devices are updated. BUG=231720 Review URL: https://chromiumcodereview.appspot.com/16041003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202297 0039d316-1c4b-4281-b951-d872f2087c98
* Make new logout overlay accessible when spoken feedback is turned onsschmitz@chromium.org2013-05-252-0/+14
| | | | | | | | | | | | | | Added accessibility support for spoken language to ExitWarningHandler (i.e. the popup when the user presses the quit shortcut [ctrl-shift-q]) BUG=242661 R=sky@chromium.org TEST=manual (Press Ctrl-Alt-Z to turn on spoken feedback, then Ctrl-Shift-Q) Review URL: https://chromiumcodereview.appspot.com/15701008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202291 0039d316-1c4b-4281-b951-d872f2087c98
* Mirror cursor using compositoroshima@chromium.org2013-05-259-15/+136
| | | | | | | | | | | * add command line flag to enable software mirroring BUG=239776 TEST=covered by test Review URL: https://chromiumcodereview.appspot.com/14731027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202277 0039d316-1c4b-4281-b951-d872f2087c98
* Add tray notification for managed user upon login.antrim@chromium.org2013-05-242-1/+63
| | | | | | | | | BUG=234677 R=derat@chromium.org Review URL: https://chromiumcodereview.appspot.com/15779005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202226 0039d316-1c4b-4281-b951-d872f2087c98
* Allow virtual keyboard window to access audio stream and speech api for ↵bshe@chromium.org2013-05-241-0/+6
| | | | | | | | | | | | | | | | | voice input BUG=238350 TEST= 1. navigate to chrome://flags 2. turn on virtual keyboard flag 3. login again. focus on any input box (virtual keyboard should show up) 4. press "mic" button, it should turn to green. 5. speak 6. result should be displayed in the input box Review URL: https://chromiumcodereview.appspot.com/14646041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202123 0039d316-1c4b-4281-b951-d872f2087c98
* Create MetroViewerProcessHost as a common base for ↵gab@chromium.org2013-05-246-124/+26
| | | | | | | | | | | | | | | | | TestMetroViewerProcessHost and ChromeMetroViewerProcessHost Bringing LaunchViewerAndWaitForConnection() to the common base so that ChromeMetroViewerProcessHost can also benefit from it (required for ash browser tests). BUG=179830 1st Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201806 Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=201966 R=robertshield@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/14629025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202113 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 201806 "Create MetroViewerProcessHost as a common base fo..."dbeam@chromium.org2013-05-246-26/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Broke ash_unittests on Win8 Aura: http://build.chromium.org/p/chromium.win/builders/Win8%20Aura/builds/6316 [ RUN ] AcceleratorControllerTest.Register [912:1324:0523/094526:1371217:INFO:test_metro_viewer_process_host.cc(42)] ash::test::TestMetroViewerProcessHost::OnSetTargetSurface, target_surface = 131580 [912:1324:0523/094526:1371233:FATAL:ash_test_base.cc(149)] Check failed: !metro_viewer_host_->closed_unexpectedly(). Backtrace: base::debug::StackTrace::StackTrace [0x100839F1+33] logging::LogMessage::~LogMessage [0x100F6FCE+94] ash::test::AshTestBase::TearDown [0x006DC397+471] testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,void> [0x007405FF+319] testing::Test::Run [0x0072A525+229] testing::TestInfo::Run [0x0072AF4D+221] testing::TestCase::Run [0x0072B71F+239] testing::internal::UnitTestImpl::RunAllTests [0x0073234D+701] testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,bool> [0x00741227+327] testing::UnitTest::Run [0x00730BB0+192] base::TestSuite::Run [0x00756AE0+240] main [0x0058AFA4+100] __tmainCRTStartup [0x0075BA6F+447] (f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c:555) mainCRTStartup [0x0075B89F+15] (f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c:371) BaseThreadInitThunk [0x76D78543+14] RtlInitializeExceptionChain [0x7775AC69+133] RtlInitializeExceptionChain [0x7775AC3C+88] (No symbol) [0x00000000] [912:1324:0523/094526:1371233:FATAL:ash_test_base.cc(149)] Check failed: !metro_viewer_host_->closed_unexpectedly(). Backtrace: base::debug::StackTrace::StackTrace [0x100839F1+33] logging::LogMessage::~LogMessage [0x100F6FCE+94] ash::test::AshTestBase::TearDown [0x006DC397+471] testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,void> [0x007405FF+319] testing::Test::Run [0x0072A525+229] testing::TestInfo::Run [0x0072AF4D+221] testing::TestCase::Run [0x0072B71F+239] testing::internal::UnitTestImpl::RunAllTests [0x0073234D+701] testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,bool> [0x00741227+327] testing::UnitTest::Run [0x00730BB0+192] base::TestSuite::Run [0x00756AE0+240] main [0x0058AFA4+100] __tmainCRTStartup [0x0075BA6F+447] (f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c:555) mainCRTStartup [0x0075B89F+15] (f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c:371) BaseThreadInitThunk [0x76D78543+14] RtlInitializeExceptionChain [0x7775AC69+133] RtlInitializeExceptionChain [0x7775AC3C+88] (No symbol) [0x00000000] > Create MetroViewerProcessHost as a common base for TestMetroViewerProcessHost and ChromeMetroViewerProcessHost > > Bringing LaunchViewerAndWaitForConnection() to the common base so that ChromeMetroViewerProcessHost can also benefit from it (required for ash browser tests). > > BUG=179830 > > Review URL: https://chromiumcodereview.appspot.com/14629025 TBR=gab@chromium.org Review URL: https://codereview.chromium.org/15966003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201966 0039d316-1c4b-4281-b951-d872f2087c98
* Vertically centering the user name for guest mode.skuhne@chromium.org2013-05-241-11/+14
| | | | | | | | | BUG=181079 TEST=visual Review URL: https://chromiumcodereview.appspot.com/15738017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201934 0039d316-1c4b-4281-b951-d872f2087c98
* Use double precision for touch event valuatormiletus@chromium.org2013-05-231-1/+1
| | | | | | | | | | | | | | Touch event's "Touch Timestamp" valuator loses precision if stored in float. So we change ExtractValuator() to store the extracted valuator in double type. BUG=None. TEST=Make sure the touch timestamp from Chrome side is exactly the same as they are set in kernel evdev. Review URL: https://chromiumcodereview.appspot.com/15792002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201890 0039d316-1c4b-4281-b951-d872f2087c98
* Move GPU device/driver info related code from content to gpu.zmo@chromium.org2013-05-232-2/+3
| | | | | | | | | | | | | | | | | | | | Try to reland r201380 with build fix. This has been suggested by gman, and agreed by kbr and jam, for the following reasons: 1) These are gpu related code, and are independent of content / browser, so putting them under gpu/ is the right thing to do conceptually. 2) This enables us to set up tests in various places with the correct blacklisting/driver_bug_workarounds information. Otherwise, for the moment, gpu/ has no visibility into content/ side, so we have to duplicate the driver_bug_workarounds code and hardwire them for testing purpose. This is going to cause a lot of bugs in the future, as we have the two pieces of code for the same thing (one for chrome and one for testing) and people will easily forget to update one or the other. As for this patch, I didn't change the logic, and try to minimize the refactoring. All improvements enabled by this relocation will be done in follow-up CLs. BUG=230477 TEST=tree TBR=apatrick@chromium.org, joi@chromium.org, kbr@chromium.org, piman@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/15745014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201875 0039d316-1c4b-4281-b951-d872f2087c98
* This CL create just a window which will be used to show oshima@chromium.org2013-05-2312-44/+546
| | | | | | | | | | | | | | | | | | | | | | | | | | the mirrored content of the source window. See the next steps for misc: * added debug+desktop only shortcut * rotating square display now update the root window. Next steps: * Mirror cursor * Modify OutputConfigurator to fallback to software mirror mode. * Scale the root window size for mirror window so that it has the same size as the source root window. * Copy texture from soruce window to dest window. * Handle device scale factor/cursor scaling. BUG=239776 TEST=covered by test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201618 Review URL: https://chromiumcodereview.appspot.com/15367003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201870 0039d316-1c4b-4281-b951-d872f2087c98
* Create MetroViewerProcessHost as a common base for ↵gab@chromium.org2013-05-236-125/+26
| | | | | | | | | | | | TestMetroViewerProcessHost and ChromeMetroViewerProcessHost Bringing LaunchViewerAndWaitForConnection() to the common base so that ChromeMetroViewerProcessHost can also benefit from it (required for ash browser tests). BUG=179830 Review URL: https://chromiumcodereview.appspot.com/14629025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201806 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 201799 "Revert 201786 "Added unit tests and cleanup for m..."thestig@chromium.org2013-05-238-33/+365
| | | | | | | | | | | | | | | | | | | | | | | > Revert 201786 "Added unit tests and cleanup for multilogin tray ..." > > > Added unit tests and cleanup for multilogin tray menu items > > > > The promised unit tests for the tray menu user additions. > > > > BUG=239201 > > TEST=unittests > > > > Review URL: https://chromiumcodereview.appspot.com/15741011 > > TBR=skuhne@chromium.org > > Review URL: https://codereview.chromium.org/15689006 TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/15798003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201800 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 201786 "Added unit tests and cleanup for multilogin tray ..."thestig@chromium.org2013-05-238-365/+33
| | | | | | | | | | | | | | | | | > Added unit tests and cleanup for multilogin tray menu items > > The promised unit tests for the tray menu user additions. > > BUG=239201 > TEST=unittests > > Review URL: https://chromiumcodereview.appspot.com/15741011 TBR=skuhne@chromium.org Review URL: https://codereview.chromium.org/15689006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201799 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing build stopperskuhne@google.com2013-05-231-1/+3
| | | | | | | | | BUG=- TBR=nkostylev@chromium.org Review URL: https://codereview.chromium.org/15884003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201798 0039d316-1c4b-4281-b951-d872f2087c98
* Added unit tests and cleanup for multilogin tray menu itemsskuhne@chromium.org2013-05-238-33/+365
| | | | | | | | | | | The promised unit tests for the tray menu user additions. BUG=239201 TEST=unittests Review URL: https://chromiumcodereview.appspot.com/15741011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201786 0039d316-1c4b-4281-b951-d872f2087c98
* This CL modifies the check that prevents shelf gestures from working inrharrison@chromium.org2013-05-233-18/+36
| | | | | | | | | | | | | | | | | | fullscreen mode so that it allows gestures during immersive mode. This also modifies the drag completion behaviour to keep the shelf in the correct state while immersive. BUG=chromium:224301 BUG=chromium:230039 TEST=Tested that swipe in/out works in immersive mode. Tested that transitioning between immersive and non-immersive doesn't break the shelf. Tested that swiping doesn't work in traditional fullscreen mode. Review URL: https://chromiumcodereview.appspot.com/14740012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201733 0039d316-1c4b-4281-b951-d872f2087c98
* Boot with extended mode.oshima@chromium.org2013-05-233-0/+11
| | | | | | | | | | | This is a stop-gap workaround for missing internal display. BUG=241868 TEST=manual Review URL: https://chromiumcodereview.appspot.com/15503003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201686 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 201618 because it broke cros bots and win-aura bot.sadrul@chromium.org2013-05-2312-538/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | > This CL create just a window which will be used to show > the mirrored content of the source window. See the next steps > for > > misc: > * added debug+desktop only shortcut > * rotating square display now update the root window. > > Next steps: > * Mirror cursor > * Modify OutputConfigurator to fallback to software mirror mode. > * Scale the root window size for mirror window so that > it has the same size as the source root window. > * Copy texture from soruce window to dest window. > * Handle device scale factor/cursor scaling. > > BUG=239776 > TEST=covered by test > > Review URL: https://chromiumcodereview.appspot.com/15367003 TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/15799002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201668 0039d316-1c4b-4281-b951-d872f2087c98
* Adding new general bubble error message consisting of icon, message and ↵skuhne@chromium.org2013-05-225-12/+344
| | | | | | | | | | | | | caption. Using this message for the multi signin user error case. There is still more to do: Unit tests & removal of test code. Beside that feature wise it is now fully functional as requested. BUG=239201 TEST=visual, multiple scenarios Review URL: https://chromiumcodereview.appspot.com/15329005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201627 0039d316-1c4b-4281-b951-d872f2087c98
* Rename message_center_constants to message_center_style.thakis@chromium.org2013-05-221-1/+1
| | | | | | | | | | | | No functionality change. Requested by dharcourt in https://codereview.chromium.org/15050006/ BUG=none TBR=dharcourt@chromium.org Review URL: https://codereview.chromium.org/15685007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201624 0039d316-1c4b-4281-b951-d872f2087c98
* This CL create just a window which will be used to show oshima@chromium.org2013-05-2212-44/+538
| | | | | | | | | | | | | | | | | | | | | | | | the mirrored content of the source window. See the next steps for misc: * added debug+desktop only shortcut * rotating square display now update the root window. Next steps: * Mirror cursor * Modify OutputConfigurator to fallback to software mirror mode. * Scale the root window size for mirror window so that it has the same size as the source root window. * Copy texture from soruce window to dest window. * Handle device scale factor/cursor scaling. BUG=239776 TEST=covered by test Review URL: https://chromiumcodereview.appspot.com/15367003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201618 0039d316-1c4b-4281-b951-d872f2087c98