- 28 Apr, 2014 40 commits
-
-
brettw@chromium.org authored
For a target //foo/bar:bar this adds the additional phony rules: "foo/bar:bar" and "foo/bar" to build.ninja. This is on top of the phony rules "bar" which will exist for all targets with a unique name "bar". This allows one to disambiguate targets with different paths but the same short name. R=scottmg@chromium.org Review URL: https://codereview.chromium.org/247663006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266680 0039d316-1c4b-4281-b951-d872f2087c98
-
benm@chromium.org authored
NOTRY=true Review URL: https://codereview.chromium.org/256093006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266679 0039d316-1c4b-4281-b951-d872f2087c98
-
lazyboy@chromium.org authored
BUG=None Test=None, internal test only change. Review URL: https://codereview.chromium.org/259793002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266678 0039d316-1c4b-4281-b951-d872f2087c98
-
ericu@chromium.org authored
This requires https://codereview.chromium.org/235933013/. BUG=108012 Review URL: https://codereview.chromium.org/240003010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266677 0039d316-1c4b-4281-b951-d872f2087c98
-
viettrungluu@chromium.org authored
R=yzshen@chromium.org Review URL: https://codereview.chromium.org/253863004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266676 0039d316-1c4b-4281-b951-d872f2087c98
-
tfarina@chromium.org authored
Debug: $ gn gen out/Debug_gn --args=is_debug=true $ ninja -C out/Debug_gn metrics Release: $ gn gen out/Release_gn --args=is_debug=false $ ninja -C out/Release_gn metrics BUG=None TEST=see above. R=brettw@chromium.org TBR=asvitkine@chromium.org Review URL: https://codereview.chromium.org/255413004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266675 0039d316-1c4b-4281-b951-d872f2087c98
-
wjmaclean@chromium.org authored
The thumb position of a scrollbar is dependant on the scroll offsets of all scrollable layers from the scrollbar's designated scroll layer up to its container layer. It also needs to know about geometry changes in its scroll and container layers. This CL revises the mechanism that registers a scrollbar to receive notifications to include all intervening scrollable layers. BUG=346393 Review URL: https://codereview.chromium.org/254643002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266674 0039d316-1c4b-4281-b951-d872f2087c98
-
dtrainor@chromium.org authored
BUG=361550 Review URL: https://codereview.chromium.org/246523006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266673 0039d316-1c4b-4281-b951-d872f2087c98
-
agl@chromium.org authored
It's unclear to me why we ever did this. Although we don't have an explanation, it could have something to do with the false-positive pinning reports. BUG=339907 Review URL: https://codereview.chromium.org/259753002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266672 0039d316-1c4b-4281-b951-d872f2087c98
-
oshima@chromium.org authored
BUG=None TEST=NativeWidgetAuraTest.TestPropertiesWhenAddedToLayout R=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266386 Review URL: https://codereview.chromium.org/251733004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266671 0039d316-1c4b-4281-b951-d872f2087c98
-
robliao@chromium.org authored
Revert of Ensure that modal dialogs from subframes can be cleaned up correctly. (https://codereview.chromium.org/255543009/) Reason for revert: Causes leaks: http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%282%29/builds/2046/steps/browser_tests/logs/SadTabCancelsSubframeDialogs Direct leak of 48 byte(s) in 1 object(s) allocated from: #0 0x56973b in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62 #1 0x52464ce in IPC::SyncMessage::GenerateReply(IPC::Message const*) ipc/ipc_sync_message.cc:99 #2 0x9f6ec47 in Tuple4 ipc/ipc_message_utils.h:877 #3 0x9f6ec47 in bool FrameHostMsg_RunJavaScriptMessage::DispatchDelayReply\u003Ccontent::RenderFrameHostImpl, void (content::RenderFrameHostImpl::*)(std::basic_string\u003Cunsigned short, base::string16_char_traits, std::allocator\u003Cunsigned short> > const&, std::basic_string\u003Cunsigned short, base::string16_char_traits, std::allocator\u003Cunsigned short> > const&, GURL const&, content::JavaScriptMessageType, IPC::Message*)>(IPC::Message const*, content::RenderFrameHostImpl*, void (content::RenderFrameHostImpl::*)(std::basic_string\u003Cunsigned short, base::string16_char_traits, std::allocator\u003Cunsigned short> > const&, std::basic_string\u003Cunsigned short, base::string16_char_traits, std::allocator\u003Cunsigned short> > const&, GURL const&, content::JavaScriptMessageType, IPC::Message*)) content/common/frame_messages.h:545 #4 0x9f6b9d3 in content::RenderFrameHostImpl::OnMessageReceived(IPC::Message const&) content/browser/frame_host/render_frame_host_impl.cc:287 #5 0xa1185d9 in content::RenderProcessHostImpl::OnMessageReceived(IPC::Message const&) content/browser/renderer_host/render_process_host_impl.cc:1346 #6 0x5239eec in IPC::ChannelProxy::Context::OnDispatchMessage(IPC::Message const&) ipc/ipc_channel_proxy.cc:269 #7 0x3256fbf in Run base/callback.h:401 #8 0x3256fbf in base::MessageLoop::RunTask(base::PendingTask const&) base/message_loop/message_loop.cc:450 #9 0x3258e35 in DeferOrRunPendingTask base/message_loop/message_loop.cc:462 #10 0x3258e35 in base::MessageLoop::DoWork() base/message_loop/message_loop.cc:576 #11 0x32fab87 in base::MessagePumpGlib::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_glib.cc:270 #12 0x3290314 in base::RunLoop::Run() base/run_loop.cc:49 #13 0xc55c305 in content::RunThisRunLoop(base::RunLoop*) content/public/test/test_utils.cc:103 #14 0xc55e252 in operator-> content/public/test/test_utils.cc:165 #15 0xc55e252 in content::WindowedNotificationObserver::Wait() content/public/test/test_utils.cc:225 #16 0x31af7c1 in ui_test_utils::WaitForAppModalDialog() chrome/test/base/ui_test_utils.cc:342 #17 0x19c1ed8 in BrowserTest_SadTabCancelsSubframeDialogs_Test::RunTestOnMainThread() chrome/browser/ui/browser_browsertest.cc:585 #18 0x31996b8 in InProcessBrowserTest::RunTestOnMainThreadLoop() chrome/test/base/in_process_browser_test.cc:419 Original issue's description: > Ensure that modal dialogs from subframes can be cleaned up correctly. > > BUG=366510 > TEST=See bug comment 7 for repro steps. > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266638 TBR=avi@chromium.org,sky@chromium.org,creis@chromium.org NOTREECHECKS=true NOTRY=true BUG=366510 Review URL: https://codereview.chromium.org/257863004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266669 0039d316-1c4b-4281-b951-d872f2087c98
-
thakis@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266668 0039d316-1c4b-4281-b951-d872f2087c98
-
mcasas@chromium.org authored
This bug was uncovered by trying to use the Logitech C920 in the bots (see but). C920 has a new pixel format not in the list [1]. Since "unsupported" is anyway no good pixel format, it is skipped in CreateCapabilityMap() if it's enumerated. It's also skipped in GetDeviceSupportedFormats(). BUG=360512 [1] https://code.google.com/p/chromium/codesearch#chromium/src/media/video/capture/win/video_capture_device_win.cc&q=video_capture_device_win&sq=package:chromium&l=189 Review URL: https://codereview.chromium.org/260053003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266664 0039d316-1c4b-4281-b951-d872f2087c98
-
kevers@chromium.org authored
Implement overscroll support for the virtual keyboard. Instead of resizing windows to prevent occlusion by the virtual keyboard, the inner viewport is resized to extend the vertical scroll range. BUG=242933 Review URL: https://codereview.chromium.org/195793004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266662 0039d316-1c4b-4281-b951-d872f2087c98
-
vitalybuka@chromium.org authored
NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265357 R=blundell@chromium.org, jochen@chromium.org Review URL: https://codereview.chromium.org/241323003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266661 0039d316-1c4b-4281-b951-d872f2087c98
-
ppi@chromium.org authored
This CLs adds trace events for ChildProcessLauncher::start() and ChildServiceConnection::bind(), improving visibility of the service startup events in traces. BUG=363121 R=yfriedman@chromium.org Review URL: https://codereview.chromium.org/258953008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266660 0039d316-1c4b-4281-b951-d872f2087c98
-
zhaoqin@google.com authored
TBR=jam@chromium.org, bruening@chromium.org BUG=42043 Review URL: https://codereview.chromium.org/254813003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266659 0039d316-1c4b-4281-b951-d872f2087c98
-
https://codereview.chromium.org/251703002/thakis@chromium.org authored
Reason for revert: Caused tons of uninitialized reads: http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20%28valgrind%29%282%29/builds/39582 { <insert_a_suppression_name_here> Memcheck:Uninitialized fun:_ZN11color_utils12SkColorToHSLEjPNS_3HSLE fun:_ZN11color_utils12_GLOBAL__N_115LumaInvertColorEj fun:_ZN11color_utils16GetReadableColorEjj fun:_ZN5views5Label17RecalculateColorsEv fun:_ZN5views5Label15SetEnabledColorEj fun:_ZN14message_center12BoundedLabel9SetColorsEjj fun:_ZN14message_center16NotificationViewC1EPNS_23MessageCenterControllerERKNS_12NotificationE fun:_ZN14message_center16NotificationView6CreateEPNS_23MessageCenterControllerERKNS_12NotificationEb fun:_ZN14message_center17MessageCenterView17AddNotificationAtERKNS_12NotificationEi fun:_ZN14message_center17MessageCenterView16SetNotificationsERKSt3setIPNS_12NotificationENS_30ComparePriorityTimestampSerialESaIS3_EE fun:_ZN14message_center21MessageCenterViewTest5SetUpEv } etc Original issue's description: > retry r266042: > ---------------------- > Automatically call OnNativeThemeChanged when a widget is added to a hierarchy > with a widget. > > Split off from https://codereview.chromium.org/245863002/ > > BUG=347832 > (tangentially) > ---------------------- > > original review: https://codereview.chromium.org/248073005/ > changes: updated views unit tests > > R=sky@chromium.org > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266622 TBR=sky@chromium.org,msw@chromium.org,estade@chromium.org NOTREECHECKS=true NOTRY=true BUG=347832 Review URL: https://codereview.chromium.org/259073004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266658 0039d316-1c4b-4281-b951-d872f2087c98
-
arnarb@chromium.org authored
NOTRY=true BUG=364678 TBR=miket Review URL: https://codereview.chromium.org/249913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266655 0039d316-1c4b-4281-b951-d872f2087c98
-
reveman@chromium.org authored
Re-land: cc: Enable impl-side painting by default on all platforms where threaded compositing is used. BUG=169282 Review URL: https://codereview.chromium.org/242803007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266654 0039d316-1c4b-4281-b951-d872f2087c98
-
avi@chromium.org authored
r166410 disabled the browser from entering fullscreen mode when any one tab has a constrained window open (e.g., Print dialog). However, this is inconsistent with the behavior on all other desktop platforms. This change removes the restriction. Landing on behalf of miu@chromium.org manually, as to make a branch cut. BUG=366567,146451 TEST=Repro steps in bug 366567 (easier to understand from the multiple demo videos). Also, manual testing of browser transition into and out of fullscreen before/after a print dialog is open. R=avi@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/253493005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266653 0039d316-1c4b-4281-b951-d872f2087c98
-
tdresser@chromium.org authored
Reland "GestureRecognizerTest tests both Aura and Unified Gesture Detectors." This is in preparation of landing the unified GR (see https://codereview.chromium.org/251543003/). There are some cases where behavior differs in minor ways. This is sometimes dealt with by increasing the test's margin of error (for instance, slop handling is slightly different, so we now exceed the slop more thoroughly). This is sometimes dealt with by ignoring the test if the test is run with the unified GR. BUG=332418 Review URL: https://codereview.chromium.org/252833005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266652 0039d316-1c4b-4281-b951-d872f2087c98
-
piman@chromium.org authored
Supports Compose key with XIM and makes .XCompose settings effective with Linux Aura build. BUG=351230,360388 TEST=Done manually. Tested with GTK_IM_MODULE=xim XMODIFIERS=@im=none and ~/.XCompose with custom contents. R=erg@chromium.org, sadrul@chromium.org Review URL: https://codereview.chromium.org/243143002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266651 0039d316-1c4b-4281-b951-d872f2087c98
-
vitalybuka@chromium.org authored
> Allow anyone to change components_tests.gyp. > > Review URL: https://codereview.chromium.org/241323003 TBR=vitalybuka@chromium.org Review URL: https://codereview.chromium.org/256153004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266650 0039d316-1c4b-4281-b951-d872f2087c98
-
limasdf@gmail.com authored
BUG=354046,354458 Review URL: https://codereview.chromium.org/259843004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266649 0039d316-1c4b-4281-b951-d872f2087c98
-
gunsch@chromium.org authored
While not observed on Linux, running on OSX appears to be much flakier. Calls to StreamListenSocket::Send are non-blocking writes, so a single read for multiple writes sometimes did not execute as expected. R=rsleevi@chromium.org BUG=365067 Review URL: https://codereview.chromium.org/245563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266647 0039d316-1c4b-4281-b951-d872f2087c98
-
jbauman@chromium.org authored
Software delegated rendering uses one fd per tile, so with a bunch of tiles that means it can run out of fds. If it seems close to hitting the limit the browser should throw away old frames to avoid this from happening. BUG=362603 TBR=piman@chromium.org Review URL: https://codereview.chromium.org/258053008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266646 0039d316-1c4b-4281-b951-d872f2087c98
-
mvrable@chromium.org authored
Previously function declarations needed to be added manually because of build errors on Windows when including the City.h file. Now, with the build errors fixed, use the proper includes everywhere. BUG=353157 Review URL: https://codereview.chromium.org/246013008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266645 0039d316-1c4b-4281-b951-d872f2087c98
-
rlarocque@chromium.org authored
Removes a DCHECK in SyncBackendHostImpl that would trigger if we tried to register to observe protocol events (ie. open the about:sync page) before initialization was complete. This DCHECK was unnecessary, since there should be no harm in registering an observer before the sync backend is initialized. Allowing early registration makes the protocol logs useful for debugging more kinds of issues. BUG=365806 Review URL: https://codereview.chromium.org/254563005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266643 0039d316-1c4b-4281-b951-d872f2087c98
-
dnicoara@chromium.org authored
This fixes Aura builds (such as Ozone) which compile with use_aura=1 and toolkit_views=0. TBR=ben@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/250923014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266641 0039d316-1c4b-4281-b951-d872f2087c98
-
fsamuel@chromium.org authored
BUG=330264 Review URL: https://codereview.chromium.org/250063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266640 0039d316-1c4b-4281-b951-d872f2087c98
-
dalecurtis@chromium.org authored
The existing code was correcting twice for discarded codec delay frames. Once by adjusting the initial timestamp and twice by discarding those frames before generating the output timestamp. This change also adds a test helper to AudioFileReader so we can demux audio files in tests without duplicating code. As a bonus it provides some additional coverage to AudioFileReader. I've also reused several FFmpegCommon methods where possible. BUG=360961 TEST=Adds opus unit tests. Plus a basic playback test for ogg. NOTRY=true Review URL: https://codereview.chromium.org/257563007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266639 0039d316-1c4b-4281-b951-d872f2087c98
-
creis@chromium.org authored
BUG=366510 TEST=See bug comment 7 for repro steps. Review URL: https://codereview.chromium.org/255543009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266638 0039d316-1c4b-4281-b951-d872f2087c98
-
avi@chromium.org authored
BUG=361761 TEST=no visible change Review URL: https://codereview.chromium.org/251823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266637 0039d316-1c4b-4281-b951-d872f2087c98
-
dalecurtis@chromium.org authored
Text tracks were not considered along with audio and video tracks when determining the media segment start time. This results in Append()s coming in later with timestamps before the segment start time. The issue issue is resolved and a DCHECK() added to SBS::Append() to prevent this from happening in the future. BUG=356805 TEST=media_unittests passes after DCHECK() added to Append(). NOTRY=true Review URL: https://codereview.chromium.org/222783007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266636 0039d316-1c4b-4281-b951-d872f2087c98
-
scherkus@chromium.org authored
API changes: - Frame done callbacks must not be reentrant - Reset is fire-and-forget; frames are no longer return via the done callback BUG=110814 Review URL: https://codereview.chromium.org/257793004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266635 0039d316-1c4b-4281-b951-d872f2087c98
-
yoz@chromium.org authored
Features defined in _*_features.json are split into chrome/common/extensions/api and extensions/common/api, according to where those features are implemented. This also creates extensions_resources.pak. With support for more than one features source, we can eliminate the AppShell dependency on Chrome features. BUG=339301 TBR=sergeyberezin@chromium.org Review URL: https://codereview.chromium.org/246423002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266634 0039d316-1c4b-4281-b951-d872f2087c98
-
ajwong@chromium.org authored
Leaking in DefaultSearchManagerTest.ReadAndWritePref. http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%282%29/builds/2042/steps/unit_tests/logs/ReadAndWritePref > Store default search provider data in dictionary pref, and add DefaultSearchManager class to handle the reading and writing of this pref (DefaultSearchManager will eventually all default search related concerns). > > This pref will be used to persist data about user-selected > default search providers. In future CLs, support will be added for default search providers set by policy and sync. > > > BUG=365762 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266479 > > Review URL: https://codereview.chromium.org/229763005 TBR=caitkp@chromium.org Review URL: https://codereview.chromium.org/259093003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266633 0039d316-1c4b-4281-b951-d872f2087c98
-
ben@chromium.org authored
> Move DefaultActivationClient to wm/core > > Several tests are using AuraTestHelper and were relying on it to set up the DefaultActivationClient, so I had to have them instantiate the DAC directly after calling SetUp() on the helper. I also had to make the DAC delete itself after the root window it's bound to is destroyed. > > R=sky@chromium.org > http://crbug.com/308710 > > Review URL: https://codereview.chromium.org/250113002 TBR=ben@chromium.org Review URL: https://codereview.chromium.org/259103003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266632 0039d316-1c4b-4281-b951-d872f2087c98
-
mlamouri@chromium.org authored
RenderWidgetHostView::WasResized() will only update the RenderWidget's size and propagate the update to its WebWidget. However, window.outer* will use window_screen_rect_, updated when receiving an UpdateScreenRects message. We need to make sure that value is updated before notifying about a resize. BUG=359975 Review URL: https://codereview.chromium.org/247933002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266631 0039d316-1c4b-4281-b951-d872f2087c98
-