0
Commit Graph

10 Commits

Author SHA1 Message Date
miu@chromium.org
68c550cfef Replace AudioSilenceDetector with an AudioPowerMonitor.
This will allow the tab audio UI indicator to animate/paint based on the real-time measured power level of the audio stream being played.  This change includes necessary plumbing of the power measurement value all the way from audio internals to the fringes of the tab UI.

BUG=178934

Review URL: https://chromiumcodereview.appspot.com/14600025

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213042 0039d316-1c4b-4281-b951-d872f2087c98
2013-07-23 05:24:46 +00:00
thakis@chromium.org
7fe73a7231 Use std::isfinite().
More standards-comformant, also needed for C++11 on Linux.

BUG=233330

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195020 0039d316-1c4b-4281-b951-d872f2087c98
2013-04-18 22:41:16 +00:00
stuartmorgan@chromium.org
770f109a09 Use isfinite() on all POSIX platforms
Based on some research online, it appears this should work everywhere.

BUG=None
TEST=None


Review URL: https://chromiumcodereview.appspot.com/10700183

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146361 0039d316-1c4b-4281-b951-d872f2087c98
2012-07-12 16:25:49 +00:00
ajwong@chromium.org
01c86ece02 Remove the rest of #pragma once in one big CL.
For context see this thread:
  https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II

TBR=thakis,pkasting,jam

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
2012-07-11 19:01:43 +00:00
stuartmorgan@chromium.org
c894081a7f Use isfinite instead of finite on Mac
According to math.h in the 10.6 SDK, finite is deprecated in favor of isfinite, and finite isn't available on iOS.

BUG=None
TEST=None


Review URL: https://chromiumcodereview.appspot.com/10704126

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145876 0039d316-1c4b-4281-b951-d872f2087c98
2012-07-10 14:11:38 +00:00
thakis@chromium.org
32b76eff6f #pragma once for app, base, chrome, gfx, ipc, net, skia, views
BUG=50273
TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux

TBR: erg

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
2010-07-26 23:08:24 +00:00
evan@chromium.org
93f21e4ceb Solaris: various edits towards compiling Chromium on Solaris. Changed __Solaris__ to __sun. Defined NAME_MAX as MAXNAMLEN for systems where it is undefined.
BUG=30101
TEST=compiles
Patch by James Choi <jchoi42 at pha.jhu.edu>

Review URL: http://codereview.chromium.org/652166

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43297 0039d316-1c4b-4281-b951-d872f2087c98
2010-04-01 00:35:15 +00:00
deanm@chromium.org
7afa9c92e0 NO CODE CHANGE
Normalize end of file newlines in base/.  All files end in a single newline.

Review URL: http://codereview.chromium.org/42011


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11329 0039d316-1c4b-4281-b951-d872f2087c98
2009-03-10 13:39:31 +00:00
license.bot
bf09a5036c Use a more compact license header in source files.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98
2008-08-24 00:55:55 +00:00
mmentovai@google.com
d9023abb77 Cross-platform portability fixes for JSONReader. Adds generic string-to-double parsing and tests in string_util.
There is one behavior change here: numbers which "look" like integers by virtue of being free of '.', 'e', and 'E' are no longer rejected if they're not within the [INT_MIN .. INT_MAX] range.  Instead, they'll be parsed and stored internally as doubles.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@519 0039d316-1c4b-4281-b951-d872f2087c98
2008-08-07 17:15:41 +00:00