- 13 Feb, 2014 40 commits
-
-
danno@chromium.org authored
R=danno@chromium.org Review URL: https://codereview.chromium.org/164593002 Patch from Michael Starzinger <mstarzinger@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251119 0039d316-1c4b-4281-b951-d872f2087c98
-
gavinp@chromium.org authored
The current mechanism by which these convenience macros find their backend is confusing, at best; the macro has the form of our include guard macros, but describes a CC file. Embedded within the histogram_macros.h then is an abstraction violation: it just knows which object has backend information depending on which file it was included from. Some downstream reviews have made this even more confusing; rather than continue this, let's parameterize the backend object to the convenience macros, so each translation unit is responsible for knowing its own context. R=mmenke@chromium.org, rvargas@chromium.org TBR=mmenke@chromium.org BUG=None Review URL: https://codereview.chromium.org/140893013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251116 0039d316-1c4b-4281-b951-d872f2087c98
-
viettrungluu@chromium.org authored
The test runner can then inject dependencies into it (just as we do for system and gles2). This removes public/tests's base dependency. R=sky@chromium.org Review URL: https://codereview.chromium.org/160003007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251115 0039d316-1c4b-4281-b951-d872f2087c98
-
tim@chromium.org authored
> Revert of [sync]: add ManagedUserSigninManagerWrapper and pass to ProfileSyncService (https://codereview.chromium.org/137753012/) > > Reason for revert: > Possible build bustage on Win64. > > Original issue's description: > > [sync]: add ManagedUserSigninManagerWrapper and pass to ProfileSyncService > > > > BUG=80194 > > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250814 > > TBR=bauerb@chromium.org,rogerta@chromium.org,pavely@chromium.org > NOTREECHECKS=true > NOTRY=true > BUG=80194 > > Review URL: https://codereview.chromium.org/162943002 TBR=tim@chromium.org Review URL: https://codereview.chromium.org/163983005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251114 0039d316-1c4b-4281-b951-d872f2087c98
-
asvitkine@chromium.org authored
Speculative re-land. Sync tests are passing now, but we're not sure which revert fixed them. Let's see if this makes the tree red again or not. > Revert 250826 "Remove Profile dependency from apps::ShellWindow" > > Speculative revert for failures: > > http://build.chromium.org/p/chromium.win/builders/Win7%20Sync%20x64/builds/11201 > > > Remove Profile dependency from apps::ShellWindow > > > > Part of the effort to remove src/chrome dependencies from src/{apps, extensions} > > > > BUG=341690 > > TBR=tapted@chromium.org,stevenjb@chromium.org > > > > Review URL: https://codereview.chromium.org/157813007 > > TBR=rockot@chromium.org > > Review URL: https://codereview.chromium.org/163913004 TBR=asvitkine@chromium.org Review URL: https://codereview.chromium.org/164613002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251112 0039d316-1c4b-4281-b951-d872f2087c98
-
davemoore@chromium.org authored
BUG=None TEST=None TBR=darin Review URL: https://codereview.chromium.org/164313002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251111 0039d316-1c4b-4281-b951-d872f2087c98
-
asvitkine@chromium.org authored
Relanding, this wasn't the cause of the failures. > Revert 250823 "With --site-per-process, avoid a crash when a sub..." > > Speculative revert to see if the navigation changes here are causing > sync_integration_tests to fail on: > > http://build.chromium.org/p/chromium.win/builders/Win7%20Sync%20x64/builds/11217 > > > With --site-per-process, avoid a crash when a subframe process goes away. > > > > We need to clear out the children of any nodes that are affected by the > > crash, not the entire FrameTree. > > > > BUG=338508 > > TEST=Killing an iframe process with --site-per-process shows a green rectangle. > > R=ajwong@chromium.org, nasko@chromium.org > > > > Review URL: https://codereview.chromium.org/156303004 > > TBR=creis@chromium.org > > Review URL: https://codereview.chromium.org/163703004 TBR=asvitkine@chromium.org Review URL: https://codereview.chromium.org/163183005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251110 0039d316-1c4b-4281-b951-d872f2087c98
-
brettw@chromium.org authored
Mac and Windows are at 251082, and Linux is at 251083. R=scottmg@chromium.org TBR=scottmg Review URL: https://codereview.chromium.org/164233002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251109 0039d316-1c4b-4281-b951-d872f2087c98
-
kalman@chromium.org authored
BUG=294008 R=yoz@chromium.org Review URL: https://codereview.chromium.org/164193003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251108 0039d316-1c4b-4281-b951-d872f2087c98
-
asvitkine@chromium.org authored
> Revert 250830 "Exclude notification strings for builds that dont..." > > > Exclude notification strings for builds that dont use it. > > > > BUG=326023 > > > > Review URL: https://codereview.chromium.org/160113002 > > Broke win64 sync tests, e.g. output: > > c:\b\build\slave\cr-win-rel-x64\build\src\chrome\browser\sync\test\integration\sync_test.cc(707): error: Value of: UTF16ToASCII(browser()->tab_strip_model()->GetActiveWebContents()-> GetTitle()) > Actual: "" > Expected: "Notifications enabled" > > TBR=aurimas@chromium.org > > Review URL: https://codereview.chromium.org/163713002 Reverting the revert, since this wasn't responsible for the failures. TBR=asvitkine@chromium.org Review URL: https://codereview.chromium.org/164573002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251106 0039d316-1c4b-4281-b951-d872f2087c98
-
mpcomplete@google.com authored
cause a variable name collision in JS. BUG=325500 R=darin@chromium.org Review URL: https://codereview.chromium.org/159983003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251105 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251104 0039d316-1c4b-4281-b951-d872f2087c98
-
scottmg@chromium.org authored
r251066 reverted the backgrounding of the print dialog. Before the revert http://src.chromium.org/viewvc/chrome/trunk/src/printing/printing_context_win_unittest.cc?r1=232466&r2=232611 assumed they were going to be async, so added RunLoop. Now that the dialog is synchronous again, remove that code which is causing the MessageLoop to complain. TBR=vitalybuka@chromium.org R=asvitkine@chromium.org BUG=180997,342697 Review URL: https://codereview.chromium.org/164483002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251102 0039d316-1c4b-4281-b951-d872f2087c98
-
asvitkine@chromium.org authored
Speculative revert for failures here: http://build.chromium.org/p/chromium.win/builders/Win7%20Sync%20x64/builds/11201 > Add a UMA stat to track if the Browser blacklist is Set on the Renderer > > This shouldn't be happening, but we got some crash reports suggesting it > does. Unable to repo locally so this stat will verify it does occur and > then can be used to verify our fixes actually fix it. > > BUG=329023 > > Review URL: https://codereview.chromium.org/140763008 TBR=csharp@chromium.org Review URL: https://codereview.chromium.org/163633005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251095 0039d316-1c4b-4281-b951-d872f2087c98
-
asvitkine@chromium.org authored
Speculative revert for failures: http://build.chromium.org/p/chromium.win/builders/Win7%20Sync%20x64/builds/11201 > Remove Profile dependency from apps::ShellWindow > > Part of the effort to remove src/chrome dependencies from src/{apps, extensions} > > BUG=341690 > TBR=tapted@chromium.org,stevenjb@chromium.org > > Review URL: https://codereview.chromium.org/157813007 TBR=rockot@chromium.org Review URL: https://codereview.chromium.org/163913004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251094 0039d316-1c4b-4281-b951-d872f2087c98
-
mkosiba@chromium.org authored
This incorporates a neccessary fix. BUG=None TEST=None TBR=torne@chromium.org Review URL: https://codereview.chromium.org/164243002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251091 0039d316-1c4b-4281-b951-d872f2087c98
-
asvitkine@chromium.org authored
Speculative revert to see if the navigation changes here are causing sync_integration_tests to fail on: http://build.chromium.org/p/chromium.win/builders/Win7%20Sync%20x64/builds/11217 > With --site-per-process, avoid a crash when a subframe process goes away. > > We need to clear out the children of any nodes that are affected by the > crash, not the entire FrameTree. > > BUG=338508 > TEST=Killing an iframe process with --site-per-process shows a green rectangle. > R=ajwong@chromium.org, nasko@chromium.org > > Review URL: https://codereview.chromium.org/156303004 TBR=creis@chromium.org Review URL: https://codereview.chromium.org/163703004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251090 0039d316-1c4b-4281-b951-d872f2087c98
-
mnissler@chromium.org authored
The previous code would fail for the case of the app window already present before the observer gets registered. BUG=chromium:343540 Review URL: https://codereview.chromium.org/163493002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251088 0039d316-1c4b-4281-b951-d872f2087c98
-
bshe@chromium.org authored
This CL add the following tests: 1. test chrome.setWallpaper can set ChromeOS wallpaper from jpg or png formatted arraybuffer. 2. test chrome.setWallpaper can set ChromeOS wallpaper from a valid url that point to a jpg or png image. 3. test an invalide URL wont set wallpaper 4. test a new wallpaper request will cancel previous unfinished request BUG=176183 Review URL: https://codereview.chromium.org/153093010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251087 0039d316-1c4b-4281-b951-d872f2087c98
-
sdefresne@chromium.org authored
Since iOS 7, the iPhone 5s, the iPad Air and the iPad Mini Retina supports 64-bits binaries. This requires building a fat binary with support for both armv7 and arm64 (and optionally armv7s). In an effort to prepare building such a fat binary for Chrome on iOS, introduce a "target_subarch" variable that control the variant we want to build (32-bit only, 64-bit only -- mainly for debugging, fat binary). This require introducing way to use the clang compiler shipped with Xcode, as the clang compiler shipped with Chromium code does not support "arm64" architecture yet (Apple has not yet opensource the implementation). BUG=341453, 314720 R=mark@chromium.org Review URL: https://codereview.chromium.org/156473005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251083 0039d316-1c4b-4281-b951-d872f2087c98
-
avi@chromium.org authored
This partially reverts the "cleanup" of r250260. The "cleaner" version is not equivalent if the call to -[NSWindow animations] returns nil. BUG=none TEST=no change Review URL: https://codereview.chromium.org/148113011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251082 0039d316-1c4b-4281-b951-d872f2087c98
-
brettw@chromium.org authored
Previously we would check for unused args on a per-build basis. In the GYP build we run the build multiple times, and not all args might be declared in all types of builds. For example, clang args would only be relevant for clang builds, which might only be in the host GYP build. Makes unused args errors nonfatal. This was coming up a lot in benign cases. It's important to notify people about unused arguments, but it's not critical to block progress on this problem. R=scottmg@chromium.org Review URL: https://codereview.chromium.org/137713007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251080 0039d316-1c4b-4281-b951-d872f2087c98
-
leng@chromium.org authored
The manager will now wait 400ms after it receives both a request and its view before showing a bubble. This allows permissions that are requested quickly in sequence to be shown together, in only one bubble. Permission requests that occur when there is already a bubble visible are queued and not shown until the current bubble disappears. This simple wait period is probably simpler than the final design, but is a good stepping stone toward a better algorithm. BUG=None Review URL: https://codereview.chromium.org/150103013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251079 0039d316-1c4b-4281-b951-d872f2087c98
-
bshe@chromium.org authored
BUG=NONE Review URL: https://codereview.chromium.org/138913011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251078 0039d316-1c4b-4281-b951-d872f2087c98
-
viettrungluu@chromium.org authored
I'm planning on reusing the name test_support for something slightly different: a dynamic library that can thunk to an implementation provided by the test runner (much like we do for system and gles2). This is so we can remove public/tests's base dependency (by injecting it instead). R=sky@chromium.org Review URL: https://codereview.chromium.org/132353006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251077 0039d316-1c4b-4281-b951-d872f2087c98
-
davemoore@chromium.org authored
BUG=None R=darin@chromium.org, ben Review URL: https://codereview.chromium.org/162213002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251076 0039d316-1c4b-4281-b951-d872f2087c98
-
spang@chromium.org authored
The old default causes weird scaling on the Chromebook Pixel. Try to use the display size to set the scale. TEST=content_shell with embedded=1 on pixel TBR=rjkroege Review URL: https://codereview.chromium.org/131373007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251075 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
This means no file can be opened for write during the test run. R=vadimsh@chromium.org NOTRY=true BUG=116251 Review URL: https://codereview.chromium.org/137133002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251074 0039d316-1c4b-4281-b951-d872f2087c98
-
sadrul@chromium.org authored
The |nestable_tasks_allowed| parameter was always being set to true from the callsites. So get rid of the variable, and use ScopedNestableTaskAllower in the RunWithDispatcher implementations. BUG=none R=sky@chromium.org Review URL: https://codereview.chromium.org/162633002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251072 0039d316-1c4b-4281-b951-d872f2087c98
-
ygorshenin@chromium.org authored
BUG=294477 TEST=browser_tests:CaptivePortalWindowCtorDtor* Review URL: https://codereview.chromium.org/163413002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251071 0039d316-1c4b-4281-b951-d872f2087c98
-
scottmg@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251070 0039d316-1c4b-4281-b951-d872f2087c98
-
pilgrim@chromium.org authored
BUG=338338 Review URL: https://codereview.chromium.org/157053010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251069 0039d316-1c4b-4281-b951-d872f2087c98
-
noms@chromium.org authored
Because we draw things in reverse in Cocoa, we should iterate through the avatar items in reverse too. BUG=341972 Review URL: https://codereview.chromium.org/149603009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251068 0039d316-1c4b-4281-b951-d872f2087c98
-
scottmg@chromium.org authored
Per discussion with ananta, opening a system modal dialog from a background thread is a bad idea, so reverting this (from long ago). Windows doesn't preserve the order correctly when the window is not on the main UI thread, and in the bug here, it interacts very badly with the IME toolbar window, causing the modal print dialog to go behind the browser window in Z order making chrome appear to be hung. The original goal was to fix tasks not being dispatched while the dialog was open. We can instead use the ScopedNestedTaskAllower as we've done for other system modal dialogs which I'll do in a separate CL. BUG=342697,180997 > Use BaseShellDialog for print dialog on Windows > > This puts the print dialog on a background thread which is necessary so other > top level windows can keep painting as Aura does the compositor swaps on the > UI thread. > > R=sky@chromium.org,vitalybuka@chromium.org > > > Review URL: https://codereview.chromium.org/27441003 TBR=scottmg@chromium.org,sky@chromium.org,vitalybuka@chromium.org,ananta@chromium.org Review URL: https://codereview.chromium.org/164013002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251066 0039d316-1c4b-4281-b951-d872f2087c98
-
bulach@chromium.org authored
NOTRY=True Review URL: https://codereview.chromium.org/163883002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251065 0039d316-1c4b-4281-b951-d872f2087c98
-
vmpstr@chromium.org authored
This patch simplifies the priority math calculation and moves it into layers space. This makes the priority to be less correct, since we're inverse transforming the viewport into layer space instead of forward transforming tiles into screen space in all cases. In particular, with perspective and rotated layers, we will be marking more tiles as visible than before. This should be OK, since the amount of those layers in practice is limited. BUG=339142 Review URL: https://codereview.chromium.org/140513006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251064 0039d316-1c4b-4281-b951-d872f2087c98
-
asvitkine@chromium.org authored
> Move Windows-specific code into NativeAppWindowViewsWin > > NativeAppWindowViews has Windows-specific code in #ifdefs. Move this > into derived class NativeAppWindowViewsWin. > > BUG=None > > Review URL: https://codereview.chromium.org/161753002 Broke windows build: c:\b\build\slave\win\build\src\chrome\browser\ui\views\apps\native_app_window_views_win.cc(36) : error C2027: use of undefined type 'base::SequencedWorkerPool' c:\b\build\slave\win\build\src\base\threading\thread_restrictions.h(82) : see declaration of 'base::SequencedWorkerPool' c:\b\build\slave\win\build\src\chrome\browser\ui\views\apps\native_app_window_views_win.cc(36) : error C2227: left of '->RunsTasksOnCurrentThread' must point to class/struct/union/generic type TBR=tmdiep@chromium.org Review URL: https://codereview.chromium.org/163963002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251063 0039d316-1c4b-4281-b951-d872f2087c98
-
bulach@chromium.org authored
NOTRY=True Review URL: https://codereview.chromium.org/163873002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251060 0039d316-1c4b-4281-b951-d872f2087c98
-
jeremy@chromium.org authored
* Fix FD leak when reading output file. * Update OS X version check. BUG=None Review URL: https://codereview.chromium.org/163183003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251059 0039d316-1c4b-4281-b951-d872f2087c98
-
earthdok@chromium.org authored
BUG=313751 TBR=glider@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/163783003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251058 0039d316-1c4b-4281-b951-d872f2087c98
-