- 09 Sep, 2014 3 commits
-
-
habib.virji authored
Main message and sub message direction of the validation message can differ. Pass direction of the subMsg to allow text display accordingly. BUG=91638 R=jam, jamesr Review URL: https://codereview.chromium.org/391923006 Cr-Commit-Position: refs/heads/master@{#293819}
-
mek authored
Added an extra "effective extension" property to ScriptContext for this to still work correctly in about:blank iframes inside extension pages. BUG=395376 Review URL: https://codereview.chromium.org/498513002 Cr-Commit-Position: refs/heads/master@{#293818}
-
John Abd-El-Malek authored
Disable TwoClientBookmarksSyncTest.SC_MovingBMsFromBMBarToBMFolder and TwoClientBookmarksSyncTest.SC_MovingBMsFromBMFoldToBMBar since they flake on Windows. BUG=412169 TBR=rsimha@chromium.org Review URL: https://codereview.chromium.org/552093003 Cr-Commit-Position: refs/heads/master@{#293817}
-
- 08 Sep, 2014 37 commits
-
-
stevenjb authored
This CL does the following: * Eliminates auto connect glue code * Elim SetManaged* helpers * Converts StaticIPConfig, SavedIPConfig, and WebProxyAutoDiscoveryUrl properties from Shill to ONC * Uses ManagedNetworkConfigurationHandler::GetManagedProperties in internet_options_handler.cc to get (almost) all properites. The remaining properties will require additional translation and/or design BUG=279351 Review URL: https://codereview.chromium.org/509643003 Cr-Commit-Position: refs/heads/master@{#293816}
-
erikchen authored
It was an experimental feature that is no longer being actively developed. BUG=NONE Review URL: https://codereview.chromium.org/523233002 Cr-Commit-Position: refs/heads/master@{#293815}
-
jrummell authored
BUG=358271 TEST=EME browser tests pass Review URL: https://codereview.chromium.org/550933003 Cr-Commit-Position: refs/heads/master@{#293814}
-
tonyg authored
This saves about 6 idle wakeups on the top_10 idle energy benchmark. It can save up to 1/second in the general case. BUG=411488 Review URL: https://codereview.chromium.org/542353002 Cr-Commit-Position: refs/heads/master@{#293813}
-
csharp authored
cespy.dll is a LSP and preventing it from loading in Chrome prevents users from accessing the internet. BUG=399968 Review URL: https://codereview.chromium.org/545003006 Cr-Commit-Position: refs/heads/master@{#293812}
-
alekseys authored
BUG=397741 Review URL: https://codereview.chromium.org/535073005 Cr-Commit-Position: refs/heads/master@{#293811}
-
ericzeng authored
Change the divider between the popup header and the options page content from a box-shadow to a bottom-border, as suggested in UI review. BUG=411995 Review URL: https://codereview.chromium.org/546033002 Cr-Commit-Position: refs/heads/master@{#293810}
-
Brett Wilson authored
This makes templates behave like values when merging and duplicates are found. If the values are the same, allow them to collide. This happens when importing if multiple files import the same .gni file. R=scottmg@chromium.org Review URL: https://codereview.chromium.org/547063004 Cr-Commit-Position: refs/heads/master@{#293809}
-
Brett Wilson authored
This updates the targets that depend on these to also be test-only. BUG=http://crbug.com/412064 R=jamesr@chromium.org, tfarina@chromium.org Review URL: https://codereview.chromium.org/551933002 Cr-Commit-Position: refs/heads/master@{#293808}
-
lanwei authored
The bounding boxes of show press and tap gesture are the same right now, which are based on the touch start location and the largest radius seen before the show press gesture is sent. BUG=403747 Review URL: https://codereview.chromium.org/538653002 Cr-Commit-Position: refs/heads/master@{#293807}
-
hellner authored
libjingle: Removes all references to talk/sound. The current reference comes from cl 153321 where it was added under the flag enabled_libjingle_device_manager which is by default set to 0. The comment in that cl says it is to enable using this gyp file in the standalone build. This means that the code was never intended to be built for Chromium. Since that cl was committed the approach has changed. We are now creating new gyp files in the standalone build, containing parts of libjingle and phasing out libjingle.gyp one piece at a time. The files removed in this cl are part of (../webrtc's) sound.gyp which is not (and will not be) built in Chromium. The reason it is in webrtc is that libjingle and webrtc are being merged into one project. BUG=https://code.google.com/p/webrtc/issues/detail?id=3379 Review URL: https://codereview.chromium.org/532293002 Cr-Commit-Position: refs/heads/master@{#293806}
-
kalyan.kondapally authored
so that the same implementation can be used with Aura+Ozone on Linux. Review URL: https://codereview.chromium.org/490693003 Cr-Commit-Position: refs/heads/master@{#293805}
-
noms authored
If there's a single user in chrome://settings, you can navigate to chrome://settings/manageProfile to edit it (even though the UI doesn't always let you). In this case, however, we shouldn't display the add/remove desktop shortcut button in the manageProfile overlay (since the shortcut for single users is a non-profile generic Chrome shortcut) BUG=409735 TEST=Start Chrome. Ensure you only have one profile. Go to chrome://settings/manageProfile. There shouldn't be an add/remove shortcut button. Review URL: https://codereview.chromium.org/542843002 Cr-Commit-Position: refs/heads/master@{#293804}
-
estade authored
BUG=none Review URL: https://codereview.chromium.org/545303002 Cr-Commit-Position: refs/heads/master@{#293803}
-
stuartmorgan authored
App Store rules appear to be moving toward enforcing the format of CFBundleVerison on iOS, so this allows setting a custom plist key to store the full Chrome version instead. BUG=411302 Review URL: https://codereview.chromium.org/542223002 Cr-Commit-Position: refs/heads/master@{#293802}
-
mpcomplete authored
Also moved some generic TypeConverters to a separate file. BUG=403930 Review URL: https://codereview.chromium.org/540683002 Cr-Commit-Position: refs/heads/master@{#293801}
-
tsepez authored
Currently, destroying a PDFiumPage triggers an Unload() which can result in an access to other PDFiumPages. But these other pages may already have been destroyed as a previous element via STLDeleteElements(&pages_). Instead, unload all pages first, then destroy them all afterwards so that no access to other pages will be attempted after the destruction of the first one has begun. Move the STLDeleteElements() call to the bottom, to make it more closely mimic the ordering that might occur should pages_ someday be switched from vector to ScopedPtrVector or similar. BUG=384365 Review URL: https://codereview.chromium.org/544873002 Cr-Commit-Position: refs/heads/master@{#293800}
-
qinmin authored
BUG=411360 Review URL: https://codereview.chromium.org/550503002 Cr-Commit-Position: refs/heads/master@{#293799}
-
ccameron authored
This should address issues we are seeing with flickering content. BUG=408849 Review URL: https://codereview.chromium.org/547823003 Cr-Commit-Position: refs/heads/master@{#293798}
-
tdanderson authored
In RootView::DispatchGestureEvent(), use Event::Clone() to copy gesture events prior to processing and perform coordinate conversion of the events during targeting but before dispatch (so the location of the gesture event is in the coordinate space of the target). In preparation for removing RootView::DispatchGestureEvent(), also make the corresponding changes to EventProcessor::OnEventFromSource(). These changes are necessary to ensure that located events will be dispatched with their locations in the correct coordinate space in all situations (in particular, when an event is bubbling during an invocation of nested event-processing). BUG=411487 TEST=WidgetTest.GestureEventLocationWhileBubbling, ViewTargeterTest.GestureEventCoordinateConversion, modified ViewTargeterTest.ViewTargeterForGestureEvents Review URL: https://codereview.chromium.org/542323002 Cr-Commit-Position: refs/heads/master@{#293797}
-
boliu authored
BUG=396645 Review URL: https://codereview.chromium.org/557433002 Cr-Commit-Position: refs/heads/master@{#293796}
-
blink-deps-roller authored
https://chromium.googlesource.com/chromium/blink/+log/86ce4af33b763b24cf2365d8cd19a2ebade676c3..09bd97099a92cf983363f8db6c6c2178b0cd7c6a TBR=arv@chromium.org,keishi@chromium.org Review URL: https://codereview.chromium.org/557443002 Cr-Commit-Position: refs/heads/master@{#293795}
-
jam authored
BUG=412086 TBR=lfg@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/552013002 Cr-Commit-Position: refs/heads/master@{#293794}
-
armansito authored
This CL introduces util_unittest.cc, which acts as a place for current and future functions in util.h. BUG=411108 Review URL: https://codereview.chromium.org/552433002 Cr-Commit-Position: refs/heads/master@{#293793}
-
https://codereview.chromium.org/469993003Nico Weber authored
Speculative, to see if it helps with ==12563== WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x7f834414fd2c in views::DesktopWindowTreeHostX11::InitX11Window(views::Widget::InitParams const&) ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1164 #1 0x7f834414dc6e in views::DesktopWindowTreeHostX11::Init(aura::Window*, views::Widget::InitParams const&) ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:259 #2 0x7f83441408e9 in views::DesktopNativeWidgetAura::InitNativeWidget(views::Widget::InitParams const&) ui/views/widget/desktop_aura/desktop_native_widget_aura.cc:420 #3 0x7f834411722f in views::Widget::Init(views::Widget::InitParams const&) ui/views/widget/widget.cc:358 #4 0x7f834473bc8b in ChromeNativeAppWindowViews::InitializeDefaultWindow(extensions::AppWindow::CreateParams const&) chrome/browser/ui/views/apps/chrome_native_app_window_views.cc:231 #5 0x7f834473f52d in ChromeNativeAppWindowViews::InitializeWindow(extensions::AppWindow*, extensions::AppWindow::CreateParams const&) chrome/browser/ui/views/apps/chrome_native_app_window_views.cc:672 #6 0x7f834c3d8bbe in apps::NativeAppWindowViews::Init(extensions::AppWindow*, extensions::AppWindow::CreateParams const&) apps/ui/views/native_app_window_views.cc:46 #7 0x7f834460443c in ChromeAppsClient::CreateNativeAppWindowImpl(extensions::AppWindow*, extensions::AppWindow::CreateParams const&) chrome/browser/ui/views/apps/chrome_apps_client_views.cc:14 #8 0x7f834be98433 in extensions::AppWindow::Init(GURL const&, extensions::AppWindowContents*, extensions::AppWindow::CreateParams const&) extensions/browser/app_window/app_window.cc:281 #9 0x7f834bd6bbfb in extensions::AppWindowCreateFunction::RunAsync() extensions/browser/api/app_window/app_window_api.cc:296 #10 0x7f834bee4510 in AsyncExtensionFunction::Run() extensions/browser/extension_function.cc:452 #11 0x7f834bee9771 in extensions::ExtensionFunctionDispatcher::DispatchWithCallbackInternal(ExtensionHostMsg_Request_Params const&, content::RenderViewHost*, content::RenderFrameHost*, base::Callback<void (ExtensionFunction::ResponseType, base::ListValue const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)> const&) extensions/browser/extension_function_dispatcher.cc:392 #12 0x7f834bee86b6 in extensions::ExtensionFunctionDispatcher::Dispatch(ExtensionHostMsg_Request_Params const&, content::RenderViewHost*) extensions/browser/extension_function_dispatcher.cc:309 #13 0x7f834bedac91 in OnRequest extensions/browser/extension_host.cc:342 #14 0x7f8345add9d2 in content::WebContentsImpl::OnMessageReceived(content::RenderViewHost*, content::RenderFrameHost*, IPC::Message const&) content/browser/web_contents/web_contents_impl.cc:526 #15 0x7f83459847fe in content::RenderViewHostImpl::OnMessageReceived(IPC::Message const&) content/browser/renderer_host/render_view_host_impl.cc:894 Started happening here http://build.chromium.org/p/chromium.memory.fyi/builders/Linux%20MSan%20Tests/builds/98 (see stdio for symbols), and this looks like the only change in that build. This reverts commit c76ef732. BUG=384644 TBR=jackhou@chromium.org Review URL: https://codereview.chromium.org/550413002 Cr-Commit-Position: refs/heads/master@{#293792}
-
thestig authored
Review URL: https://codereview.chromium.org/549753002 Cr-Commit-Position: refs/heads/master@{#293791}
-
thakis authored
Revert of Revert of Fix maximize on some window managers (patchset #1 id:1 of https://codereview.chromium.org/554843002/) Reason for revert: I unchecked cq, not sure why this revert was landed. (I want to revert https://codereview.chromium.org/469993003/ instead) Original issue's description: > Revert of Fix maximize on some window managers (patchset #1 id:1 of https://codereview.chromium.org/543663003/) > > Reason for revert: > Speculative, to see if it helps with > > ==12563== WARNING: MemorySanitizer: use-of-uninitialized-value > #0 0x7f834414fd2c in views::DesktopWindowTreeHostX11::InitX11Window(views::Widget::InitParams const&) ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1164 > #1 0x7f834414dc6e in views::DesktopWindowTreeHostX11::Init(aura::Window*, views::Widget::InitParams const&) ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:259 > #2 0x7f83441408e9 in views::DesktopNativeWidgetAura::InitNativeWidget(views::Widget::InitParams const&) ui/views/widget/desktop_aura/desktop_native_widget_aura.cc:420 > #3 0x7f834411722f in views::Widget::Init(views::Widget::InitParams const&) ui/views/widget/widget.cc:358 > #4 0x7f834473bc8b in ChromeNativeAppWindowViews::InitializeDefaultWindow(extensions::AppWindow::CreateParams const&) chrome/browser/ui/views/apps/chrome_native_app_window_views.cc:231 > #5 0x7f834473f52d in ChromeNativeAppWindowViews::InitializeWindow(extensions::AppWindow*, extensions::AppWindow::CreateParams const&) chrome/browser/ui/views/apps/chrome_native_app_window_views.cc:672 > #6 0x7f834c3d8bbe in apps::NativeAppWindowViews::Init(extensions::AppWindow*, extensions::AppWindow::CreateParams const&) apps/ui/views/native_app_window_views.cc:46 > #7 0x7f834460443c in ChromeAppsClient::CreateNativeAppWindowImpl(extensions::AppWindow*, extensions::AppWindow::CreateParams const&) chrome/browser/ui/views/apps/chrome_apps_client_views.cc:14 > #8 0x7f834be98433 in extensions::AppWindow::Init(GURL const&, extensions::AppWindowContents*, extensions::AppWindow::CreateParams const&) extensions/browser/app_window/app_window.cc:281 > #9 0x7f834bd6bbfb in extensions::AppWindowCreateFunction::RunAsync() extensions/browser/api/app_window/app_window_api.cc:296 > #10 0x7f834bee4510 in AsyncExtensionFunction::Run() extensions/browser/extension_function.cc:452 > #11 0x7f834bee9771 in extensions::ExtensionFunctionDispatcher::DispatchWithCallbackInternal(ExtensionHostMsg_Request_Params const&, content::RenderViewHost*, content::RenderFrameHost*, base::Callback<void (ExtensionFunction::ResponseType, base::ListValue const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)> const&) extensions/browser/extension_function_dispatcher.cc:392 > #12 0x7f834bee86b6 in extensions::ExtensionFunctionDispatcher::Dispatch(ExtensionHostMsg_Request_Params const&, content::RenderViewHost*) extensions/browser/extension_function_dispatcher.cc:309 > #13 0x7f834bedac91 in OnRequest extensions/browser/extension_host.cc:342 > #14 0x7f8345add9d2 in content::WebContentsImpl::OnMessageReceived(content::RenderViewHost*, content::RenderFrameHost*, IPC::Message const&) content/browser/web_contents/web_contents_impl.cc:526 > #15 0x7f83459847fe in content::RenderViewHostImpl::OnMessageReceived(IPC::Message const&) content/browser/renderer_host/render_view_host_impl.cc:894 > > Started happening here http://build.chromium.org/p/chromium.memory.fyi/builders/Linux%20MSan%20Tests/builds/104/ (see http://build.chromium.org/p/chromium.memory.fyi/builders/Linux%20MSan%20Tests/builds/104/ for symbols), and this looks tangentially related (it touched the file the uninitialized read is in.) > > Line 1164 is > > if (params.visible_on_all_workspaces) { > state_atom_list.push_back(atom_cache_.GetAtom("_NET_WM_STATE_STICKY")); > ui::SetIntProperty(xwindow_, "_NET_WM_DESKTOP", "CARDINAL", kAllDesktops); > } > > https://chromium.googlesource.com/chromium/src/+blame/master/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc > > Original issue's description: > > Fix maximize on some window managers > > > > On some window managers the Maximize hints are not respected when they > > are set on an unmapped window. There was an existing workaround for this > > in the code, but the workaround failed whenever ShowWindowWithState > > didn't happen to be called with the parameters needed to activate the > > workaround. This meant that if a window was first made visible and later > > activated, it would not get maximized at all. > > > > This fix saves whether the maximize hints need to be sent to the window, > > and makes sure it gets done after mapping the window. > > > > BUG= > > > > Committed: https://chromium.googlesource.com/chromium/src/+/334fca491b7e798d75e76a56c57074d3187602be > > TBR=erg@chromium.org,arjanl@opera.com > NOTREECHECKS=true > NOTRY=true > BUG= > > Committed: https://chromium.googlesource.com/chromium/src/+/013b6d4051e8e2c8960faa12b92e273925aaee5b TBR=erg@chromium.org,arjanl@opera.com NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/551123002 Cr-Commit-Position: refs/heads/master@{#293790}
-
cjhopman authored
If you have the internal Chrome Android checkout and build for linux, the #ifdef around this code will be satisfied (SPDY_PROXY_AUTH_ORIGIN will be defined) but it fails to compile. NOTRY=true Review URL: https://codereview.chromium.org/556603002 Cr-Commit-Position: refs/heads/master@{#293789}
-
scottmg authored
This is required at least on Windows as it's used by system headers to control things like assert, etc. R=brettw@chromium.org BUG=335824,354261 Review URL: https://codereview.chromium.org/475153002 Cr-Commit-Position: refs/heads/master@{#293788}
-
hubbe authored
Review URL: https://codereview.chromium.org/513313004 Cr-Commit-Position: refs/heads/master@{#293787}
-
thakis authored
Revert of Fix maximize on some window managers (patchset #1 id:1 of https://codereview.chromium.org/543663003/) Reason for revert: Speculative, to see if it helps with ==12563== WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x7f834414fd2c in views::DesktopWindowTreeHostX11::InitX11Window(views::Widget::InitParams const&) ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1164 #1 0x7f834414dc6e in views::DesktopWindowTreeHostX11::Init(aura::Window*, views::Widget::InitParams const&) ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:259 #2 0x7f83441408e9 in views::DesktopNativeWidgetAura::InitNativeWidget(views::Widget::InitParams const&) ui/views/widget/desktop_aura/desktop_native_widget_aura.cc:420 #3 0x7f834411722f in views::Widget::Init(views::Widget::InitParams const&) ui/views/widget/widget.cc:358 #4 0x7f834473bc8b in ChromeNativeAppWindowViews::InitializeDefaultWindow(extensions::AppWindow::CreateParams const&) chrome/browser/ui/views/apps/chrome_native_app_window_views.cc:231 #5 0x7f834473f52d in ChromeNativeAppWindowViews::InitializeWindow(extensions::AppWindow*, extensions::AppWindow::CreateParams const&) chrome/browser/ui/views/apps/chrome_native_app_window_views.cc:672 #6 0x7f834c3d8bbe in apps::NativeAppWindowViews::Init(extensions::AppWindow*, extensions::AppWindow::CreateParams const&) apps/ui/views/native_app_window_views.cc:46 #7 0x7f834460443c in ChromeAppsClient::CreateNativeAppWindowImpl(extensions::AppWindow*, extensions::AppWindow::CreateParams const&) chrome/browser/ui/views/apps/chrome_apps_client_views.cc:14 #8 0x7f834be98433 in extensions::AppWindow::Init(GURL const&, extensions::AppWindowContents*, extensions::AppWindow::CreateParams const&) extensions/browser/app_window/app_window.cc:281 #9 0x7f834bd6bbfb in extensions::AppWindowCreateFunction::RunAsync() extensions/browser/api/app_window/app_window_api.cc:296 #10 0x7f834bee4510 in AsyncExtensionFunction::Run() extensions/browser/extension_function.cc:452 #11 0x7f834bee9771 in extensions::ExtensionFunctionDispatcher::DispatchWithCallbackInternal(ExtensionHostMsg_Request_Params const&, content::RenderViewHost*, content::RenderFrameHost*, base::Callback<void (ExtensionFunction::ResponseType, base::ListValue const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)> const&) extensions/browser/extension_function_dispatcher.cc:392 #12 0x7f834bee86b6 in extensions::ExtensionFunctionDispatcher::Dispatch(ExtensionHostMsg_Request_Params const&, content::RenderViewHost*) extensions/browser/extension_function_dispatcher.cc:309 #13 0x7f834bedac91 in OnRequest extensions/browser/extension_host.cc:342 #14 0x7f8345add9d2 in content::WebContentsImpl::OnMessageReceived(content::RenderViewHost*, content::RenderFrameHost*, IPC::Message const&) content/browser/web_contents/web_contents_impl.cc:526 #15 0x7f83459847fe in content::RenderViewHostImpl::OnMessageReceived(IPC::Message const&) content/browser/renderer_host/render_view_host_impl.cc:894 Started happening here http://build.chromium.org/p/chromium.memory.fyi/builders/Linux%20MSan%20Tests/builds/104/ (see http://build.chromium.org/p/chromium.memory.fyi/builders/Linux%20MSan%20Tests/builds/104/ for symbols), and this looks tangentially related (it touched the file the uninitialized read is in.) Line 1164 is if (params.visible_on_all_workspaces) { state_atom_list.push_back(atom_cache_.GetAtom("_NET_WM_STATE_STICKY")); ui::SetIntProperty(xwindow_, "_NET_WM_DESKTOP", "CARDINAL", kAllDesktops); } https://chromium.googlesource.com/chromium/src/+blame/master/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc Original issue's description: > Fix maximize on some window managers > > On some window managers the Maximize hints are not respected when they > are set on an unmapped window. There was an existing workaround for this > in the code, but the workaround failed whenever ShowWindowWithState > didn't happen to be called with the parameters needed to activate the > workaround. This meant that if a window was first made visible and later > activated, it would not get maximized at all. > > This fix saves whether the maximize hints need to be sent to the window, > and makes sure it gets done after mapping the window. > > BUG= > > Committed: https://chromium.googlesource.com/chromium/src/+/334fca491b7e798d75e76a56c57074d3187602be TBR=erg@chromium.org,arjanl@opera.com NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/554843002 Cr-Commit-Position: refs/heads/master@{#293786}
-
John Abd-El-Malek authored
BUG=412042 TBR=jschuh@chromium.org Review URL: https://codereview.chromium.org/556573003 Cr-Commit-Position: refs/heads/master@{#293785}
-
dtseng authored
TEST=run the script: enter 'u' to upload, login and verify that uploading is successful. Back at the prompt, enter 'p' to publish publically. Verify ChromeVox updates. Review URL: https://codereview.chromium.org/515723005 Cr-Commit-Position: refs/heads/master@{#293784}
-
Will Harris authored
BUG=None R=thestig@chromium.org Review URL: https://codereview.chromium.org/550503003 Cr-Commit-Position: refs/heads/master@{#293783}
-
jfroy authored
BUG=410527 R=rsesek, DaleCurtis Review URL: https://codereview.chromium.org/533423002 Cr-Commit-Position: refs/heads/master@{#293782}
-
kpschoedel authored
BUG=406014 R=sadrul@chromium.org Review URL: https://codereview.chromium.org/538143002 Cr-Commit-Position: refs/heads/master@{#293781}
-
arv authored
Revert of Fixes HasEventListener check in ExtensionKeybindingRegistry::ExecuteCommands. (patchset #1 id:1 of https://codereview.chromium.org/547783002/) Reason for revert: Broke Linux ChromiumOS Tests (dbg)(3) http://build.chromium.org/p/chromium.webkit/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%283%29/builds/1206 BrowserTestBase signal handler received SIGTERM. Backtrace: #0 0x7f3bcf3aa67e base::debug::StackTrace::StackTrace() #1 0x0000041c884a content::(anonymous namespace)::DumpStackTraceSignalHandler() #2 0x7f3bc709f4a0 <unknown> #3 0x7f3bc7151a43 __poll #4 0x7f3bc7b8dff6 <unknown> #5 0x7f3bc7b8e124 g_main_context_iteration #6 0x7f3bcf366f35 base::MessagePumpGlib::Run() #7 0x7f3bcf468180 base::MessageLoop::RunHandler() #8 0x7f3bcf4cfcc2 base::RunLoop::Run() #9 0x0000041e0729 content::RunThisRunLoop() #10 0x0000041e06ba content::RunMessageLoop() #11 0x000000668feb ExtensionApiTest::ResultCatcher::GetNextResult() #12 0x0000006a30dd extensions::CommandsApiTest_ContinuePropagation_Test::RunTestOnMainThread() #13 0x0000006a3712 extensions::CommandsApiTest_ContinuePropagation_Test::RunTestOnMainThread() #14 0x00000176be8b InProcessBrowserTest::RunTestOnMainThreadLoop() #15 0x0000041c85c8 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() #16 0x0000041c9cf2 base::internal::RunnableAdapter<>::Run() #17 0x0000041c9c69 base::internal::InvokeHelper<>::MakeItSo() #18 0x0000041c9c25 base::internal::Invoker<>::Run() #19 0x00000063f0de base::Callback<>::Run() #20 0x0000042dddd2 ChromeBrowserMainParts::PreMainMessageLoopRunImpl() #21 0x0000042dca92 ChromeBrowserMainParts::PreMainMessageLoopRun() #22 0x000002e77daf chromeos::ChromeBrowserMainPartsChromeos::PreMainMessageLoopRun() #23 0x7f3bd7bd2e96 content::BrowserMainLoop::PreMainMessageLoopRun() #24 0x7f3bd7bd96f2 base::internal::RunnableAdapter<>::Run() #25 0x7f3bd7bd965c base::internal::InvokeHelper<>::MakeItSo() #26 0x7f3bd7bd960a base::internal::Invoker<>::Run() #27 0x7f3bd80a852e base::Callback<>::Run() #28 0x7f3bd841bd2b content::StartupTaskRunner::RunAllTasksNow() #29 0x7f3bd7bd12f0 content::BrowserMainLoop::CreateStartupTasks() #30 0x7f3bd7bdcc72 content::BrowserMainRunnerImpl::Initialize() #31 0x7f3bd7bcda55 content::BrowserMain() #32 0x7f3bd7a6224f content::RunNamedProcessTypeMain() #33 0x7f3bd7a655b8 content::ContentMainRunnerImpl::Run() #34 0x7f3bd7a617b5 content::ContentMain() #35 0x0000041c82cb content::BrowserTestBase::SetUp() #36 0x00000176afc3 InProcessBrowserTest::SetUp() #37 0x000000674823 ExtensionBrowserTest::SetUp() #38 0x000000674852 ExtensionBrowserTest::SetUp() #39 0x0000018298a3 testing::internal::HandleSehExceptionsInMethodIfSupported<>() #40 0x00000181686e testing::internal::HandleExceptionsInMethodIfSupported<>() #41 0x00000180ad73 testing::Test::Run() #42 0x00000180b4cb testing::TestInfo::Run() #43 0x00000180baca testing::TestCase::Run() #44 0x000001811009 testing::internal::UnitTestImpl::RunAllTests() #45 0x0000018225b3 testing::internal::HandleSehExceptionsInMethodIfSupported<>() #46 0x0000018185fe testing::internal::HandleExceptionsInMethodIfSupported<>() #47 0x000001810c97 testing::UnitTest::Run() #48 0x0000041a5531 RUN_ALL_TESTS() #49 0x0000041a4547 base::TestSuite::Run() #50 0x0000008026d2 InteractiveUITestSuiteRunner::RunTestSuite() #51 0x000001769618 (anonymous namespace)::ChromeTestLauncherDelegate::RunTestSuite() #52 0x0000041d9efb content::LaunchTests() #53 0x00000176954b LaunchChromeTests() #54 0x00000080262f main #55 0x7f3bc708a76d __libc_start_main #56 0x0000005ffda9 <unknown> [123/334] CommandsApiTest.ContinuePropagation (TIMED OUT) Original issue's description: > Fixes HasEventListener check in ExtensionKeybindingRegistry::ExecuteCommands. > > ExtensionKeybindingRegistry::ExecuteCommands functions in two distinct ways -- execute all commands based on an accelerator, or, execute an accelerator for a given extension. The former behavior is implied by passing an empty string. > > Previously, only the latter case was handled when trying to continue propagating keys. > > BUG=407163 > TEST=try bots (interactive_ui_tests --gtest_filter=CommandsApiTest.*). > > Committed: https://chromium.googlesource.com/chromium/src/+/189a2ed4d209231d517b0e64a722722dead3f17a TBR=finnur@chromium.org,dtseng@chromium.org NOTREECHECKS=true NOTRY=true BUG=407163 Review URL: https://codereview.chromium.org/552533003 Cr-Commit-Position: refs/heads/master@{#293780}
-