Updated the finalized list of policies supported on iOS for M34.

BUG=275292

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251374 0039d316-1c4b-4281-b951-d872f2087c98
Remove unused welcome page strings.

TBR=newt
BUG=326023
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251375 0039d316-1c4b-4281-b951-d872f2087c98
Propagate engine ID to distinguish the event sender and avoid infinity event loop.

BUG=335406

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251376 0039d316-1c4b-4281-b951-d872f2087c98
Move root_window_host* in aura to window_tree_host*.

R=sky@chromium.org
TBR=sky@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251379 0039d316-1c4b-4281-b951-d872f2087c98
Adding a 'minutes' perf unit for nacl's build time.

NaCl uses 'minutes' to track the duration of builds.
Adding knowledge that shorter builds are better.

R=qyearsley@chromium.org
BUG=343607

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251381 0039d316-1c4b-4281-b951-d872f2087c98
event-rewrite: Clean up how events are rewritten.

Notable changes:
 * Make the EventRewriter a MessagePumpObserver. This is necessary to make sure
   that the event-rewrite happens before the event is dispatched.
 * Move the EventRewriter in chrome/browser/chromeos (and in chromeos namespace),
   since it does nothing on other platforms.
 * Get rid of the event-rewrite code from ash, since it just adds an extra layer
   of abstraction for no added value.

BUG=343639
R=derat@chromium.org, sky@chromium.org, stevenjb@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251382 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Show the "open in other desktop" dialog when the task is executed from the gallery.

Previously if the file is opened from the gallery, it does not hanlde the case
that the window is opened in the desktop of the running proifle.

This CL adds lines to handle the case in the gallery.

BUG=336093
TEST=Execute a file handler task from the gallery in the teleported window.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251383 0039d316-1c4b-4281-b951-d872f2087c98
Automatically repaint when a child view is added or going to be removed.

BUG=333173
TEST=Changing between tabs with translate infobars for different source languages should redraw the infobars.
R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251384 0039d316-1c4b-4281-b951-d872f2087c98
DevTools: by default, open devtools panel matching the layout test folder.

BUG=335790

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251387 0039d316-1c4b-4281-b951-d872f2087c98
Fix build error caused by r251365.

BUG=337426
TBR=glider@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251388 0039d316-1c4b-4281-b951-d872f2087c98
rAc - Change string for when libaddressinput rules are still downloading

BUG=340365

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251389 0039d316-1c4b-4281-b951-d872f2087c98
Remove unused method GetProfilePrefsPath().

BUG=343692

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251390 0039d316-1c4b-4281-b951-d872f2087c98
Setuid sandbox: exit(2) on SIGABRT

The setuid sandbox waits on its one child and then dies
afterwards.

When receiving SIGABRT, instead of dumping core, simply exit the
process. There is no interesting information to be gathered from
knowing that the process is inside waitid(2), one should look at
the child process instead.

This patch is in hope to reduce red herrings.

BUG=334345
TBR=jorgelo

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251391 0039d316-1c4b-4281-b951-d872f2087c98
[WebsiteSettings] Set view to null on manager to ensure no stale access.

R=leng@chromium.org, markusheintz@chromium.org
BUG=343234

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251392 0039d316-1c4b-4281-b951-d872f2087c98
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
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
Revert 251391 "Setuid sandbox: exit(2) on SIGABRT"

Failed on official build bots:

FAILED: /b/build/goma/gomacc cc -MMD -MF obj/sandbox/linux/suid/chrome_sandbox.sandbox.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DGOOGLE_CHROME_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_NSS=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DUSE_XI2_MT=2 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DUSE_UDEV -DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1 -DENABLE_MDNS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DOFFICIAL_BUILD -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -I../.. -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -g -std=gnu99 --sysroot=/b/build/slave/google-chrome-rel-linux_64/build/src/chrome/installer/linux/debian_wheezy_amd64-sysroot -O2 -fno-ident -fdata-sections -ffunction-sections -fno-unwind-tables -fno-asynchronous-unwind-tables   -c ../../sandbox/linux/suid/sandbox.c -o obj/sandbox/linux/suid/chrome_sandbox.sandbox.o
../../sandbox/linux/suid/sandbox.c: In function 'ExitWithErrorSignalHandler':
../../sandbox/linux/suid/sandbox.c:63:3: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result]
cc1: all warnings being treated as errors

http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux%20x64/builds/48305/steps/compile/logs/stdio

> Setuid sandbox: exit(2) on SIGABRT
> 
> The setuid sandbox waits on its one child and then dies
> afterwards.
> 
> When receiving SIGABRT, instead of dumping core, simply exit the
> process. There is no interesting information to be gathered from
> knowing that the process is inside waitid(2), one should look at
> the child process instead.
> 
> This patch is in hope to reduce red herrings.
> 
> BUG=334345
> TBR=jorgelo
> 
> Review URL: https://codereview.chromium.org/167293004

TBR=jln@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251396 0039d316-1c4b-4281-b951-d872f2087c98
[WebsiteSettings] Fix bug in permission bubble manager to alter showing state when bubble is closed.

This bug meant that subsequent calls to AddRequest wouldn't show the bubble, since the manager still believed it was being shown.

R=leng@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251397 0039d316-1c4b-4281-b951-d872f2087c98
Disable GpuFeatureTest.MultisamplingAllowed on the official bots

This test is broken because it doesn't take into account that this
feature may be disabled by the blacklist (it is disabled pre-10.8.3 on
basically all vendors). It's only not failing on the main waterfall
because those bots have all features disabled, which the test does
actually handle.

TBR=zmo@chromium.org
BUG=314745
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251398 0039d316-1c4b-4281-b951-d872f2087c98