- 08 Jan, 2013 40 commits
-
-
jschuh@chromium.org authored
BUG=167680 Review URL: https://chromiumcodereview.appspot.com/11617006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175496 0039d316-1c4b-4281-b951-d872f2087c98
-
pph34r@gmail.com authored
Review URL: https://chromiumcodereview.appspot.com/11791020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175495 0039d316-1c4b-4281-b951-d872f2087c98
-
jam@chromium.org authored
BUG=154081 Review URL: https://codereview.chromium.org/11787005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175494 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175493 0039d316-1c4b-4281-b951-d872f2087c98
-
macpherson@chromium.org authored
http://trac.webkit.org/log/?rev=139010&stop_rev=138895&verbose=on TBR=dglazkov BUG= Review URL: https://codereview.chromium.org/11813002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175492 0039d316-1c4b-4281-b951-d872f2087c98
-
dbeam@chromium.org authored
[javac] /b/build/slave/Android_Builder__dbg_/build/src/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClientWrapper.java:62: cannot find symbol [javac] symbol : method onEvaluateJavaScriptResult(int,java.lang.String) [javac] location: class org.chromium.content.browser.test.util.TestContentViewClient [javac] super.onEvaluateJavaScriptResult(id, jsonResult); [javac] ^ [javac] /b/build/slave/Android_Builder__dbg_/build/src/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClientWrapper.java:63: cannot find symbol [javac] symbol : method onEvaluateJavaScriptResult(int,java.lang.String) [javac] location: class org.chromium.content.browser.ContentViewClient [javac] mWrappedClient.onEvaluateJavaScriptResult(id, jsonResult); [javac] ^ [javac] /b/build/slave/Android_Builder__dbg_/build/src/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClientWrapper.java:60: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] 3 errors > Switch Android code to use ExecuteJavascriptInWebFrameCallbackResult. > > BUG=168169 > TEST=should all pass > > > Review URL: https://chromiumcodereview.appspot.com/11788005 TBR=avi@chromium.org Review URL: https://codereview.chromium.org/11778034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175491 0039d316-1c4b-4281-b951-d872f2087c98
-
simon.hong81@gmail.com authored
BUG=NONE TEST=Compiles and test chrome://histograms/Tabs.SadTab Review URL: https://chromiumcodereview.appspot.com/11775012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175490 0039d316-1c4b-4281-b951-d872f2087c98
-
avi@chromium.org authored
BUG=168169 TEST=should all pass Review URL: https://chromiumcodereview.appspot.com/11788005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175489 0039d316-1c4b-4281-b951-d872f2087c98
-
keishi@chromium.org authored
BUG=165338 Review URL: https://chromiumcodereview.appspot.com/11498008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175488 0039d316-1c4b-4281-b951-d872f2087c98
-
viettrungluu@chromium.org authored
Shut down explicitly, rather than doing it in a virtual destructor, which leads to a vtable race. (Possibly also related is http://crbug.com/70075, but I haven't been able to reproduce, so I'll try to re-enable that separately.) BUG=25841 TEST=ipc_tests + TSAN still happy Review URL: https://chromiumcodereview.appspot.com/11761038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175487 0039d316-1c4b-4281-b951-d872f2087c98
-
estade@chromium.org authored
Now that it is only used in one place, this class needlessly increases inheritance complexity BUG=none Review URL: https://chromiumcodereview.appspot.com/11753018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175484 0039d316-1c4b-4281-b951-d872f2087c98
-
xiyuan@chromium.org authored
Extract the code from AppLauncherHandler into a ExtensionEnableFlow so that it can be reused by app list and launcher bar. BUG=157996 TEST=No change. Wait until app list/launcher code changes land to test. R=estade@chromium.org,benwells@chromium.org Review URL: https://chromiumcodereview.appspot.com/11644077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175483 0039d316-1c4b-4281-b951-d872f2087c98
-
rpaquay@chromium.org authored
* Apply original change from CL 10389088 (https://chromiumcodereview.appspot.com/10389088) * Change BinaryValue to use "scoped_ptr<char[]>" instead of "scoped_ptr<char>". By contract, the memory owned should be deleted with the "delete[]" operator. BUG=127630 Review URL: https://chromiumcodereview.appspot.com/11745016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175482 0039d316-1c4b-4281-b951-d872f2087c98
-
boliu@chromium.org authored
SurfaceTexture.detachFromGLContext is not present in ICS and the old workaround of using a NullCompositor lead to the test creating TextureImageTransportSurface in ImageTransportSurface::CreateSurface. This path is wrong and not well tested in single-process mode and recently lead to a deadlock hang in release build only tests (see bug). Fixed by creating the real compositor but just avoid calling the missing method in ICS. The Java method is loaded lazily so this does not cause an error at run time. BUG=167236,161864 Android only change. Ran through Android trybots. NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11787031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175480 0039d316-1c4b-4281-b951-d872f2087c98
-
tzik@chromium.org authored
Without this, we have no chance to start polling for new app until we make a local change. BUG=167739 TEST=DriveFileSyncServiceTest.RegisterNewOrigin Review URL: https://codereview.chromium.org/11665029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175479 0039d316-1c4b-4281-b951-d872f2087c98
-
thestig@chromium.org authored
> [Media Galleries] Add an ImageCaptureCore listener for Mac. (part 2) > > This listener uses the ImageCapture API to watch for attach and detach > events of PTP devices and other devices which can be read through the > library. It forwards such notifications through the SystemMonitor. > > Also provides an API for clients to access such devices directly and > retrieve the media contents from them. > > R=thestig@chromium.org,sail@chromium.org > BUG=151681 > > > Review URL: https://chromiumcodereview.appspot.com/11442057 TBR=gbillock@chromium.org Review URL: https://codereview.chromium.org/11779036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175475 0039d316-1c4b-4281-b951-d872f2087c98
-
tzik@chromium.org authored
This change reduces the number of usage cache update on appending data to a file, and improves the write performance from 75.72 MB/s (σ = 23.255) to 229.238 MB/s (σ = 31.442) on a benchmark. https://www.googledrive.com/host/0B0EZi1x_1MtFSnNRZy1nalVNdlk/append-write.html BUG=166158 Review URL: https://codereview.chromium.org/11639037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175474 0039d316-1c4b-4281-b951-d872f2087c98
-
gman@chromium.org authored
With this change all contexts should share the same features. Another CL can try to make it so there is only one global instance of a FeatureInfo. BUG=168628 Review URL: https://chromiumcodereview.appspot.com/11791032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175473 0039d316-1c4b-4281-b951-d872f2087c98
-
gbillock@chromium.org authored
This listener uses the ImageCapture API to watch for attach and detach events of PTP devices and other devices which can be read through the library. It forwards such notifications through the SystemMonitor. Also provides an API for clients to access such devices directly and retrieve the media contents from them. R=thestig@chromium.org,sail@chromium.org BUG=151681 Review URL: https://chromiumcodereview.appspot.com/11442057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175471 0039d316-1c4b-4281-b951-d872f2087c98
-
dmazzoni@chromium.org authored
Still need to investigate when this might happen and how to fix it, but this will allow it to just break accessibility rather than crashing the whole browser in the meantime. BUG=161726 Review URL: https://chromiumcodereview.appspot.com/11787024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175470 0039d316-1c4b-4281-b951-d872f2087c98
-
pauljensen@chromium.org authored
lookups. The measurement code has been in long enough to draw conclusions. This is simply a revert of r151312 and r151710. BUG=139811 Review URL: https://chromiumcodereview.appspot.com/11734020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175469 0039d316-1c4b-4281-b951-d872f2087c98
-
sschmitz@chromium.org authored
Part of work to use standard font sizes instead of "DeriveFont +/- N Pixels". Also per direction of designers and PM to move to Medium non-bold instead of "offsize" bold font for titles and headers. Changed UIs were seen and ok-ed by either sgabriel@ or kuscher@. Please see crbug.com/166679 for details and screenshots BUG=166679, 137349 TEST=manual for sad tab: navigate to chrome://crash for password generation bubble: run with flag --enable-password-generation, navigate to www.target.com and begin to create an account, click on password text box for global error bubble: I modified code in browser.cc to force an error for extension: Chrome Web Store -> Extensitons -> Click on ADD TO CHROME Review URL: https://chromiumcodereview.appspot.com/11698005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175468 0039d316-1c4b-4281-b951-d872f2087c98
-
pkasting@chromium.org authored
Change infobar creation to use a public static Create() method on the infobar delegate classes. Make constructors as private as possible. This has several purposes: * By preventing direct instantiation, it prevents callers from leaking if they create an infobar and don't add it to an InfoBarService. * By moving decision-making about when to show infobars into these Create() functions, there's a pattern for where such code should go, and caller code becomes simpler and easier to read. * The two bullets above together mean that for infobars which should only be displayed in certain circumstances, code can't accidentally bypass the decision logic. * It enables us to eliminate a common InfoBarService* temp on the caller side since the caller no longer needs to both pass the pointer to the infobar _and_ call AddInfoBar() on the pointer. This was also a somewhat redundant-looking pattern. * It makes it easier to change the ownership model for infobars in the future by limiting the affected callsites to only the Create() functions. Note that right now, this still feels pretty redundant since we pass all the same args to Create() functions as constructors most times. In the new ownership model constructors will no longer need to take InfoBarService*s, which will make this better. Additionally, this makes AddInfoBar()/ReplaceInfoBar() take scoped_ptr<>s to indicate they're receiving ownership. This sort of change is easy to make since we only need change the create functions. This change also has a functional effect: it eliminates some cases where we tried to only show infobars when no other infobars were already showing (discussed and approved by Glen). BUG=none TEST=none Review URL: https://codereview.chromium.org/11644059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175467 0039d316-1c4b-4281-b951-d872f2087c98
-
kochi@chromium.org authored
This fixes a login hang with content security policy error output. BUG=168525 TEST=manually login on Chrome OS. Review URL: https://chromiumcodereview.appspot.com/11778017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175466 0039d316-1c4b-4281-b951-d872f2087c98
-
mpearson@chromium.org authored
This comment points to a bug that only applies to HistoryQuick. It's not appropriate to link to here. BUG= Review URL: https://chromiumcodereview.appspot.com/11734029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175465 0039d316-1c4b-4281-b951-d872f2087c98
-
cevans@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/11787030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175464 0039d316-1c4b-4281-b951-d872f2087c98
-
mohsen@chromium.org authored
Now that the new sourceDevice field introduced in WebGestureEvent is used in WebKit, we can safely remove references to the old one (in WebGestureEvent::data.flingStart) in Chromium, so that the old one can be completely removed from WebKit. BUG=164389 Review URL: https://chromiumcodereview.appspot.com/11740009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175463 0039d316-1c4b-4281-b951-d872f2087c98
-
rlarocque@chromium.org authored
Introduces a new class that represents an item's position within an arbitrarily ordered list. It's currently biased towards bookmarks, but it could be made more generic if there was a need for it. This class supports inserting before, after, or between other UniquePosition items. It never runs out of position values, though it can use up unbounded space in the worst case. In addition to the basics mentioned above, it also has support for other functions that are particularly useful for bookmark sync. The positions are serializable and de-serializable, for storage and transimission. They also support conversion to and from int64 values, allowing them to operate with old-style positions. The class is not currently used anywhere. This commit includes only its implementation and some tests. BUG=145412 Review URL: https://chromiumcodereview.appspot.com/11569045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175462 0039d316-1c4b-4281-b951-d872f2087c98
-
dmazzoni@chromium.org authored
BUG=168257 Review URL: https://chromiumcodereview.appspot.com/11782015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175461 0039d316-1c4b-4281-b951-d872f2087c98
-
kalman@chromium.org authored
over a year ago, but it's our only test for some features of extension messaging, and we've recently been changing that. If ExtensionApiTest.Messaging starts failing, this will be why. However, don't get it confused with PlatformAppApiTest.Messaging. Those failures are unrelated. BUG=96725 Review URL: https://codereview.chromium.org/11778010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175458 0039d316-1c4b-4281-b951-d872f2087c98
-
nona@chromium.org authored
Otherwise IBusUiController will be used after freed by ibus operation sent from engine. BUG=168310 TEST=None Review URL: https://chromiumcodereview.appspot.com/11777010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175454 0039d316-1c4b-4281-b951-d872f2087c98
-
sabercrombie@chromium.org authored
Using std::vector caused crashes in cases where a Dispatch call resulted in a Dispatcher being added and that addition provoked reallocation of the vector's storage. This resulted in a bad iterator dereference in the dispatch loop. BUG=chrome-os-partner:15544 TEST=Monitor unplugging/power removal still works. The crash case no longer crashes. Review URL: https://chromiumcodereview.appspot.com/11593015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175452 0039d316-1c4b-4281-b951-d872f2087c98
-
stevenjb@chromium.org authored
As we define new behavior for panels in the launcher (e.g. right aligned icons), we want to treat v1 panels (TYPE_EXTENSION_PANEL) as apps, not panels. BUG=168229 Review URL: https://chromiumcodereview.appspot.com/11741023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175449 0039d316-1c4b-4281-b951-d872f2087c98
-
nick@chromium.org authored
Two techniques are introduced implementing RGB->YV12 conversion using fragment shaders. This functionality is added to AcceleratedSurfaceTransformer, and validated by new tests checking accuracy against a reference implementation. The faster ("MRT") technique needs hardware support for multiple simultaneous render targets, and takes two passes, the second pass reading one-quarter as much data as the first pass. The slower "WithoutMRT" technique requires three passes and reads the full RGB input with each pass. On two machines I tested (one NVIDIA, one Intel), the fast path was about twice the speed of the dumb path. On an NVIDIA Quadro 6000 using the fast path, at 1280x720 frame size, conversion ran at 2838 fps. Accuracy was within two bits of the software implementation, and usually within one bit. BUG=161537 TEST=Included unit tests. Review URL: https://codereview.chromium.org/11280318 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175446 0039d316-1c4b-4281-b951-d872f2087c98
-
pilgrim@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/11773005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175444 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175443 0039d316-1c4b-4281-b951-d872f2087c98
-
dgrogan@chromium.org authored
The only change applicable to chromium is a fix for a bug that causes corruption. The corruption manifests as a missing sst file that renders the database unopenable. BUG=168649 Review URL: https://chromiumcodereview.appspot.com/11775018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175442 0039d316-1c4b-4281-b951-d872f2087c98
-
frankf@google.com authored
This is the first attempt at splitting the scripts into meaningful packages and make dependencies explicit. BUG=167331 Review URL: https://codereview.chromium.org/11649008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175441 0039d316-1c4b-4281-b951-d872f2087c98
-
danhn@chromium.org authored
BUG=157495 TEST=src/tools/telemetry/run_tests --browser=system TabTest.testActivateTab Review URL: https://chromiumcodereview.appspot.com/11663011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175440 0039d316-1c4b-4281-b951-d872f2087c98
-
estade@chromium.org authored
Change comboboxes to dropdown menus, per the latest mocks. Allow users to switch between manual entry and pre-fill modes. lots of TODOs, but this seems like a good stopping point. BUG=157270,157273 Review URL: https://chromiumcodereview.appspot.com/11743036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175439 0039d316-1c4b-4281-b951-d872f2087c98
-