- 11 Jun, 2014 40 commits
-
-
https://codereview.chromium.org/323993002/rouslan@chromium.org authored
Reason for revert: Appears to have a memory leak. See: http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%283%29/builds/3954 Original issue's description: > Use labels to display views tab titles. > > Add a Label view to Tab for displaying the title. > Remove Tab::PaintTitle, bounds and font members. > Remove unnecessary Tab::Get[Title|Icon]Bounds helpers. > Update the text on Tab::SetData, not during paint. > Use gfx::DirectionalityMode, remove the Label enum. > > Add gfx::ALIGN_TO_HEAD to gfx::HorizontalAlignment. > Add Label::GetHorizontalAlignment for ALIGN_TO_HEAD. > Always flip left/right in Label::SetHorizontalAlignment. > Have Tab and MessageBoxView use ALIGN_TO_HEAD. > > Update comments and tests, related minor cleanup. > > TODO: Make Label cache RenderText objects. > TODO: Make RenderText support ALIGN_TO_HEAD. > > BUG=240037 > TEST=No visible Views tab title changes. > R=sky@chromium.org > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276450 TBR=sky@chromium.org,msw@chromium.org NOTREECHECKS=true NOTRY=true BUG=240037 Review URL: https://codereview.chromium.org/327273005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276476 0039d316-1c4b-4281-b951-d872f2087c98
-
mseaborn@chromium.org authored
This pulls in the following Native Client changes: r13310: (dyen) Commands for toolchain_build are now filtered before invoking anything. r13311: (dyen) Fix for needing to push to ssh URL for toolchain_build sources. r13312: (mcgrathr) Disable seccomp-bpf tests under ASan r13313: (mcgrathr) Disable LSan (leak detection) in ASan tests r13314: (mseaborn) Enable the -Wstrict-prototypes warning for untrusted code in the Gyp build r13315: (dyen) Python logging now organized to use loggers instead of global variables. r13316: (jfb) PNaCl: Update LLVM revision in pnacl/COMPONENT_REVISIONS r13317: (jfb) Update revision for PNaCl r13281->r13311 r13318: (jfb) Update revision for PNaCl r13311->r13316 BUG=none TEST=browser_tests and nacl_integration Review URL: https://codereview.chromium.org/324353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276475 0039d316-1c4b-4281-b951-d872f2087c98
-
limasdf@gmail.com authored
Since ExtensionRegistry provide canonical way, use ExtensionRegistry instead. R=kalman@chromium.org, xiyuan@chromium.org BUG=374353 TEST=unit_tests Review URL: https://codereview.chromium.org/323763002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276474 0039d316-1c4b-4281-b951-d872f2087c98
-
acolwell@chromium.org authored
If a SourceBuffer::Remove() call removed the GOP that is currently being appended, an incorrect start timestamp would be used when the next GOP was appended. This ultimately led to a crash if a followup Remove() call ended up deleting the range. This change fixes the code that determines the start timestamp for the range created for the second GOP. BUG=382815 TEST=SourceBufferStreamTest, Remove_WholeGOPBeingAppended Review URL: https://codereview.chromium.org/324223003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276471 0039d316-1c4b-4281-b951-d872f2087c98
-
treib@chromium.org authored
Followup to https://codereview.chromium.org/307483002/ that adds the new resources. BUG=372812, 310640 Review URL: https://codereview.chromium.org/309643006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276470 0039d316-1c4b-4281-b951-d872f2087c98
-
jsbell@chromium.org authored
Also, remove some former OWNERS so they don't get tapped for reviews on random patches. But we still love you guys! NOTRY=true Review URL: https://codereview.chromium.org/331493002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276469 0039d316-1c4b-4281-b951-d872f2087c98
-
blundell@chromium.org authored
This CL merges the unittest suites in //chrome/browser/metrics/metrics_log_unittest and //components/metrics/metrics_log_unittest, putting all of the unittests into the latter and eliminating the former. BUG=382549 TBR=thakis Review URL: https://codereview.chromium.org/327523003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276468 0039d316-1c4b-4281-b951-d872f2087c98
-
teravest@chromium.org authored
This function indirection is no longer necessary, and I was getting frustrated by having the type signature of LaunchSelLdr twice in the source. I came across this in an experimental CL modifying LaunchSelLdr to also receive information for the user nexe. BUG=333950 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/322403005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276466 0039d316-1c4b-4281-b951-d872f2087c98
-
phoglund@chromium.org authored
BUG=373637 TBR=tommi@chromium.org Review URL: https://codereview.chromium.org/322753002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276465 0039d316-1c4b-4281-b951-d872f2087c98
-
nasko@chromium.org authored
In my CL for sending Show/Hide to all frames on a page (https://codereview.chromium.org/298283003), I used the RWH for each RenderFrameHost in the tree. This missed the fact that an interstitial page will be overlayed and not part of the frame tree in WebContents. BUG=381439 Review URL: https://codereview.chromium.org/321253003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276463 0039d316-1c4b-4281-b951-d872f2087c98
-
earthdok@chromium.org authored
MemorySanitizer complained when those values were sent over IPC. BUG=383363 R=kalman@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/327293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276462 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276458 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=175917:175949&mode=html TBR=yhirano@chromium.org,dpranke@chromium.org BUG= Review URL: https://codereview.chromium.org/322363002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276457 0039d316-1c4b-4281-b951-d872f2087c98
-
zhaoqin@google.com authored
TBR=sky@chromium.org BUG=383408 Review URL: https://codereview.chromium.org/334443004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276456 0039d316-1c4b-4281-b951-d872f2087c98
-
treib@chromium.org authored
BUG=372381 Review URL: https://codereview.chromium.org/316813002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276452 0039d316-1c4b-4281-b951-d872f2087c98
-
jsbell@chromium.org authored
Classes of errors tackled: whitespace, include-what-you-use, explicit constructors, parameter names, include guards, bracing, and one use of "unsigned long" in IPC. This does not tackle use of non-const references, since those should be carefully reviewed and affects the callers. Also, several uses of "long" remain in content/child when implementing Blink interfaces. R=cmumford@chromium.org,ericu@chromium.org,tsepez@chromium.org BUG=381456 Review URL: https://codereview.chromium.org/311263014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276451 0039d316-1c4b-4281-b951-d872f2087c98
-
msw@chromium.org authored
Add a Label view to Tab for displaying the title. Remove Tab::PaintTitle, bounds and font members. Remove unnecessary Tab::Get[Title|Icon]Bounds helpers. Update the text on Tab::SetData, not during paint. Use gfx::DirectionalityMode, remove the Label enum. Add gfx::ALIGN_TO_HEAD to gfx::HorizontalAlignment. Add Label::GetHorizontalAlignment for ALIGN_TO_HEAD. Always flip left/right in Label::SetHorizontalAlignment. Have Tab and MessageBoxView use ALIGN_TO_HEAD. Update comments and tests, related minor cleanup. TODO: Make Label cache RenderText objects. TODO: Make RenderText support ALIGN_TO_HEAD. BUG=240037 TEST=No visible Views tab title changes. R=sky@chromium.org Review URL: https://codereview.chromium.org/323993002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276450 0039d316-1c4b-4281-b951-d872f2087c98
-
engedy@chromium.org authored
Do not de-reference Profile on the IO thread in BrowsingDataRemover::ClearNetworkPredictorOnIOThread. BUG=365030 Review URL: https://codereview.chromium.org/328703002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276449 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276448 0039d316-1c4b-4281-b951-d872f2087c98
-
earthdok@chromium.org authored
BUG=313751 TBR=glider@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/325253002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276447 0039d316-1c4b-4281-b951-d872f2087c98
-
machenbach@chromium.org authored
Please reply to the V8 sheriff mstarzinger@chromium.org in case of problems. TBR=mstarzinger@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/323333002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276446 0039d316-1c4b-4281-b951-d872f2087c98
-
vasilii@chromium.org authored
We need it for the "Remote unsync" project. If user accidentally signed-in in the library then he should be able to clean his passwords. date_synced designates the time the password was downloaded from the sync server. All passwords with (date_synced >= sign-in time) are to be deleted. BUG=362679 Review URL: https://codereview.chromium.org/316243002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276445 0039d316-1c4b-4281-b951-d872f2087c98
-
naiem.shaik@gmail.com authored
Move //chrome/common/thumbnail_score.{cc,h} into history component Since it does not depends on anything outside of //base and there is no plan to componentize thumbnails, it can be moved to //components/history/core/common BUG=372363 TEST=unit_tests --gtest_filter=Thumb* R=sdefresne,blundell,sky Review URL: https://codereview.chromium.org/304273010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276444 0039d316-1c4b-4281-b951-d872f2087c98
-
pavely@chromium.org authored
They are not used in test or for troubleshooting. BUG=382976 R=rlarocque@chromium.org Review URL: https://codereview.chromium.org/323133002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276442 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276440 0039d316-1c4b-4281-b951-d872f2087c98
-
spang@chromium.org authored
Double-clicking is broken because we didn't hit the repeat count path. Someday we will not have NativeEvent and this insanity will go away. BUG=323965 TEST=link_freon double clicking NOTRY=true Review URL: https://codereview.chromium.org/319133006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276438 0039d316-1c4b-4281-b951-d872f2087c98
-
yukishiino@chromium.org authored
It turned out that we should update the focused text input client not only when native focus/blur but also when native activate/deactivate. See crbug.com/377479 for details. Also this CL fixes the initial text input focus on CrOS login screen. BUG=323376,290701 TEST=Confirmed that the Omnibox gets the text input focus by default when a new window is created. Review URL: https://codereview.chromium.org/294023002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276437 0039d316-1c4b-4281-b951-d872f2087c98
-
tmdiep@chromium.org authored
App shims are now created for ephemeral apps in the user data directory to ensure that they have dock icons. App shims are not copied to the Applications folder as ephemeral apps should be hidden from the OS. BUG=375027 TEST=Launch an app ephemerally and ensure it has a dock icon, but does not appear in Spotlight search results. Install the app fully and ensure it now has both a dock icon and appears in Spotlight. Review URL: https://codereview.chromium.org/311293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276436 0039d316-1c4b-4281-b951-d872f2087c98
-
agl@chromium.org authored
This domain is getting turned down. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276434 0039d316-1c4b-4281-b951-d872f2087c98
-
mtomasz@chromium.org authored
Fetching remaining space is not implemented yet, hence we should not show the indicator in Files app for provided file systems. Note, that since provided file systems are read only, there is no actual need for this feature. This is temporary. Once the R/W support is added, we should bring back the indicator. TEST=Tested manually with experimental providing extensions. BUG=375020 Review URL: https://codereview.chromium.org/324253003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276433 0039d316-1c4b-4281-b951-d872f2087c98
-
stgao@chromium.org authored
TBR=samuong Review URL: https://codereview.chromium.org/323383004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276431 0039d316-1c4b-4281-b951-d872f2087c98
-
kinaba@chromium.org authored
Along the way, it fixes the filter regexp so that ("txt") will not match "foo.xtxt", etc. BUG=373659 Review URL: https://codereview.chromium.org/329763003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276430 0039d316-1c4b-4281-b951-d872f2087c98
-
asvitkine@chromium.org authored
Previously, it would persist logs in uncompressed form. This CL changes the code to compress logs before they're saved. A new pair of prefs is introduced for storing these logs, while reading from the old pref is still maintained to not lose old logs. Additionally, this makes the metrics log discard limit (currently 50k) be checked against the compressed size rather than the uncompressed size. Simplifies the format used to store logs, now simply storing the compressed log bytes and corresponding hash for each log. The size and checksum fields are removed. (Size was redundant while the checksum is not no longer necessary now that we store the log hash.) Deletes some tests that inspected the actual pref values are removed, in favor of tests that check that serializing and de-serializing works as expected. Finally, also introduces GzipUncompress() that is needed for tests that inspect log manager logs. BUG=382076 TBR=agl@chromium.org Review URL: https://codereview.chromium.org/318203004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276429 0039d316-1c4b-4281-b951-d872f2087c98
-
danakj@chromium.org authored
This adds a unit test that would fail after landing the https://codereview.chromium.org/287193003 CL without any further changes, documenting one regression it caused. R=brianderson, enne BUG=376649,374287 Review URL: https://codereview.chromium.org/321193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276428 0039d316-1c4b-4281-b951-d872f2087c98
-
acolwell@chromium.org authored
This appears to be causing the Google Chrome Win bot to have a compiler failure. http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/builds/24886 > Enable building and output-ing of browser_tests.exe for official Windows builds. > > BUG=379986 > > Review URL: https://codereview.chromium.org/323163003 TBR=anandc@chromium.org Review URL: https://codereview.chromium.org/327273003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276427 0039d316-1c4b-4281-b951-d872f2087c98
-
peria@chromium.org authored
BUG=347425,378621 Review URL: https://codereview.chromium.org/318353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276422 0039d316-1c4b-4281-b951-d872f2087c98
-
oshima@chromium.org authored
* and replace it with ui::GetScaleForScaleFactor * Minor simplification of if blocks in FaviconService BUG=372212 R=ananta@chromium.org Review URL: https://codereview.chromium.org/326143002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276421 0039d316-1c4b-4281-b951-d872f2087c98
-
tbarzic@chromium.org authored
Update API tests so they don't assume service_path == GUID BUG=381786 TBR=mef (updated test expectations in components/wifi/fake_wifi_service.cc) Review URL: https://codereview.chromium.org/320063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276420 0039d316-1c4b-4281-b951-d872f2087c98
-
sashab@chromium.org authored
Removed the App Info header from the Create Shortcuts dialog for Apps, as requested by UI, since it is always clear which app the shortcuts are being created for. The info still appears when creating shortcuts for bookmark (URL) apps. BUG=NONE Review URL: https://codereview.chromium.org/307873002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276419 0039d316-1c4b-4281-b951-d872f2087c98
-
jchaffraix@chromium.org authored
This is dead code as the Blink bits were removed in http://src.chromium.org/viewvc/blink?view=revision&revision=156126 Review URL: https://codereview.chromium.org/326823003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276417 0039d316-1c4b-4281-b951-d872f2087c98
-