- 03 Mar, 2015 40 commits
-
-
derekjchow authored
BUG=internal b/19212285 R=lcwu@chromium.org Review URL: https://codereview.chromium.org/961993006 Cr-Commit-Position: refs/heads/master@{#318929}
-
rohitrao authored
This CL reduces unnecessary work in StatusBubbleMac and replaces it with some DCHECKs to verify invariants. (The invariant here is that we set kWindowSizeDeterminedLater once, when state is set to kBubbleHidden, and the size stays that way until the bubble transitions to a different state. If that invariant holds, then we don't need to constantly re-set the size for a hidden bubble.) BUG=None TEST=No visible impact. Status bubble should continue to show, expand, and hide properly. Review URL: https://codereview.chromium.org/968263005 Cr-Commit-Position: refs/heads/master@{#318928}
-
shrike authored
The code in [DownloadItemController showDangerousWarning:] calls [GTMUILocalizerAndLayoutTweaker sizeToFitFixedHeightTextField:minWidth:] to wrap the warning string within the DownloadItemController's dangerousDownloadLabel_ textField. Within the nib this textField is 22 points tall and holds two lines of text. Under Yosemite, however, the font metrics have changed and the two lines are now 24 points tall. This cl insets the dangerousDownloadLabel_'s frame height by -2 points when running on Yosemite. dangerousDownloadLabel_ is not as tall as its superview, so the new frame still fits comfortably within the superview's frame. BUG=454782 TEST=Follow instructions in bug 454782 and confirm that text is wrapping properly on Yosemite. Review URL: https://codereview.chromium.org/911303002 Cr-Commit-Position: refs/heads/master@{#318927}
-
megjablon authored
A telemetry test that checks for "q=low" in the Chrome-Proxy request header and verifies that the image received was less than 100 bytes. BUG=449665 Review URL: https://codereview.chromium.org/942863004 Cr-Commit-Position: refs/heads/master@{#318926}
-
jamuraa authored
Have BluetoothAdapterProfileChromeOS remove itself from adapters when it is deleted via it's deconstructor, to avoid references being left behind after deletion. BUG=457978 Review URL: https://codereview.chromium.org/935383003 Cr-Commit-Position: refs/heads/master@{#318925}
-
tfarina authored
This is necessary because GN's exec_script only runs Python scripts. This was requested by Nico in https://codereview.chromium.org/971593003/. BUG=462972 TEST=run ./tools/clang/scripts/plugin_flags.py and compare the output with the bash version. They should be exactly the same. R=thakis@chromium.org Review URL: https://codereview.chromium.org/966723003 Cr-Commit-Position: refs/heads/master@{#318924}
-
sclittle authored
The flag for specifying the URL for the Data Saver secure proxy check was changed in https://codereview.chromium.org/961983002/. This change makes the relevant integration test use the new flag value, and also makes the test restart after each page. BUG=463210 Review URL: https://codereview.chromium.org/971073002 Cr-Commit-Position: refs/heads/master@{#318923}
-
servolk authored
Since DefaultRendererFactory uses GPU factories, code that instantiates the default factory need to include GPU factories headers and need to be able to instantiate them as well, so moving the GPU factories (both the mock and the real one) to media/renderers/ to make deps easier. BUG=457959 Review URL: https://codereview.chromium.org/970023002 Cr-Commit-Position: refs/heads/master@{#318922}
-
dcaiafa authored
BUG=462072 Review URL: https://codereview.chromium.org/964723003 Cr-Commit-Position: refs/heads/master@{#318921}
-
alemate authored
BUG=463150 TEST=manual Committed: https://crrev.com/ae10a9150af37a77ed8e9a71b19ad441d48f1cc7 Cr-Commit-Position: refs/heads/master@{#318866} Review URL: https://codereview.chromium.org/973003002 Cr-Commit-Position: refs/heads/master@{#318920}
-
edwardjung authored
BUG=462299 Review URL: https://codereview.chromium.org/972143002 Cr-Commit-Position: refs/heads/master@{#318919}
-
nednguyen authored
BUG=444697 Review URL: https://codereview.chromium.org/965953002 Cr-Commit-Position: refs/heads/master@{#318918}
-
jeremyim authored
The current mechanism is to create an instance of DataReductionProxyParams inside of page_load_histogram, and to then check the proxy server inside of DocumentState against DataReductionProxyParams. However, the plan is to make the configuration dynamic, so we can no longer use DataReductionProxyParams. BUG=452773 Review URL: https://codereview.chromium.org/966443002 Cr-Commit-Position: refs/heads/master@{#318917}
-
sullivan authored
BUG= Review URL: https://codereview.chromium.org/976673002 Cr-Commit-Position: refs/heads/master@{#318916}
-
arv authored
ES6 makes the function name property configurable, which means that __defineGetter__ will add a getter and not silently fail like before. This change is in preparation of landing this feature in V8. BUG=463526 R=kalman@chromium.org Review URL: https://codereview.chromium.org/971343003 Cr-Commit-Position: refs/heads/master@{#318915}
-
rpaquay authored
BUG=358315 Review URL: https://codereview.chromium.org/926703002 Cr-Commit-Position: refs/heads/master@{#318914}
-
sadrul authored
BlinkPlatformImpl currently creates an instance of WebThreadImpl when blink creates a thread using 'createThread()'. When some code runs in the newly created thread and tries to get hold of the WebThread that represents the current thread using 'currentThread()', BlinkPlatformImpl creates a new instance of a WebThreadImplForMessageLoop and returns that. For subsequent calls to 'currentThread()', this same WebThreadImplForMessageLoop is returned. So BlinkPlatformImpl ends up creating two WebThread instances for each thread created in blink. This patch changes this to only create a single instance of WebThread for each thread created in blink. WebThreadImplForMessageLoop is no longer necessary, so it is removed. BUG=462067 Review URL: https://codereview.chromium.org/959803003 Cr-Commit-Position: refs/heads/master@{#318913}
-
asanka authored
BUG=none R=thakis@chromium.org Review URL: https://codereview.chromium.org/973073002 Cr-Commit-Position: refs/heads/master@{#318912}
-
rsesek authored
The NSFont object could be nil, which would have a NULL font name, which when converted to a std::string would cause a crash. The font name is already in the FontDescriptor, so it's entirely unnecessary. BUG=452651 R=avi@chromium.org Review URL: https://codereview.chromium.org/969683003 Cr-Commit-Position: refs/heads/master@{#318911}
-
lukasza authored
Before this change a malformed value of RemoteAccessHostUdpPortRange policy (i.e. "123456-blah") was ignored and a default value was used. Similarily for the 3 third-party-auth-config policies (RemoteAccessHostTokenUrl, ...TokenValidationUrl and ...TokenValidationCertificateIssuer) we were falling back to a secure default, but not reporting a policy error. After this change such malformed values will trigger an OnPolicyError callback. Notes: - Guaranteeing that PolicyWatcher always returns valid policy values, removes the need for a "rejecting" Me2MeHostAuthenticatorFactory. - Moving PortRange and ThirdPartyAuthConfig to separate compilation units helps readability elsewhere + encourages better unit tests coverage. - Initially I tried to wrap all policies in a new ChromotingPolicies class, but eventually went back to prevalidating and passing base::DictionaryValue. - Arguments for using ChromotingPolicies: - Helps avoid overtesting in policy_watcher_unittests.cc (i.e. helps focus the tests on a single policy value). - Arguments for using base::DictionaryValue: - Minimizes changes. - Keeps things simple (as opposed to having to introduce a custom equivalent of optional<T> [nothing similar present in Chromium AFAICT]). - Neutral: - Strong-typing of ChromotingPolicies didn't help readability as much as I expected and hoped for. BUG=427513 TEST=remoting_unittests Review URL: https://codereview.chromium.org/966433002 Cr-Commit-Position: refs/heads/master@{#318910}
-
rdsmith authored
MemoryPressureListener. BUG=447208 R=ellyjones@chromium.org Review URL: https://codereview.chromium.org/971413002 Cr-Commit-Position: refs/heads/master@{#318909}
-
wjmaclean authored
This cl reverts a change made in https://codereview.chromium.org/952823004 Since this code is controlling the display of the zoom icon (not the bubble) we should not hide when not at default zoom level. BUG=462482 Review URL: https://codereview.chromium.org/968213003 Cr-Commit-Position: refs/heads/master@{#318908}
-
ianwen authored
EnhancedBookmarksModel(int) is never used and should be removed. BUG=458632 Review URL: https://codereview.chromium.org/968383002 Cr-Commit-Position: refs/heads/master@{#318907}
-
justincohen authored
Speculative fix for unit tests failure -- sometimes calling -removeVisits will call back into history.js with -deleteComplete before |deleteCompleteCallback_| has been set. BUG=452893 Review URL: https://codereview.chromium.org/970213002 Cr-Commit-Position: refs/heads/master@{#318906}
-
fdegans authored
BUG=462153 Review URL: https://codereview.chromium.org/969383004 Cr-Commit-Position: refs/heads/master@{#318905}
-
timurrrr authored
TEST=./tools/valgrind/chrome_tests.sh -t cmdline -- echo "hello" Review URL: https://codereview.chromium.org/966363003 Cr-Commit-Position: refs/heads/master@{#318904}
-
mek authored
Also adds a simple service to allow layout tests to test all this. This is part of a series of changes: [1/5] Blink side changes in https://codereview.chromium.org/924983002/ that expose a needed v8 context [2/5] https://codereview.chromium.org/921013002/ allow MessagePort to send messages as values [3/5] https://codereview.chromium.org/944443003/ which causes the send_messages_as_values flag to be propagated [4/5] This CL [5/5] https://codereview.chromium.org/940423004/ adds layout tests to blink to test these new features BUG=426458 Review URL: https://codereview.chromium.org/938403005 Cr-Commit-Position: refs/heads/master@{#318903}
-
jdduke authored
Also remove nduca@ as he's moved on to bigger and better things. TBR=nduca@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/961003003 Cr-Commit-Position: refs/heads/master@{#318902}
-
eae authored
Cherry pick the HarfBuzz commit 8ac345e5c0ed0aad6547592ea0839aabfb4ba980 as it fixes a set of serious shaping regressions in the core text shaper on Mac OS. Cherry picking as opposed to rolling to allow for a clean DI. BUG=459043 TBR=behdad@chromium.org Review URL: https://codereview.chromium.org/971153002 Cr-Commit-Position: refs/heads/master@{#318901}
-
mlamouri authored
This is going to help the PermissionService to have its RequestPermission returing the expected value. Internally, PermissionContextBase is using ContentSetting but the public API is using PermissionStatus. BUG=432978 Review URL: https://codereview.chromium.org/955383003 Cr-Commit-Position: refs/heads/master@{#318900}
-
tiago.vignatti authored
It fixes the following clang format message: In file included from ../../ui/ozone/platform/dri/gbm_buffer.cc:14: ../../ui/ozone/platform/dri/gbm_device.h:18:3: error: [chromium-style] Classes that are ref-counted should have destructors that are declared protected or private. ~GbmDevice() override; ^ ../../ui/ozone/platform/dri/gbm_device.h:14:19: note: [chromium-style] 'GbmDevice' inherits from 'ui::DrmDevice' here class GbmDevice : public DrmDevice { ^ ../../ui/ozone/platform/dri/drm_device.h:41:32: note: [chromium-style] 'DrmDevice' inherits from 'base::RefCountedThreadSafe<DrmDevice>' here class OZONE_EXPORT DrmDevice : public base::RefCountedThreadSafe<DrmDevice> { BUG=none Review URL: https://codereview.chromium.org/975773002 Cr-Commit-Position: refs/heads/master@{#318899}
-
avi authored
BUG=361761 TEST=no visible change Review URL: https://codereview.chromium.org/975533002 Cr-Commit-Position: refs/heads/master@{#318898}
-
timurrrr authored
BUG=345874 Review URL: https://codereview.chromium.org/974903002 Cr-Commit-Position: refs/heads/master@{#318897}
-
sdefresne authored
The need to make the distinction between the two types of infobars has disappeared with the new design of the infobars. BUG=None Review URL: https://codereview.chromium.org/975663002 Cr-Commit-Position: refs/heads/master@{#318896}
-
tommi authored
WebRTC 8548:8573 Changes: https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git/+log/1e5b7f7..c9dfd1c Libjingle 8550:8571 Changes: https://chromium.googlesource.com/external/webrtc/trunk/talk.git/+log/bbfd399..3b22f07 TBR= Review URL: https://codereview.chromium.org/969413002 Cr-Commit-Position: refs/heads/master@{#318895}
-
ginkage authored
BUG=424075 TEST=manual Review URL: https://codereview.chromium.org/957753002 Cr-Commit-Position: refs/heads/master@{#318894}
-
gab authored
Also fix some mislabelled entries in the histogram enum. Make the declaration site explicit to decrease the likelihood of such omissions/mislabels happening again in the future. BUG=None Review URL: https://codereview.chromium.org/968253002 Cr-Commit-Position: refs/heads/master@{#318893}
-
jam authored
We shouldn't hard code out/Release (since with GN the path could be different) or look for the checkout directory (since with swarming it doesn't exist). This was needed with ui_tests or pyauto, but not with the current browser_tests binaries. BUG=463180 Review URL: https://codereview.chromium.org/969313002 Cr-Commit-Position: refs/heads/master@{#318892}
-
yfriedman authored
Follows: https://codereview.chromium.org/968943004/ https://chrome-internal-review.googlesource.com/#/c/203597/ BUG=428903 TBR=jbudorick Review URL: https://codereview.chromium.org/964363003 Cr-Commit-Position: refs/heads/master@{#318891}
-
mnaganov authored
V8 caches all function templates internally for the lifetime of a web page in an unbounded cache. Thus, creating a new function template for each call to a method of injected object caused JS heap memory to grow linearly. This is similar to a fix for Pepper Plugin objects (https://codereview.chromium.org/785213002/) BUG=462664 Review URL: https://codereview.chromium.org/969353004 Cr-Commit-Position: refs/heads/master@{#318890}
-