- 03 May, 2014 40 commits
-
-
tfarina@chromium.org authored
If you run the following command line, you will get errors like this: $ gn check ERROR at //components/translate/core/browser/translate_accept_languages.cc:13:11: //Include not allowed. ^----------------------- It is not in any dependency of //components/translate:translate_core_browser The include file is in the target(s): //ui/base:ui_base which should somehow be reachable from //components/translate:translate_core_browser Adds missing ui_base dependency to fix this. BUG=367595 TEST=gn check TBR=brettw@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/262013004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268028 0039d316-1c4b-4281-b951-d872f2087c98
-
mike.schechter@gmail.com authored
R=pkasting@chromium.org BUG= Review URL: https://codereview.chromium.org/263023003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268027 0039d316-1c4b-4281-b951-d872f2087c98
-
hartmanng@chromium.org authored
We can early-out in this function if we have a non-invertible, non-animated transform. This causes us to not reset some dirty bits (in particular, |sorted_for_recursion|). Later, when sorting a layer's child list (_before_ we decide to early-out of CalculateDrawProperties), we skip out on sorting the layer due to the dirty state. This causes badness. We should reset the state and sort the list properly, including the layers that will be skipped later. R=vollick@chromium.org,ajuma@chromium.org,danakj@chromium.org BUG=366233 Review URL: https://codereview.chromium.org/267713011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268026 0039d316-1c4b-4281-b951-d872f2087c98
-
xhwang@chromium.org authored
BUG=368743 Review URL: https://codereview.chromium.org/253313004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268025 0039d316-1c4b-4281-b951-d872f2087c98
-
dbeam@chromium.org authored
Broke windows compile: FAILED: ninja -t msvc -e environment.x64 -- C:\b\build\goma\gomacc.exe "C:\b\depot_tools\win_toolchain\vs2013_files\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\net\spdy\fuzzing\hpack_fuzz_wrapper.hpack_fuzz_wrapper.obj.rsp /c ..\..\net\spdy\fuzzing\hpack_fuzz_wrapper.cc /Foobj\net\spdy\fuzzing\hpack_fuzz_wrapper.hpack_fuzz_wrapper.obj /Fdobj\net\hpack_fuzz_wrapper.cc.pdb c:\b\build\slave\cr-win-rel-x64\build\src\net\spdy\fuzzing\hpack_fuzz_wrapper.cc(38) :error C2440: '<function-style-cast>' : cannot convert from 'std::string' to 'base::FilePath' No constructor could take the source type, or constructor overload resolution was ambiguous FAILED: ninja -t msvc -e environment.x64 -- C:\b\build\goma\gomacc.exe "C:\b\depot_tools\win_toolchain\vs2013_files\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\net\spdy\fuzzing\hpack_example_generator.hpack_example_generator.obj.rsp /c ..\..\net\spdy\fuzzing\hpack_example_generator.cc /Foobj\net\spdy\fuzzing\hpack_example_generator.hpack_example_generator.obj /Fdobj\net\hpack_example_generator.cc.pdb c:\b\build\slave\cr-win-rel-x64\build\src\net\spdy\fuzzing\hpack_example_generator.cc(51) :error C2440: '<function-style-cast>' : cannot convert from 'std::string' to 'base::FilePath' No constructor could take the source type, or constructor overload resolution was ambiguous c:\b\build\slave\cr-win-rel-x64\build\src\net\spdy\fuzzing\hpack_example_generator.cc(52) :error C2664: 'base::File::File(base::File::RValue)' : cannot convert argument 1 from 'int' to 'base::File &' c:\b\build\slave\cr-win-rel-x64\build\src\net\spdy\fuzzing\hpack_example_generator.cc(68) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data c:\b\build\slave\cr-win-rel-x64\build\src\net\spdy\fuzzing\hpack_example_generator.cc(69) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data FAILED: ninja -t msvc -e environment.x64 -- C:\b\build\goma\gomacc.exe "C:\b\depot_tools\win_toolchain\vs2013_files\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\net\spdy\fuzzing\hpack_fuzz_mutator.hpack_fuzz_mutator.obj.rsp /c ..\..\net\spdy\fuzzing\hpack_fuzz_mutator.cc /Foobj\net\spdy\fuzzing\hpack_fuzz_mutator.hpack_fuzz_mutator.obj /Fdobj\net\hpack_fuzz_mutator.cc.pdb c:\b\build\slave\cr-win-rel-x64\build\src\net\spdy\fuzzing\hpack_fuzz_mutator.cc(53) :error C2440: '<function-style-cast>' : cannot convert from 'std::string' to 'base::FilePath' No constructor could take the source type, or constructor overload resolution was ambiguous c:\b\build\slave\cr-win-rel-x64\build\src\net\spdy\fuzzing\hpack_fuzz_mutator.cc(56) :error C2440: '<function-style-cast>' : cannot convert from 'std::string' to 'base::FilePath' No constructor could take the source type, or constructor overload resolution was ambiguous c:\b\build\slave\cr-win-rel-x64\build\src\net\spdy\fuzzing\hpack_fuzz_mutator.cc(57) :error C2664: 'base::File::File(base::File::RValue)' : cannot convert argument 1 from 'int' to 'base::File &' c:\b\build\slave\cr-win-rel-x64\build\src\net\spdy\fuzzing\hpack_fuzz_mutator.cc(72) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data c:\b\build\slave\cr-win-rel-x64\build\src\net\spdy\fuzzing\hpack_fuzz_mutator.cc(73) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data > Add hpack_fuzz_wrapper to chromium_builder_asan. > > BUG=353237 > > Review URL: https://codereview.chromium.org/266003005 TBR=jgraettinger@chromium.org Review URL: https://codereview.chromium.org/268863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268024 0039d316-1c4b-4281-b951-d872f2087c98
-
michaeln@chromium.org authored
This is a rehash of ericu's cl https://codereview.chromium.org/259773006/ with a fix in upload_data_stream_builder_unittest.cc to resolve the leak asan found. TBR=ericu,piman BUG=108012 Review URL: https://codereview.chromium.org/261993004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268023 0039d316-1c4b-4281-b951-d872f2087c98
-
matthewturk@gmail.com authored
This modifies a few locations that utilize size_t and int to track the number of bytes to instead use off_t. BUG=369279 R=binji@chromium.org, sbc@chromium.org Review URL: https://codereview.chromium.org/269593011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268022 0039d316-1c4b-4281-b951-d872f2087c98
-
nyquist@chromium.org authored
This CL adds an observer of the current Tab in the Chrome Shell TabManager so it knows when the underlying content changes. BUG=361939 Review URL: https://codereview.chromium.org/268703005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268020 0039d316-1c4b-4281-b951-d872f2087c98
-
jgraettinger@chromium.org authored
BUG=353237 Review URL: https://codereview.chromium.org/266003005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268019 0039d316-1c4b-4281-b951-d872f2087c98
-
vandebo@chromium.org authored
BUG=NONE Review URL: https://codereview.chromium.org/262743003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268018 0039d316-1c4b-4281-b951-d872f2087c98
-
vmiura@chromium.org authored
ApplyDirtyState can on average 30% of the time of GLES2 draw calls. It previously set Color, Depth, Stencil masks and several enables without checking if they changed. This change caches values used in ApplyDirtyState among other places, and adds ContextState methods for setting state with cache checks. New cached state aware Set methods: * ContextState::SetDeviceCapabilityState * ContextState::SetDeviceColorMask * ContextState::SetDeviceDepthMask * ContextState::SetDeviceStencilMaskSeparate Testing: * gpu_unit tests now run both with cache on and off (ignore_cached_state_for_test = true) to validate behavior independent of cache layering. * New tests specific for caching behavior: ** GLES2DecoderManualInitTest.ContextStateCapabilityCaching ** GLES2DecoderManualInitTest.CachedColorMask ** GLES2DecoderManualInitTest.CachedDepthMask ** GLES2DecoderManualInitTest.CachedStencilMask BUG=347364 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267450 Review URL: https://codereview.chromium.org/245923008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268017 0039d316-1c4b-4281-b951-d872f2087c98
-
ajith.v@samsung.com authored
BUG= Review URL: https://codereview.chromium.org/269443003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268016 0039d316-1c4b-4281-b951-d872f2087c98
-
zmo@chromium.org authored
BUG=368005 TEST= R=kbr@chromium.org,qinmin@chromium.org Review URL: https://codereview.chromium.org/262003003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268015 0039d316-1c4b-4281-b951-d872f2087c98
-
danakj@chromium.org authored
This method no longer used as we are always in composited mode. R=piman BUG=251960 Review URL: https://codereview.chromium.org/267863007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268014 0039d316-1c4b-4281-b951-d872f2087c98
-
darin@chromium.org authored
Review URL: https://codereview.chromium.org/267803008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268013 0039d316-1c4b-4281-b951-d872f2087c98
-
vandebo@chromium.org authored
BUG=NONE Review URL: https://codereview.chromium.org/268573002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268012 0039d316-1c4b-4281-b951-d872f2087c98
-
mseaborn@chromium.org authored
BUG=none TEST=none Review URL: https://codereview.chromium.org/262803014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268011 0039d316-1c4b-4281-b951-d872f2087c98
-
rileya@chromium.org authored
It's worth noting that the media_browsertests Yuv* tests compare video pixels with a reference image, but whether or not the hardware path is used, copying the pixels from the video into a canvas goes through the software path, so despite looking correct onscreen when GPU-accelerated, the JPEG color range video tests will still fail until the software path properly supports the JPEG color range. BUG=172898 Review URL: https://codereview.chromium.org/92703003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268010 0039d316-1c4b-4281-b951-d872f2087c98
-
armansito@chromium.org authored
This CL implements the getCharacteristics method of the bluetoothLowEnergy API and adds a mapping for Characteristic instance IDs to BluetoothLowEnergyEventRouter. BUG=265663 TEST=browser_tests --gtest_filter=BluetoothLowEnergyApiTest.* Review URL: https://codereview.chromium.org/255053002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268009 0039d316-1c4b-4281-b951-d872f2087c98
-
msw@chromium.org authored
VIEW_ID_FIND_IN_PAGE_TEXT_FIELD is used and tested. This alternate id isn't actually useful or tested. BUG=NONE TEST=No find bar behavior changes or regressions. R=sky@chromium.org Review URL: https://codereview.chromium.org/267873004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268008 0039d316-1c4b-4281-b951-d872f2087c98
-
http://crrev.com/225043005lazyboy@chromium.org authored
webview upon showing context menu. Fire an event "contextmenu" on <webview> when context menu is about to be shown. This CL only fires the event with menu items' info, doesn't do anything else. The doc (for the complete API) is here: https://docs.google.com/a/chromium.org/document/d/11pE2PRGSyLbZGVVP1pspViK_xLWv_A-1dJDY2kjjbgc/edit BUG=140315 Test= In a chrome app, create a <webview> element. Add contextmenu event listener to the element: var w = document.querySelector('webview'); w.addEventListener('contextmenu', function(e) { // e.items is an array of objects that represent menu items. // object = struct of .commandId = the id of the item, .label = the label of the itme. }); The event fires when you right-click on the <webview> to bring up context menu. Review URL: https://codereview.chromium.org/258533002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268007 0039d316-1c4b-4281-b951-d872f2087c98
-
hush@chromium.org authored
BUG=354155 Review URL: https://codereview.chromium.org/226363004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268006 0039d316-1c4b-4281-b951-d872f2087c98
-
sergeyu@chromium.org authored
<video> must always be placed under the plugin, but it wasn't always positioned properly. Moved video-container inside horizontally-centered div so now video-container always occupies the same area as the <video> and the plugin. BUG=321825 Review URL: https://codereview.chromium.org/269793002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268005 0039d316-1c4b-4281-b951-d872f2087c98
-
zmo@chromium.org authored
BUG=340886 TEST=gpu_unittests Review URL: https://codereview.chromium.org/262953002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268004 0039d316-1c4b-4281-b951-d872f2087c98
-
tfarina@chromium.org authored
Reports: ui/app_list/app_list_model.h:126: Add #include <string> for string [build/include_what_you_use] [4] ui/app_list/views/top_icon_animation_view.h:5: #ifndef header guard has wrong style, please use: UI_APP_LIST_VIEWS_TOP_ICON_ANIMATION_VIEW_H_ [build/header_guard] [5] ui/app_list/views/top_icon_animation_view.h:78: #endif line should be "#endif // UI_APP_LIST_VIEWS_TOP_ICON_ANIMATION_VIEW_H_" [build/header_guard] [5] ui/app_list/views/folder_header_view.cc:169: Add #include <algorithm> for min [build/include_what_you_use] [4] ui/app_list/views/app_list_folder_view.cc:320: Add #include <string> for string [build/include_what_you_use] [4] ui/app_list/views/app_list_view.h:38: Do not leave a blank line after "public:" [whitespace/blank_line] [3] ui/app_list/views/apps_container_view.h:109: Add #include <vector> for vector<> [build/include_what_you_use] [4] ui/app_list/views/folder_header_view_delegate.h:26: Add #include <string> for string [build/include_what_you_use] [4] ui/app_list/views/apps_grid_view.h:328: Add #include <string> for string [build/include_what_you_use] [4] ui/app_list/views/app_list_folder_view.h:93: Add #include <string> for string [build/include_what_you_use] [4] ui/app_list/views/search_result_view.h:46: Single-argument constructors should be marked explicit. [runtime/explicit] [5] The report was generated by the following command line: $ find ui/app_list -name "*.cc" -o -name "*.h" | grep -v cocoa | xargs cpplint.py After this the total errors found is ZERO! BUG=337484 TEST=None, no functional changes TBR=xiyuan@chromium.org Review URL: https://codereview.chromium.org/268813004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268003 0039d316-1c4b-4281-b951-d872f2087c98
-
dalecurtis@chromium.org authored
FFmpeg has packet side data indicating how many frames should be trimmed after decoding, we should use it to improve playback of mp3 and aac audio via <audio> tag. Specifically: - AudioBuffer:TrimRange(start,end) is now supported. - DecoderBuffer:discard_padding() is now a pair of (front, back) which indicates how much to trim off the front and rear of the data corresponding to the encoded buffer. - AudioDiscardHelper has been updated to implement this trimming. - FFmpegDemuxer inserts FFmpeg's skip_samples into DecoderBuffer. This change paves the way for MediaSource to use this feature to implement gapless playback support. BUG=360961 TEST=new unittests! NOTRY=true Review URL: https://codereview.chromium.org/251893002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268002 0039d316-1c4b-4281-b951-d872f2087c98
-
pkotwicz@chromium.org authored
Introduce X11TopmostWindowFinder which merges the mostly duplicated functionality to find the topmost window at a point in: - window_finder_x11.cc - desktop_drag_drop_client_aurax11.cc - desktop_screen_x11.cc Having all of the similar functionality in one place will be helpful for testing BUG=None TEST=None Review URL: https://codereview.chromium.org/260263002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268001 0039d316-1c4b-4281-b951-d872f2087c98
-
rsadam@chromium.org authored
BUG=368258 Review URL: https://codereview.chromium.org/252223002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268000 0039d316-1c4b-4281-b951-d872f2087c98
-
dalecurtis@chromium.org authored
Revert of Remove webkit's ResourceLoaderBridge interface. (https://codereview.chromium.org/226273005/) Reason for revert: Looks like it broke LSan bots: http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%282%29/builds/2229 TBR=jam NOTREECHECKS=true NOTRY=true Original issue's description: > Remove webkit's ResourceLoaderBridge interface. > > ResourceLoaderBridge was originally created to bridge code in //webkit that > talked to WebURLLoaderImpl (which talked to Blink) with code in > ResourceDispatcher in content which used IPC. Now that WebURLLoaderImpl > is in content/child, we don't need this interface anymore. > > As requested by John in - > https://codereview.chromium.org/186193005/diff/1/content/public/child/resource_loader_bridge.h#newcode42 > > BUG=265753,338338,237249 > TEST=content_unittests > R=jam@chromium.org > TBR=darin > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267947 Review URL: https://codereview.chromium.org/267973002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267999 0039d316-1c4b-4281-b951-d872f2087c98
-
leng@chromium.org authored
Specifically, subclasses InfoBubbleWindow with the sole purpose of catching calls to -performKeyEquivalent: and forward them to the parent window. Longer explanation: The base implementation of -performKeyEquivalent:, found in ChromeEventProcessingWindow, attempts to hand browser key events off to the window’s responder or delegate. The InfoBubbleWindow's responder and delegate do not implement the correct protocols to handle the events, and so the events are not completed. This subclasses -performKeyEquivalent: to send the events to the parent window, which, if it is a browser window, will have the correct responder and thus handle the events. BUG=367206 Review URL: https://codereview.chromium.org/265693009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267996 0039d316-1c4b-4281-b951-d872f2087c98
-
aurimas@chromium.org authored
BUG=369680 Review URL: https://codereview.chromium.org/267863006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267995 0039d316-1c4b-4281-b951-d872f2087c98
-
avi@chromium.org authored
BUG=361761 TEST=no visible change Review URL: https://codereview.chromium.org/261783007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267994 0039d316-1c4b-4281-b951-d872f2087c98
-
newt@chromium.org authored
This makes the LogoService respect the --google-base-url command line flag when determining the URL from which to download Google doodles. This allows easier manual testing of the doodle: if there's a doodle in France today, set the flag --google-base-url=https://www.google.fr and the current google in France will be shown. BUG=369676 NOTRY=true Review URL: https://codereview.chromium.org/264713013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267991 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267990 0039d316-1c4b-4281-b951-d872f2087c98
-
robertphillips@google.com authored
https://code.google.com/p/skia/source/list?num=9&start=14553 TBR= BUG= Review URL: https://codereview.chromium.org/262993003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267989 0039d316-1c4b-4281-b951-d872f2087c98
-
jennyz@chromium.org authored
BUG=369550 R=xiyuan@chromium.org Review URL: https://codereview.chromium.org/269573010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267988 0039d316-1c4b-4281-b951-d872f2087c98
-
rdevlin.cronin@chromium.org authored
UI/Strings requested a change to be "Try the new <a>Chrome Apps & Extensions Developer Tools</a>." BUG=312396 TBR=finnur@chromium.org (for changes to strings in extension_settings_handler) Review URL: https://codereview.chromium.org/262653004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267987 0039d316-1c4b-4281-b951-d872f2087c98
-
jsbell@chromium.org authored
This is nhiroki@'s change, previously landed as r267850 but reverted. Re-landing with a fix suggested by michaeln@. Original code review: http://crrev.com/265743012 BUG=369464 R=michaeln@chromium.org,nhiroki@chromium.org,kinuko@chromium.org Review URL: https://codereview.chromium.org/261063009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267986 0039d316-1c4b-4281-b951-d872f2087c98
-
sievers@chromium.org authored
NOTRY=True Review URL: https://codereview.chromium.org/268773007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267985 0039d316-1c4b-4281-b951-d872f2087c98
-
willchan@chromium.org authored
Specifically only look for re-entrancy that shrinks the queue. We know that other types of iterator invalidation happens due to growing the queue, but that doesn't match the symptom we're seeing. BUG=369539 Review URL: https://codereview.chromium.org/265093004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267984 0039d316-1c4b-4281-b951-d872f2087c98
-