Add observers for managed user list data changes.

Update the list of supervised users in the import overlay
when the avatar of a supervised user is changed, or a new supervised user is created.

BUG=339060
TBR=bauerb@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251393 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 251393
Revert 251191 "Move the logic to update bounds for show type fro..."

> Move the logic to update bounds for show type from WorkspaceLayoutManager to DefaultState
> 
> * Introduced WindowStateObserver::{Pre|Post}WindowShowTypeChange
>  We had implicit dependency between OnWindowShowTypeChanged implementations. This clearly separate the things that should happen before and after the window's bounds is updated.
> 
> This is another step to introduce state machine.
> 
> BUG=318325
> TEST=no functional change. all tests should pass.
> TBR=benwells@chromium.org
> 
> Review URL: https://codereview.chromium.org/149303003

This caused a failure on this bot:
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%282%29/builds/10345/steps/browser_tests/logs/ActivateAfterSessionRestore

Here's the output:

[ RUN      ] ShelfAppBrowserTest.ActivateAfterSessionRestore
[3936:3936:0214/084215:8917601186:ERROR:audio_manager_pulse.cc(251)]
Failed to connect to the context.  Error: Connection refused
Xlib:  extension "RANDR" missing on display ":9".
[7:7:0214/084217:WARNING:sandbox_linux.cc(55)] Activated seccomp-bpf
sandbox for process type: renderer.
[3977:3977:0214/164217:WARNING:sandbox_linux.cc(55)] Activated
seccomp-bpf sandbox for process type: gpu-process.
[3936:3936:0214/084218:8920849411:FATAL:window_state.cc(72)] Check
failed: false. No WMEvent defined for the show type:4
 [0x7f3255e5766c] base::debug::StackTrace::StackTrace()
 [0x7f3255ec617d] logging::LogMessage::~LogMessage()
 [0x7f32530bfa0b] ash::wm::(anonymous
 namespace)::WMEventFromShowState()
 [0x7f32530c0953] ash::wm::WindowState::OnWindowPropertyChanged()
 [0x7f324fe98662] aura::Window::SetPropertyInternal()
 [0x7f324fe6e5f1] aura::Window::SetProperty\u003C>()
 [0x7f32502503b3] views::NativeWidgetAura::InitNativeWidget()
 [0x7f3250258a21] views::Widget::Init()
 [0x000002c9a18c] BrowserFrame::InitBrowserFrame()
 [0x000002ca62cd] BrowserWindow::CreateBrowserWindow()
 [0x000002ba06a0] (anonymous namespace)::CreateBrowserWindow()
 [0x000002ba18c4] Browser::Browser()
 [0x0000014d986c]
 ShelfAppBrowserTest_ActivateAfterSessionRestore_Test::RunTestOnMainThread()
 [0x0000028f1208] InProcessBrowserTest::RunTestOnMainThreadLoop()
 [0x0000014e2ead] ShelfAppBrowserTest::RunTestOnMainThreadLoop()
 [0x0000047f4503]
 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop()
 [0x0000047f4f72] base::internal::RunnableAdapter\u003C>::Run()
 [0x0000047f4ebd] base::internal::InvokeHelper\u003C>::MakeItSo()
 [0x0000047f4de3] base::internal::Invoker\u003C>::Run()
 [0x000000c245d5] base::Callback\u003C>::Run()
 [0x000004a9a7f3] ChromeBrowserMainParts::PreMainMessageLoopRunImpl()
 [0x000004a98c38] ChromeBrowserMainParts::PreMainMessageLoopRun()
 [0x00000408fd81]
 chromeos::ChromeBrowserMainPartsChromeos::PreMainMessageLoopRun()
 [0x7f324800fd18] content::BrowserMainLoop::PreMainMessageLoopRun()
 [0x7f324801756e] base::internal::RunnableAdapter\u003C>::Run()
 [0x7f3248017164] base::internal::InvokeHelper\u003C>::MakeItSo()
 [0x7f3248016b31] base::internal::Invoker\u003C>::Run()
 [0x7f32483d8cf9] base::Callback\u003C>::Run()
 [0x7f324868587e] content::StartupTaskRunner::RunAllTasksNow()
 [0x7f324800f42e] content::BrowserMainLoop::CreateStartupTasks()
 [0x7f3248018046] content::BrowserMainRunnerImpl::Initialize()
 [0x7f324800ba0f] content::BrowserMain()
 [0x0000047f4469] content::BrowserTestBase::SetUp()
 [0x0000028f0380] InProcessBrowserTest::SetUp()
 [0x000001143b2f] ExtensionBrowserTest::SetUp()
 [0x000002a24f2c]
 testing::internal::HandleSehExceptionsInMethodIfSupported\u003C>()
 [0x000002a21109]
 testing::internal::HandleExceptionsInMethodIfSupported\u003C>()
 [0x000002a15bcb] testing::Test::Run()
 [0x000002a16246] testing::TestInfo::Run()
 [0x000002a167a1] testing::TestCase::Run()
 [0x000002a1b213] testing::internal::UnitTestImpl::RunAllTests()
 [0x000002a260d7]
 testing::internal::HandleSehExceptionsInMethodIfSupported\u003C>()
 [0x000002a21e8f]
 testing::internal::HandleExceptionsInMethodIfSupported\u003C>()
 [0x000002a1a201] testing::UnitTest::Run()
 [0x0000029131d3] RUN_ALL_TESTS()
 [0x000002912cec] base::TestSuite::Run()
 [0x0000028edcbb] (anonymous
 namespace)::ChromeTestLauncherDelegate::RunTestSuite()
 [0x000004846ddf] content::LaunchTests()
 [0x0000028ee00c] LaunchChromeTests()
 [0x0000016c75ca] main
 [0x7f32437e176d] __libc_start_main
 [0x000000b7f549] \u003Cunknown>

TBR=oshima@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251394 0039d316-1c4b-4281-b951-d872f2087c98
NaCl: Remove references to a never-finished ARM Thumb sandbox

I removed the "target_arm_thumb2" flag on the NaCl side, so this
change is necessary to update nacl_revision in DEPS.

Note that NaCl trusted code can still contain some Thumb code.

BUG=http://code.google.com/p/nativeclient/issues/detail?id=2224
TEST=nacl_integration
R=dschuff@chromium.org

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

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