- 18 Jul, 2014 40 commits
-
-
ccameron@chromium.org authored
It is possible for the TaskRunner to which the tasks were posted to be destroyed before the RenderWidgetResizeHelper is destroyed. Make sure that RenderWidgetResizeHelper is robust to this by having tasks remove themselves from RenderWidgetResizeHelper's queue when they are destroyed. BUG=394775 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/399213003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284224 0039d316-1c4b-4281-b951-d872f2087c98
-
dgozman@chromium.org authored
This has visible effect on the Mac, where WebContents has zero size initially. BUG=none Review URL: https://codereview.chromium.org/391363005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284223 0039d316-1c4b-4281-b951-d872f2087c98
-
tdresser@chromium.org authored
BUG=395168 Review URL: https://codereview.chromium.org/407563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284222 0039d316-1c4b-4281-b951-d872f2087c98
-
noamsml@google.com authored
BUG=394441 R=asargent@chromium.org, asvitkine@chromium.org, vitalybuka@chromium.org Review URL: https://codereview.chromium.org/391413002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284221 0039d316-1c4b-4281-b951-d872f2087c98
-
Gordana.Cmiljanovic@imgtec.com authored
Increasing wait time for document's state to become 'complete'. BUG= Review URL: https://codereview.chromium.org/395133008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284220 0039d316-1c4b-4281-b951-d872f2087c98
-
ivandavid@chromium.org authored
The browser test can print webpages to PDFs, then convert those PDFs to PNGs and send them to the layout test framework for an image diff. This is for print preview end to end testing. BUG=388517 Review URL: https://codereview.chromium.org/383623002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284219 0039d316-1c4b-4281-b951-d872f2087c98
-
acleung@chromium.org authored
During a forced signout (sync account removed from device), we signout without ever give the token service a chance to validate accounts. Without this CL, the AO2TS becomes out-of-sync with the device's account list. BUG=393037 Review URL: https://codereview.chromium.org/401693003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284218 0039d316-1c4b-4281-b951-d872f2087c98
-
dnicoara@chromium.org authored
BUG=none NOTRY=true Review URL: https://codereview.chromium.org/400283002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284217 0039d316-1c4b-4281-b951-d872f2087c98
-
viettrungluu@chromium.org authored
R=yzshen@chromium.org Review URL: https://codereview.chromium.org/401883003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284216 0039d316-1c4b-4281-b951-d872f2087c98
-
eroman@chromium.org authored
Review URL: https://codereview.chromium.org/401983002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284215 0039d316-1c4b-4281-b951-d872f2087c98
-
mpearson@chromium.org authored
To correspond to changes made in internal change 70990265. BUG= Review URL: https://codereview.chromium.org/399433002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284214 0039d316-1c4b-4281-b951-d872f2087c98
-
senorblanco@chromium.org authored
Use the separate x/y sigma version of SkDropShadowImageFilter's Create() factory, so we can remove the single-param one from Skia. R=danakj@chromium.org BUG= Review URL: https://codereview.chromium.org/397393002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284213 0039d316-1c4b-4281-b951-d872f2087c98
-
jsbell@chromium.org authored
All trivial. Review URL: https://codereview.chromium.org/397933003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284212 0039d316-1c4b-4281-b951-d872f2087c98
-
tfarina@chromium.org authored
This simplifies the management and will also make the conversion to GN easier. BUG=299841 TEST=ui_unittests R=yukishiino@chromium.org Review URL: https://codereview.chromium.org/365303003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284211 0039d316-1c4b-4281-b951-d872f2087c98
-
rsesek@chromium.org authored
This allows specifying the shared_library MODULE_EXPORT constant so that stub symbols can be called across shared library boundaries. BUG=none R=ajwong@chromium.org Review URL: https://codereview.chromium.org/403493004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284210 0039d316-1c4b-4281-b951-d872f2087c98
-
yfriedman@chromium.org authored
Picked up changes: 047ef5d Hookup the MarkupParser into title detection. 885a0af Also track whitespace text in TextBlocks. 39ef3db Add more colors to debug output. 0577e31 Add comments about UnicodePatternGenerator ranges 805c65e Simplify iteration in *RulesClassifier fe610d7 Make debug output colorful edc26e0 Introduce a DomDistillerTestSuite for running multiple tests in one context. 7a7f948 Convert relative "poster" attribute to absolute for HTML5 video. 73225c7 Remove unused Clone method from TextDocument/TextBlock. bb65cef Don't merge non-content lists with trailing content. 3d00eba check for opacity for element visibility 79f3bae ignore invisible page links 8416ada Allow DocumentTitleMatchClassifier to match repeated titles. 8dade4b Fix id check for comment exclusion. 7f91f0d improve heuristics for tables in eval set 5fa3c95 Make DomDistiller's text-only output include all extracted text. BUG=367233,368941,376107,378385,380792,381973 Review URL: https://codereview.chromium.org/403803002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284208 0039d316-1c4b-4281-b951-d872f2087c98
-
alokp@chromium.org authored
This is being done with the intention to port this tool to other platforms. The first step is to move the existing code to a common location. Review URL: https://codereview.chromium.org/402803005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284207 0039d316-1c4b-4281-b951-d872f2087c98
-
prabhur@chromium.org authored
Review URL: https://codereview.chromium.org/396213006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284206 0039d316-1c4b-4281-b951-d872f2087c98
-
rtenneti@chromium.org authored
Cleanup and adding GetCongestionControlType. Merge internal change: 71125139 https://codereview.chromium.org/400813002/ QUIC test only change to add track the observed loss rate in SendAlgorithmSimulator. Merge internal change: 71116533 https://codereview.chromium.org/399763004/ Minor formatting changes to keep the code similar to internal tree. Merge internal change: 71059110 https://codereview.chromium.org/393283005/ Add more testing to QUIC's BbrTcpSender to verify it shares bandwidth fairly with itself. Also includes fixes to SendAlgorithmSimulator. Merge internal change: 71000950 https://codereview.chromium.org/399793002/ Will merge BbrTcpSender changes in a future CL after the approvals. Add a DLOG that indicates the peer sent us a QUIC_PUBLIC_RESET. Makes it more obvious why the connection ended when running the quic_client. Merge internal change: 70900278 https://codereview.chromium.org/399793002/ QUIC test only change to add a convenience operator for printing SendAlgorithmSimulator stats. Merge internal change: 70897829 https://codereview.chromium.org/399773003/ Adds dynamic setting of FEC group size based on the connection's current congestion window. There will be two triggers for transmitted an FEC packet, when protection is required -- max_packets_per_fec_group, and an FEC alarm that triggers an FEC packet if the FEC group has been open for long enough. This CL implements dynamically setting max_packets_per_fec_group. The FEC alarm will be written in a subsequent CL. Merge internal change: 70821636 https://codereview.chromium.org/398873003/ R=rch@chromium.org Review URL: https://codereview.chromium.org/399153003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284205 0039d316-1c4b-4281-b951-d872f2087c98
-
dgarrett@chromium.org authored
This update was generated on ChromeOS with: chromite/licensing/licenses --board x86-alex -a -out about_os_credits.html BUG=chromium:379056 TEST=Diffed license files, the changes appear to match reality. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284204 0039d316-1c4b-4281-b951-d872f2087c98
-
skyostil@chromium.org authored
The synthetic delay macro initializes a local atomic variable to point to a delay implementation class. Because initializing the class involves writing data to memory which is subsequently deferences through the atomic pointer, we need to use memory barries when updating the pointer to make sure the data behind it is committed. Thanks to Alexander Potapenko for spotting this. Review URL: https://codereview.chromium.org/392933002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284203 0039d316-1c4b-4281-b951-d872f2087c98
-
dhnishi@chromium.org authored
This will be used as part of a resource/permission manager which will allow users to easily see and modify which permissions are being granted to which websites. Design Doc: https://docs.google.com/document/d/1oQwmj3AU4QYhTyGrYEGr6zaZhHUfx-wqUgEcQGbUU-U/edit?usp=sharing BUG=372607 Review URL: https://codereview.chromium.org/398373006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284202 0039d316-1c4b-4281-b951-d872f2087c98
-
estade@chromium.org authored
BUG=160586 Review URL: https://codereview.chromium.org/388963002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284201 0039d316-1c4b-4281-b951-d872f2087c98
-
mfoltz@chromium.org authored
Cleanup namespace usage in cast_channel_api.h. TESTED=Browser test. Manually with Cast extension BUG=331165 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266804 Review URL: https://codereview.chromium.org/255443002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284200 0039d316-1c4b-4281-b951-d872f2087c98
-
tonyg@chromium.org authored
Revert of Experimentally disable termination on heap corrruption in order to measure the contribution of this… (https://codereview.chromium.org/402723002/) Reason for revert: Crashes chromium.perf bots. ChildEBP RetAddr 0052f9f4 6a47d2ff chrome_69f00000!base::debug::BreakDebugger+0x10 0052fa64 6a47df08 chrome_69f00000!CheckIsChromeSxSProcess+0x26 0052fa68 6a47e664 chrome_69f00000!InstallUtil::IsChromeSxSProcess+0x16 0052fa70 6a47e53b chrome_69f00000!BrowserDistribution::GetSpecificDistribution+0x3b 0052fa78 6a47bb77 chrome_69f00000!BrowserDistribution::GetDistribution+0x7 0052fb64 6a47bb2e chrome_69f00000!`anonymous namespace'::GetChromeChannelInternal+0x2c 0052fb7c 6a2d03f8 chrome_69f00000!GoogleUpdateSettings::GetChromeChannel+0x21 0052fbe8 6a2cd0d8 chrome_69f00000!chrome::VersionInfo::GetChannel+0x60 0052fbec 6a2cd1ab chrome_69f00000!`anonymous namespace'::GetBeaconKeyPath+0x5 0052fc08 6a2cc624 chrome_69f00000!ShouldExperimentallyDisableTerminateOnHeapCorruption+0xe 0052fc50 0020720b chrome_69f00000!ChromeMain+0x42 0052fce0 00206c36 chrome!MainDllLoader::Launch+0x15f 0052fd24 00228c9e chrome!wWinMain+0x5a 0052fd70 766e338a chrome!__tmainCRTStartup+0xfd WARNING: Stack unwind information not available. Following frames may be wrong. 0052fd7c 76f99f72 kernel32!BaseThreadInitThunk+0x12 0052fdbc 76f99f45 ntdll!RtlInitializeExceptionChain+0x63 0052fdd4 00000000 ntdll!RtlInitializeExceptionChain+0x36 Original issue's description: > Experimentally disable termination on heap corruption in order to measure the contribution of this feature to missing crash reports. > > Because this feature is configured very early in the process lifetime it cannot be directly controlled by a field-trial. Rather, we query the status during a given execution, store that status in the registry, and then query the registry during startup. This means the experiment will only take effect the 2nd time it is executed. > > BUG=394842 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284100 TBR=jochen@chromium.org,brettw@chromium.org,jhawkins@chromium.org,wfh@chromium.org,erikwright@chromium.org NOTREECHECKS=true NOTRY=true BUG=394842 Review URL: https://codereview.chromium.org/401913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284197 0039d316-1c4b-4281-b951-d872f2087c98
-
waffles@chromium.org authored
Reason for revert: use-after-free with #3 0x897b331 in views::NativeViewHostAura::ClippingWindowDelegate::CanFocus() ui/views/controls/native/native_view_host_aura.cc:43 in the stack trace. http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%283%29/builds/5437 > Make NativeViewHostAura clipping window non-focusable. > > This CL fixes an issue where the clipping window would get a focus event > when the SadTab was displayed causing the focus to be set to nothing, > disabling all keyboard shortcuts. > > This is fixed by making the clipping window nonfocusable. > > BUG=393119 > > Review URL: https://codereview.chromium.org/397493005 TBR=calamity@chromium.org Review URL: https://codereview.chromium.org/403853002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284196 0039d316-1c4b-4281-b951-d872f2087c98
-
eroman@chromium.org authored
Split up the monstrously large platform_crypto_nss.cc, platform_crypto_openssl.cc into multiple files. ----------- Overview: ----------- * algorithm_implementation.h: This defines a base class AlgorithmImplementation, which has virtual methods for synchronous encrypt/decrypt/generatekey. All of the information about an algorithm is now encapsulated by an AlgorithmImplementation. So for instance the JWK specific knowledge, key usages for each key type are pulled into this interface. * algorithm_registry.cc: Contains a mapping from WebCryptoAlgorithmID --> AlgorithmImplementation, stored by a singleton. * algorithm_dispatch.cc: Given parameters from Blink, looks up the appropriate AlgorithmImplementation in the registry and dispatches the operation. Also implements wrap/unwrap in terms of encrypt/decrypt. * structured_clone.cc: Contains the code related to structured cloning (which still needs some cleanup, and is implemented in terms of import/export). * nss/*, openssl/*: Contains the AlgorithmImplementation concrete classes for each algorithm. This reorganization also unintentionally fixes a few bugs. * ExportKey() for spki/pkcs8/raw uses the already serialized key data rather than re-exporting * Some exception codes were fixed. BUG=389325,389342,389327,374912 Review URL: https://codereview.chromium.org/379383002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284192 0039d316-1c4b-4281-b951-d872f2087c98
-
thakis@chromium.org authored
Follow-up to https://codereview.chromium.org/393193003/ . -fno-slp-vectorize was passed before -O2 on linux, and -O2 would reenable it. I checked that the order of -O3 and -fno-slp-vectorize is correct as-is on Mac. BUG=none NOTRY=true Review URL: https://codereview.chromium.org/408523002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284191 0039d316-1c4b-4281-b951-d872f2087c98
-
thakis@chromium.org authored
stdafx.h declared a global winstorage namespace alias, this file declared a winstorage namespace alias in an unnamed namespace. clang correctly points out that error(clang): reference to 'winstorage' is ambiguous note(clang): candidate found by name lookup is 'winstorage' note(clang): candidate found by name lookup is '(anonymous namespace)::winstorage' Just remove the unneeded duplicate. BUG=82385 TBR=ananta@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/393083006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284190 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284189 0039d316-1c4b-4281-b951-d872f2087c98
-
scottmg@chromium.org authored
speculative revert to try to resolve XP bot binaries not launching. R=dpranke@chromium.org TBR=dpranke@chromium.org Review URL: https://codereview.chromium.org/407623002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284188 0039d316-1c4b-4281-b951-d872f2087c98
-
tonyg@chromium.org authored
Revert of [Telemetry] Fix a flake in android browser finder. (https://codereview.chromium.org/394423002/) Reason for revert: BUG=395228 Original issue's description: > [Telemetry] Fix a flake in android browser finder. > > Traceback (most recent call last): > File "tools/perf/../telemetry/telemetry/decorators.py", line 50, in wrapper > func(*args, **kwargs) > File "/b/build/slave/Android_Tests/build/src/tools/perf/benchmarks/benchmark_unittest.py", line 51, in BenchmarkSmokeTest > self.assertEqual(0, SinglePageBenchmark().Run(options), > File "tools/perf/../telemetry/telemetry/benchmark.py", line 84, in Run > results = page_runner.Run(test, ps, expectations, args) > File "tools/perf/../telemetry/telemetry/page/page_runner.py", line 346, in Run > possible_browser = browser_finder.FindBrowser(finder_options) > File "tools/perf/../telemetry/telemetry/decorators.py", line 26, in Cacher > cache[key] = obj(*args, **kwargs) > File "tools/perf/../telemetry/telemetry/core/browser_finder.py", line 73, in FindBrowser > curr_browsers = finder.FindAllAvailableBrowsers(options) > File "tools/perf/../telemetry/telemetry/core/backends/chrome/android_browser_finder.py", line 214, in FindAllAvailableBrowsers > pids = [p.pid for p in psutil.process_iter() if 'adb' in p.name] > File "/usr/lib/python2.7/dist-packages/psutil/__init__.py", line 161, in name > cmdline = self.cmdline > File "/usr/lib/python2.7/dist-packages/psutil/__init__.py", line 188, in cmdline > return self._platform_impl.get_process_cmdline() > File "/usr/lib/python2.7/dist-packages/psutil/_pslinux.py", line 327, in wrapper > raise NoSuchProcess(self.pid, self._process_name) > NoSuchProcess: process no longer exists (pid=13764) > > Observed here: > http://build.chromium.org/p/chromium.linux/builders/Android%20Tests/builds/14626/steps/telemetry_perf_unittests/logs/stdio > > BUG= > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284144 TBR=dtu@chromium.org NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/407633002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284187 0039d316-1c4b-4281-b951-d872f2087c98
-
alekseys@chromium.org authored
Fix infinite loop around FocusManager.onDocumentFocus_() when getFocusParent() returns document.body (encountered the problem trying to add FocusManager to Print Preview). BUG=276784 Review URL: https://codereview.chromium.org/398243003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284186 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284185 0039d316-1c4b-4281-b951-d872f2087c98
-
blink-deps-roller@chromium.org authored
http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=178435:178453&mode=html TBR=abarth@chromium.org,johnme@chromium.org,eseidel@chromium.org BUG= Review URL: https://codereview.chromium.org/406593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284184 0039d316-1c4b-4281-b951-d872f2087c98
-
tmandel@chromium.org authored
BUG=336561 Review URL: https://codereview.chromium.org/352583007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284183 0039d316-1c4b-4281-b951-d872f2087c98
-
treib@chromium.org authored
Remove an obsolete "already loaded" check. Allow all component locations, not just Manifest::COMPONENT. BUG=none Review URL: https://codereview.chromium.org/404773003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284182 0039d316-1c4b-4281-b951-d872f2087c98
-
newt@chromium.org authored
This ensures that the local and remote versions of adb are the same, since using different versions of adb will probably result in protocol errors. NOTRY=true Review URL: https://codereview.chromium.org/395393002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284181 0039d316-1c4b-4281-b951-d872f2087c98
-
yoshiki@chromium.org authored
This patch shows a message like "Playing on xxxx", andd adds the dummy video element which will be used to control the casting video. BUG=305511 TEST=none Review URL: https://codereview.chromium.org/397813004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284180 0039d316-1c4b-4281-b951-d872f2087c98
-
jsbell@chromium.org authored
Most of these are non-const refs that should be pointers. BUG=381456 TBR=dgrogan@chromium.org Review URL: https://codereview.chromium.org/405433007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284179 0039d316-1c4b-4281-b951-d872f2087c98
-