- 10 May, 2014 40 commits
-
-
mdempsky@chromium.org authored
Revert of Linux Aura Task Manager Frame Buttons Misaligned (https://codereview.chromium.org/240163006/) Reason for revert: Suspected of being responsible for ash_unittests failing on Linux ChromiumOS Tests(1): http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29/builds/43114 Original issue's description: > Linux Aura Task Manager Frame Buttons Misaligned > > The task manager is a CustomFrameView. This had the logic for its button > placement hardcoded. The view now adds itself as a listener for button > configuration changes on linux. For other systems it falls back on a > default set that matches the current (minimize, maximize, close) order. > > The layout of the buttons has changed to consult this order definition. > > Loading the assets for the close button has been moved out of layout. > ResourceBundle only loads the asset once, so this can be done during > initialization. > > The top padding for the buttons has been updated to provide more spacing. It now fits the rest of the padding in the class. > > TEST=CustomFrameViewTest > BUG=351917 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269597 NOTREECHECKS=true NOTRY=true BUG=351917 Review URL: https://codereview.chromium.org/276173002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269636 0039d316-1c4b-4281-b951-d872f2087c98
-
hclam@chromium.org authored
Revert of Use the DefaultSearchManager as the exclusive authority on DSE, ignoring Web Data. (https://codereview.chromium.org/268643002/) Reason for revert: Unfortunately I have to revert this change because this is in the way of reverting https://codereview.chromium.org/270533007/. The above change is causing some use after free failures on Mac. Please see this: http://build.chromium.org/p/chromium.memory/builders/Mac%20ASan%2064%20Tests%20%281%29/builds/759/steps/unit_tests/logs/stdio Original issue's description: > Use the DefaultSearchManager as the exclusive authority on DSE, ignoring Web Data. > > BUG=365762 > R=engedy@chromium.org, jochen@chromium.org, pkasting@chromium.org, zea@chromium.org > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269396 TBR=pkasting@chromium.org,zea@chromium.org,engedy@chromium.org,jochen@chromium.org,erikwright@chromium.org NOTREECHECKS=true NOTRY=true BUG=365762 Review URL: https://codereview.chromium.org/280113002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269635 0039d316-1c4b-4281-b951-d872f2087c98
-
isherman@chromium.org authored
BUG=none TEST=none R=rogerta@chromium.org Review URL: https://codereview.chromium.org/277563008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269634 0039d316-1c4b-4281-b951-d872f2087c98
-
asargent@chromium.org authored
-Added classes for fetching/reading file hashes (.cc details are still mostly stubs in this CL though) -Added a delegate class for ContentVerifier to rework how clients interact with it -Added code in ContentVerifyJob that uses the hash reader class BUG=369895 R=rockot@chromium.org Review URL: https://codereview.chromium.org/280013003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269633 0039d316-1c4b-4281-b951-d872f2087c98
-
fgorski@chromium.org authored
Removing mcs_hostname and mcs_secure_port from GServicesSettings. Adding mcs_main_endpoint and mcs_fallback_enpoint. Constructing the main endpoint based on g-settings from the checkin. Constructing the fallback endpoint based on mcs hostname and default fallback port. R=jianli@chromium.org,zea@chromium.org BUG=359254 Review URL: https://codereview.chromium.org/270403006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269632 0039d316-1c4b-4281-b951-d872f2087c98
-
vmpstr@chromium.org authored
This is a small patch that adds a trace event instant whenever we draw checkerboards. This is useful for debugging or figuring out exactly when we checkerboarded. R=enne Review URL: https://codereview.chromium.org/275173002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269631 0039d316-1c4b-4281-b951-d872f2087c98
-
meacer@chromium.org authored
BUG=347720 Review URL: https://codereview.chromium.org/267103002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269630 0039d316-1c4b-4281-b951-d872f2087c98
-
mdempsky@chromium.org authored
Revert of Avoids releasing capture in EndMoveLoop if capture was switched to another window while dragging (https://codereview.chromium.org/265843004/) Reason for revert: Appears to be responsible for ash_unittests failing on Linux ChromiumOS Tests(1): http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29/builds/43114 Original issue's description: > Avoids releasing capture in EndMoveLoop if capture was switched to another window while dragging. > This variant relies on checking if a drag input window still has capture before releasing the grab. > A better alternative is in CL https://codereview.chromium.org/262893002/. > > BUG=363503 > TEST=Follow the exact steps in the bug description. > TEST=interactive_ui_tests --gtest_filter=*TabDragging* > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269593 TBR=sadrul@chromium.org,varkha@chromium.org NOTREECHECKS=true NOTRY=true BUG=363503 Review URL: https://codereview.chromium.org/276163002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269629 0039d316-1c4b-4281-b951-d872f2087c98
-
https://codereview.chromium.org/251543003/hclam@chromium.org authored
Reason for revert: Memory leak detected: http://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29/builds/1239/steps/aura_unittests/logs/stdio Original issue's description: > Unified Gesture Recognizer > > This adds the unified GR for Aura behind the --use-unified-gesture-detector flag. > > BUG=332418 > TEST=GestureRecognizer/GestureRecognizerTest.* > MotionEventUITest.* > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269325 Review URL: https://codereview.chromium.org/278183002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269628 0039d316-1c4b-4281-b951-d872f2087c98
-
https://codereview.chromium.org/246553003/bolian@chromium.org authored
It emits NCN.NetworkOperatorMCCMNC_NewMetricsLog on new metric log creation with the network operator MCC_MNC code BUG=355604 Review URL: https://codereview.chromium.org/253203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269627 0039d316-1c4b-4281-b951-d872f2087c98
-
elijahtaylor@chromium.org authored
Also add an explicit check for whitelisting pepper/nacl permissions based on importing a shared module, so a shared module can potentially limit allowing import of its resources and permissions its allowed. You can still use nonsfi mode for Linux or ChromeOS by passing in --enable-nacl-nonsfi-mode, but it is on for a whitelisted set of extensions for ChromeOS without flags. BUG=355141 TEST=deploy_chrome to daisy, test app which includes whitelisted module Review URL: https://codereview.chromium.org/264923011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269626 0039d316-1c4b-4281-b951-d872f2087c98
-
thestig@chromium.org authored
NOTRY=true Review URL: https://codereview.chromium.org/275683002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269625 0039d316-1c4b-4281-b951-d872f2087c98
-
andycai@chromium.org authored
BUG=chromium:369679 TEST=Tested manually on daisy Review URL: https://codereview.chromium.org/276023002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269624 0039d316-1c4b-4281-b951-d872f2087c98
-
skobes@chromium.org authored
This has been broken since https://src.chromium.org/viewvc/blink?revision=172846&view=revision landed. Review URL: https://codereview.chromium.org/276983002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269623 0039d316-1c4b-4281-b951-d872f2087c98
-
juyik@chromium.org authored
Enable auto-refreshing of the gcm-internals page whenever a GCM activity is recorded, and fix a bug that previously causes this cl to crash the browser upon signin. Basically GCMStatsRecorder::RecordRegistrationResponse() method did not check whether is_recording_ is true or not, so it always records. When the user signs in, a registration event is automatically triggered, but since the gcm-internals page has not been loaded yet, a callback object is still NULL. Therefore recorder calling this callback will crash the browser. I have added the check as well as test case for this scenario. BUG=341256, 371259 Review URL: https://codereview.chromium.org/277743002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269622 0039d316-1c4b-4281-b951-d872f2087c98
-
scherkus@chromium.org authored
If the process is unable to create a new thread we've got bigger issues to deal with than reporting an error. A CHECK() will also give us a sense for how often this happens in the wild. BUG=110814 Review URL: https://codereview.chromium.org/276593007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269621 0039d316-1c4b-4281-b951-d872f2087c98
-
bruening@chromium.org authored
BUG=371897 R=rockot@chromium.org TEST=ran UsbApiTest.TransferEvent under Dr. Memory Review URL: https://codereview.chromium.org/275993002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269620 0039d316-1c4b-4281-b951-d872f2087c98
-
vkuzkokov@chromium.org authored
HttpServer: Handling of multiple header fields with the same name and multiple values of "Connection". BUG=370437 Review URL: https://codereview.chromium.org/274813002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269619 0039d316-1c4b-4281-b951-d872f2087c98
-
boliu@chromium.org authored
Separate out context creation that does not need surface or service into separate CreateOffscreenContext call. Do not create GLSurfaceStubs on client side, and pass in NULL window so the context creates GLSurfaceStubs on service side. Clean up share context code since compositor does not need an offscreen context anymore. BUG=370566 Review URL: https://codereview.chromium.org/271763002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269618 0039d316-1c4b-4281-b951-d872f2087c98
-
alokp@chromium.org authored
BUG=368936 Review URL: https://codereview.chromium.org/270333003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269617 0039d316-1c4b-4281-b951-d872f2087c98
-
hclam@chromium.org authored
This is the last change to deliver video frames to Cast streaming API on the IO thread. It will no longer be blocked by Javascript events. This needs a change in the MediaStreamVideoSink interface. Also getting rid of the interface of MediaStreamVideoTrack that delivers frames on the render thread. All clients now handle the thread hopping directly. BUG=335327, 371775 Review URL: https://codereview.chromium.org/264363005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269616 0039d316-1c4b-4281-b951-d872f2087c98
-
haitaol@chromium.org authored
finished. BUG=362679 Review URL: https://codereview.chromium.org/263273002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269615 0039d316-1c4b-4281-b951-d872f2087c98
-
qinmin@chromium.org authored
When config changes, we currently use a round trip IPC to request the new config. This increases the overall latency when processing config changes. This CL appends the new config data to the DemuxerData which contains the config change access unit. BUG=325528 Review URL: https://codereview.chromium.org/257323003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269614 0039d316-1c4b-4281-b951-d872f2087c98
-
vabr@chromium.org authored
This is just a code clean-up. As long as it compiles, no change to the functionality. BUG=348523 Review URL: https://codereview.chromium.org/271173002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269613 0039d316-1c4b-4281-b951-d872f2087c98
-
haitaol@chromium.org authored
only add control types in addtional to user selectable types. BUG=362679 Review URL: https://codereview.chromium.org/266883007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269612 0039d316-1c4b-4281-b951-d872f2087c98
-
andrewhayden@chromium.org authored
BUG=367677 R=danakj@chromium.org,tfarina@chromium.org Review URL: https://codereview.chromium.org/253723006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269611 0039d316-1c4b-4281-b951-d872f2087c98
-
asargent@chromium.org authored
I accidentally got the base64 <-> base64url conversion stuff wrong in https://codereview.chromium.org/278593005/. BUG=369895 TBR=rockot@chromium.org Review URL: https://codereview.chromium.org/273093002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269610 0039d316-1c4b-4281-b951-d872f2087c98
-
ttuttle@chromium.org authored
Add baked-in Domain Reliability configs for {drive,mail}.google.com. BUG=356791 Review URL: https://codereview.chromium.org/278773003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269609 0039d316-1c4b-4281-b951-d872f2087c98
-
piman@chromium.org authored
Trying to get rid of more globals in ui/compositor. BUG=None Review URL: https://codereview.chromium.org/277713002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269608 0039d316-1c4b-4281-b951-d872f2087c98
-
asanka@chromium.org authored
This test was writing to the user's downloads directory instead of a temporary path. BUG=372017 R=asargent@chromium.org Review URL: https://codereview.chromium.org/274193008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269607 0039d316-1c4b-4281-b951-d872f2087c98
-
sorin@chromium.org authored
BUG=371655 Review URL: https://codereview.chromium.org/271573003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269606 0039d316-1c4b-4281-b951-d872f2087c98
-
ericu@chromium.org authored
Also includes a few small cleanup changes I noticed while I was in there. BUG=108012 Review URL: https://codereview.chromium.org/261843004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269605 0039d316-1c4b-4281-b951-d872f2087c98
-
limasdf@gmail.com authored
If wrong notification is received, NOTREACHED() is called. BUG=None R=benwells@chromium.org Review URL: https://codereview.chromium.org/263833019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269604 0039d316-1c4b-4281-b951-d872f2087c98
-
mcasas@chromium.org authored
During Chrome shutdown, DeviceMonitorMac deallocs CrAVFoundationDeviceObserver, which is registered as an observer of suspended and connected events on the CrAVCaptureDevice. Every so seldom (see bugs), the removal of these observers causes a crash. Observers removal seems to be a long standing problem with Cocoa and Objective-C++. This CL speculates with a solution for this trouble via testing if the protocol method -observationInfo [1] is not |nil| before removing the observers. This is based on the observation that: a) There might be an AVFoundation-internal race between observer removal and AVCaptureDevice destruction. b) A previous, unrelated Chrome crash might have left the AVFoundation into some unstable meta state. (This is based on xians@ hitting this bug during browser_tests). Tested locally and seems to work fine. BUG=288562, 371271 [1] https://developer.apple.com/library/ios/documentation/Cocoa/Reference/Foundation/Protocols/NSKeyValueObserving_Protocol/Reference/Reference.html#jumpTo_10 Review URL: https://codereview.chromium.org/274073002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269603 0039d316-1c4b-4281-b951-d872f2087c98
-
rtenneti@chromium.org authored
When StartupTimebomb goes off, collect the duration stats (difference between when the timebomb went off and when it is started). We collect this duration in terms of clock time, montonic clock time and thread CPU time. BUG=366699 R=jar@chromium.org Review URL: https://codereview.chromium.org/273963002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269602 0039d316-1c4b-4281-b951-d872f2087c98
-
roubert@google.com authored
ChromeStringCanonicalizer does case and diacritic insensitive string comparison through an ICU Collator. To get general Unicode character rules, the root locale should be used. The system default locale is different from system to system, and using that will cause the code to break when executed on a system where it doesn't have the properties that this code assumes. This change also adds #include statemens for all ICU header files from which the code in this file uses declarations. R=rouslan@chromium.org BUG= Review URL: https://codereview.chromium.org/275913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269601 0039d316-1c4b-4281-b951-d872f2087c98
-
msw@chromium.org authored
Check for NULL |activation_client| in ExtensionPopup::OnWidgetDestroying. Add a BrowserActionInteractiveTest that crashes without this fix. Add a BrowserActionTestUtil::InspectPopup helper on Views. BUG=327776 TEST=Inspecting an extension popup bubble and closing the underlying browser window does not crash. R=sky@chromium.org,finnur@chromium.org Review URL: https://codereview.chromium.org/275783002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269600 0039d316-1c4b-4281-b951-d872f2087c98
-
msw@chromium.org authored
URLFixerUpper may potentially mishandle "about:blank". The suspicion arose from crbug.com/371030 investigations. (this unit test case doesn't seem to trigger that, though) BUG=NONE TEST=NONE R=sky@chromium.org Review URL: https://codereview.chromium.org/279593003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269599 0039d316-1c4b-4281-b951-d872f2087c98
-
bauerb@chromium.org authored
BUG=318769 Review URL: https://codereview.chromium.org/207743004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269598 0039d316-1c4b-4281-b951-d872f2087c98
-
jonross@chromium.org authored
The task manager is a CustomFrameView. This had the logic for its button placement hardcoded. The view now adds itself as a listener for button configuration changes on linux. For other systems it falls back on a default set that matches the current (minimize, maximize, close) order. The layout of the buttons has changed to consult this order definition. Loading the assets for the close button has been moved out of layout. ResourceBundle only loads the asset once, so this can be done during initialization. The top padding for the buttons has been updated to provide more spacing. It now fits the rest of the padding in the class. TEST=CustomFrameViewTest BUG=351917 Review URL: https://codereview.chromium.org/240163006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269597 0039d316-1c4b-4281-b951-d872f2087c98
-