- 22 Jul, 2014 40 commits
-
-
ericzeng@chromium.org authored
This CL applies the default system font style to extension pages. Extensions that specify their own fonts will still override these styles. BUG=141703, 395319 Review URL: https://codereview.chromium.org/400343002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284597 0039d316-1c4b-4281-b951-d872f2087c98
-
zhaoqin@google.com authored
R=bruening@chromium.org NOTRY=TRUE BUG=NONE Review URL: https://codereview.chromium.org/406853003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284596 0039d316-1c4b-4281-b951-d872f2087c98
-
bolian@chromium.org authored
Review URL: https://codereview.chromium.org/398823010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284595 0039d316-1c4b-4281-b951-d872f2087c98
-
rucifer1217@gmail.com authored
BUG=none Review URL: https://codereview.chromium.org/396273004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284594 0039d316-1c4b-4281-b951-d872f2087c98
-
jamescook@chromium.org authored
src/extensions depends on chrome::NOTIFICATION_PROFILE_CREATED to support deferred loading of extension background pages when the profile isn't ready yet. This is a layering violation. * Remove Chrome concepts like "browser window ready" and "profile created" from ProcessManager. Introduce ProcessManagerDelegate with a general concept of deferring background page loading. * Consolidate all the tricky Chrome-specific background page loading rules into ChromeProcessManagerDelegate. This keeps all the rules in one place. Annotate each block of special case code with the bug that inspired it. * Extend unit test coverage for ProcessManager. This will make it easier to eliminate chrome::NOTIFICATION_PROFILE_DESTROYED in ProcessManager in a later CL. (Original CL https://codereview.chromium.org/381283002 broke valgrind bots because it was initializing left-over BrowserContextKeyedServices from tests running earlier in the same process.) BUG=392658 TEST=unit_tests ProcessManagerTest, browser_tests ProcessManagerBrowserTest, manual Review URL: https://codereview.chromium.org/408523005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284593 0039d316-1c4b-4281-b951-d872f2087c98
-
chrishtr@chromium.org authored
This makes lookups of a WebPreferences field fast. In order do this, add code to listen to all preferences updates in order to recompute the cache. BUG=390799 Review URL: https://codereview.chromium.org/373323003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284592 0039d316-1c4b-4281-b951-d872f2087c98
-
boliu@chromium.org authored
Frameworks destroys the underlying EGLContext on after certain levels of onTrimMemory, so webview must also release its hardware draw resources to avoid using stale references. Factor out release hardware resource code in aw_contents.cc and browser_view_renderer.cc, and call it in onTrimMemory. BUG=395657 Review URL: https://codereview.chromium.org/408803002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284591 0039d316-1c4b-4281-b951-d872f2087c98
-
jamescook@chromium.org authored
The previous version of this test could create up to 4 TestingProfiles: 1. TestingProfile from BrowserWithTestWindowTest::CreateProfile 2. TestingProfileWithHostZoomMap in the test body 3. An incognito version created by (2) via GetOffTheRecordProfile(). 4. An incognito version created in the test body Also the master/incognito relationships between these profiles are unclear. Reduce this to the 2 needed instances: 1. TestingProfileWithHostZoomMap owned by BrowserWithTestWindowTest 2. An incognito version in the test body BUG=395329 TEST=unit_tests OffTheRecordProfileImplTest.* Review URL: https://codereview.chromium.org/403103003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284590 0039d316-1c4b-4281-b951-d872f2087c98
-
aiguha@chromium.org authored
This CL contains the implementation of PortAllocatorFactoryInterface in peerconnectioninterface.h. It bridges the gap in port allocation objects between WebRTC and Chromium. The factory produces a ChromiumPortAllocator that can successfully be used by the PeerConnection API. Review URL: https://codereview.chromium.org/398813003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284589 0039d316-1c4b-4281-b951-d872f2087c98
-
scherkus@chromium.org authored
With compositing enabled by default this UMA always reports "active". Review URL: https://codereview.chromium.org/405963004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284588 0039d316-1c4b-4281-b951-d872f2087c98
-
xhwang@chromium.org authored
BUG=381484 TEST=Tested on Windows. Review URL: https://codereview.chromium.org/404613003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284587 0039d316-1c4b-4281-b951-d872f2087c98
-
liyanhou@chromium.org authored
Add an app icon mask (16*16, or 32*32 for retina display) on the bottom right corner of notifications to indicate source of the notification. The app icon is displayed in a way that takes only the alpha channel of the image passed in, masks it with white foreground and grey background. BUG=284592 Review URL: https://codereview.chromium.org/308053004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284586 0039d316-1c4b-4281-b951-d872f2087c98
-
hyunki.baik@samsung.com authored
This is similar idea which was already applied in png_codec.cc. https://codereview.chromium.org/397673002/ (Sorry for making another review request.) BUG=none R=erg@chromium.org, sky@chromium.org, dcheng@chromium.org TEST(DONE&PASSED)=gfx_unittests --gtest_filter="JPEGCodec*" Review URL: https://codereview.chromium.org/404793004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284585 0039d316-1c4b-4281-b951-d872f2087c98
-
kouhei@chromium.org authored
Revert of [Telemetry] Disable a Dromaeo benchmark on XP due to OOM. (https://codereview.chromium.org/271583003/) Reason for revert: The issue is probably fixed by Blink r176006. Original issue's description: > [Telemetry] Disable a Dromaeo benchmark on XP due to OOM. > > BUG=323782 > NOTRY=True > TBR=dtu@chromium.org > NOTREECHECKS=True > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268666 NOTRY=true BUG=323782 TBR=tonyg Review URL: https://codereview.chromium.org/407023002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284583 0039d316-1c4b-4281-b951-d872f2087c98
-
https://codereview.chromium.org/410453006/miu@chromium.org authored
Reason for revert: r284521 fixed the underlying problem. Original issue's description: > Disable a flaky test. > > BUG=395726 > TEST=none > TBR=miu > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284516 TBR=pkasting@chromium.org NOTREECHECKS=true NOTRY=true BUG=395726 Review URL: https://codereview.chromium.org/410563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284581 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284580 0039d316-1c4b-4281-b951-d872f2087c98
-
thakis@chromium.org authored
22b31e0 Adjust null object check baca770 Fix remaining -Wdelete-non-virtual-dtor violations on Windows. BUG=none R=thestig@chromium.org TBR=thestig Review URL: https://codereview.chromium.org/410513003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284579 0039d316-1c4b-4281-b951-d872f2087c98
-
jwd@chromium.org authored
This is based off of http://crrev.com/322523002 BUG=370033 Review URL: https://codereview.chromium.org/370463003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284578 0039d316-1c4b-4281-b951-d872f2087c98
-
ksakamoto@chromium.org authored
Revert of mac: [Yosemite] Fix bug where zoom button causes fullscreen mode. (https://codereview.chromium.org/402443003/) Reason for revert: Broke Mac ASan 64 Builder http://build.chromium.org/p/chromium.memory/builders/Mac%20ASan%2064%20Builder/builds/7520 obj/chrome/browser/ui/cocoa/browser_ui.version_independent_window.o ../../chrome/browser/ui/cocoa/version_independent_window.mm:109:44:error: cannot initialize a parameter of type 'NSComparisonResult (*)(id, id, void *)' with an rvalue of type 'int (*)(id, id, void *)': different return type ('NSComparisonResult' (aka 'long') vs 'int') [superview sortSubviewsUsingFunction:&ReorderContentViewToBack ^~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:175:75: note: passing argument to parameter 'compare' here - (void)sortSubviewsUsingFunction:(NSComparisonResult (*)(id, id, void *))compare context:(void *)context; Original issue's description: > mac: [Yosemite] Fix bug where zoom button causes fullscreen mode. > > In Yosemite, holding down alt while clicking the fullscreen button is supposed > to zoom the window. This doesn't work because Chrome violates unstated AppKit > assumptions. > > The problem seems to lie in hit testing the location of the zoom button. > Reordering the subviews by moving the tab strip and the content view behind the > zoom button fixes the problem. > > BUG=393808 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284544 TBR=andresantoso@chromium.org,shess@chromium.org,erikchen@chromium.org NOTREECHECKS=true NOTRY=true BUG=393808 Review URL: https://codereview.chromium.org/402323002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284576 0039d316-1c4b-4281-b951-d872f2087c98
-
viettrungluu@chromium.org authored
WaitForExitCode() closes the process handle itself. R=sky@chromium.org Review URL: https://codereview.chromium.org/406953002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284575 0039d316-1c4b-4281-b951-d872f2087c98
-
leng@chromium.org authored
BUG=381290 Review URL: https://codereview.chromium.org/390553003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284574 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284573 0039d316-1c4b-4281-b951-d872f2087c98
-
pkasting@chromium.org authored
Revert of Update V8 to version 3.28.30 (based on bleeding_edge revision r22489). (https://codereview.chromium.org/407733005/) Reason for revert: Seems to be causing xss-DENIED-method-with-iframe-proto.html to time out on multiple bots; see http://crbug.com/395882 . Original issue's description: > Update V8 to version 3.28.30 (based on bleeding_edge revision r22489). > > Please reply to the V8 sheriff svenpanne@chromium.org in case of problems. > > TBR=svenpanne@chromium.org > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284420 TBR=svenpanne@chromium.org,machenbach@chromium.org NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/405313002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284572 0039d316-1c4b-4281-b951-d872f2087c98
-
kalman@chromium.org authored
double <br> elements, and adjust CSS to make it look good. Fix up a couple of IDL files to just use newlines rather than <br> elements. R=mangini@chromium.org, asargent@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/404203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284571 0039d316-1c4b-4281-b951-d872f2087c98
-
bruening@chromium.org authored
TBR=zhaoqin@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/405273002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284570 0039d316-1c4b-4281-b951-d872f2087c98
-
asvitkine@chromium.org authored
There's only one time of badge icon now, so remove the enum that specifies the type. BUG=394855 Review URL: https://codereview.chromium.org/401333002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284569 0039d316-1c4b-4281-b951-d872f2087c98
-
dtrainor@chromium.org authored
BUG=394898 NOTRY=true Review URL: https://codereview.chromium.org/397293006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284568 0039d316-1c4b-4281-b951-d872f2087c98
-
jamescook@chromium.org authored
Revert of Add ExtensionsTestBrowserContext class for test. (https://codereview.chromium.org/355223002/) Reason for revert: This is breaking the Chrome OS valgrind bots: http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20(valgrind)(5) For example: http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20%28valgrind%29%285%29/builds/28278 This is a problem with mixing tests that use TestingProfile and TestBrowserContext. See crbug.com/395820 Original issue's description: > Add ExtensionsTestBrowserContext class for test. > and Use ExtensionTestBrowserContext for ImageLoader unittest. > > ExtensionsTestBrowserContext class does > set TestExtensionsBrowserClient from constructor and > call DestroyBrowserContextServices from destructor. > > ExtensionTestBrowserContext will be used instead of TestingProfile. > > R=yoz@chromium.org, rdevlin@chromium.org > BUG=354046 > TEST=unit_tests --gtest_filter=ImageLoaderTest.DeleteExtensionWhileWaitingForCache > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284330 TBR=jamescook@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/406093004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284567 0039d316-1c4b-4281-b951-d872f2087c98
-
bruening@chromium.org authored
BUG=395739,395743 TBR=nednguyen@google.com NOTRY=true Review URL: https://codereview.chromium.org/406093003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284566 0039d316-1c4b-4281-b951-d872f2087c98
-
mkwst@chromium.org authored
'WebURLRequest::TargetType' has been dropped in Blink in favor of 'RequestContext' and 'FrameType', matching the Fetch specification's changes, and allowing both more granularity in various Blink-side checks and more clarity around the thing that caused a request, and the frame that the request affects. This CL should have zero practical effect, as it's simply hoisting the translation work that 'WebURLRequest::setTargetType' is already doing up into the content layer to bring us one step closer to removing the concept entirely. BUG=390497 Review URL: https://codereview.chromium.org/407883005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284565 0039d316-1c4b-4281-b951-d872f2087c98
-
bruening@chromium.org authored
TBR=zhaoqin@chromium.org BUG=http://code.google.com/p/drmemory/issues/detail?id=1528 NOTRY=true Review URL: https://codereview.chromium.org/401313004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284564 0039d316-1c4b-4281-b951-d872f2087c98
-
fsamuel@chromium.org authored
BUG=364141 TBR=fsamuel@chromium.org Review URL: https://codereview.chromium.org/409663002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284563 0039d316-1c4b-4281-b951-d872f2087c98
-
jamiewalch@chromium.org authored
Review URL: https://codereview.chromium.org/408643002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284562 0039d316-1c4b-4281-b951-d872f2087c98
-
stanisc@chromium.org authored
This reintroduces change 283461 (issue 367153005) that has been reverted due to memory leaks in some unit tests. The memory leak was in a mock implementation of ProfileSyncComponentsFactory. The factory is responsible for creating an instance of LocalDeviceInfoProvider, which it does on demand and immediately transfer ownership of LocalDeviceInfoProvider to the caller. But due to the way mocking was implemented in ProfileSyncComponentsFactoryMock a mock instance of LocalDeviceInfoProvider was created in the constructor and if a test never called CreateLocalDeviceInfoProvider(), it would be leaked. In this change I moved away from using ON_CALL mocking mechanism that resulted in the leak to a custom implementation that avoids that problem. See original changes in the patch #1 and the fix in the patch #2. The original description copied from issue 367153005: This change introduces a new class LocalDeviceInfoProvider that is responsible for providing the local device specific DeviceInfo/cache_guid. It initializes the data asynchronously and allows consumers to get notified when the data becomes available. LocalDeviceInfoProvider will allow to remove these responsibilities from SyncedDeviceTracker / ProfileSyncService and loose coupling between ProfileSyncService and a number of SyncableService and DataTypeController derived classes. LocalDeviceInfoProvider is hosted on the frontend thread. Since it needs cache_guid to initialize DeviceInfo, which is currently available only on the backend, I updated SyncBackendHostCore and SyncBackendHostImpl to pass cache_guid to the frontend via OnBackendInitialized. For the time being SyncedDeviceTracker remains unchanged and continues to initialize the local device info too. The entire class will be removed in the Part 2 of the change which will move SyncedDeviceTracker functionality to a new SyncableService. LocalDeviceInfoProvider also replaces SessionsSyncManager::SyncInternalApiDelegate which was previously used to decouple SessionsSyncManager from the specifics of of the local device info implementation. SessionsSyncManager is changed to consume LocalDeviceInfoProvider instead of SessionsSyncManager::SyncInternalApiDelegate. SessionDataTypeController now also consumes LocalDeviceInfoProvider to make sure that SESSIONS type model doesn't start before local device info becomes available. A very similar approach will be used in the upcoming second part of the change for DEVICE_INFO DataTypeController and SyncableType. The change includes new unit tests for LocalDeviceInfoProvider and SessionDataTypeController. TBR=maniscalco@chromium.org,sky@chromium.org,zea@chromium.org BUG=395349 Review URL: https://codereview.chromium.org/398423002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284561 0039d316-1c4b-4281-b951-d872f2087c98
-
tfarina@chromium.org authored
BUG=None TEST=gn gen out/Debug_gn && ninja -C out/Debug_gn component_updater user_manager R=brettw@chromium.org TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/403103005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284560 0039d316-1c4b-4281-b951-d872f2087c98
-
jamesr@chromium.org authored
std::vector<>::data() is a C++11 feature and not available on all toolchains. This uses &vector[0] instead. Review URL: https://codereview.chromium.org/393583003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284558 0039d316-1c4b-4281-b951-d872f2087c98
-
pstew@chromium.org authored
BUG=384897 Review URL: https://codereview.chromium.org/404613009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284557 0039d316-1c4b-4281-b951-d872f2087c98
-
jgraettinger@chromium.org authored
BUG=377852 Review URL: https://codereview.chromium.org/379293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284556 0039d316-1c4b-4281-b951-d872f2087c98
-
mohammed@chromium.org authored
Fixing some of the strings that are used for permissions warnings to ensure their consistency. BUG=362794 R=felt Review URL: https://codereview.chromium.org/405653005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284555 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284553 0039d316-1c4b-4281-b951-d872f2087c98
-