- 27 Oct, 2011 40 commits
-
-
backer@chromium.org authored
TBR=sadrul BUG=none TEST=linux_aura goes green Review URL: http://codereview.chromium.org/8416017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107636 0039d316-1c4b-4281-b951-d872f2087c98
-
pkasting@chromium.org authored
BUG=101938 TEST=none Review URL: http://codereview.chromium.org/8343036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107635 0039d316-1c4b-4281-b951-d872f2087c98
-
dcheng@chromium.org authored
This is just a temporary workaround for dogfood. BUG=97831 TEST=test app on crbug.com/101413 Review URL: http://codereview.chromium.org/8393014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107634 0039d316-1c4b-4281-b951-d872f2087c98
-
atwilson@chromium.org authored
BUG=98347 TEST=none Review URL: http://codereview.chromium.org/8400032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107633 0039d316-1c4b-4281-b951-d872f2087c98
-
acolwell@chromium.org authored
BUG=86536 TEST=None Review URL: http://codereview.chromium.org/8395053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107632 0039d316-1c4b-4281-b951-d872f2087c98
-
gman@chromium.org authored
BUG=101870 TEST=unit tests Review URL: http://codereview.chromium.org/8404029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107631 0039d316-1c4b-4281-b951-d872f2087c98
-
varunjain@chromium.org authored
BUG=97249 TEST=none Review URL: http://codereview.chromium.org/8371024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107630 0039d316-1c4b-4281-b951-d872f2087c98
-
kkania@chromium.org authored
non-recognized capabilities, return errors on incorrect input types, and allow new format where all options are placed under a chromeOptions dictionary. The latter is needed to simplify handling capabilities on the WebDriver client side. See http://codereview.appspot.com/5307047/. BUG=82895,94721 TEST=none Review URL: http://codereview.chromium.org/8341044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107629 0039d316-1c4b-4281-b951-d872f2087c98
-
eroman@chromium.org authored
BUG=101984 Review URL: http://codereview.chromium.org/8400042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107628 0039d316-1c4b-4281-b951-d872f2087c98
-
piman@chromium.org authored
A change in the UI code exposed this bug where we were not setting the opacity properly on the web layer in certain cases. BUG=None TEST=chrome/aura Review URL: http://codereview.chromium.org/8400014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107627 0039d316-1c4b-4281-b951-d872f2087c98
-
jam@chromium.org authored
Move cloud_print_class_mac files from content/common to chrome/common/cloud_print. They don't belong in content. TBR=abodenha Review URL: http://codereview.chromium.org/8341079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107626 0039d316-1c4b-4281-b951-d872f2087c98
-
asvitkine@chromium.org authored
The previous calculation had a problem due to the following logic: SkPoint point(SkPoint::Make(SkIntToScalar(offset.x()), SkIntToScalar(display_rect().height() - offset.y()))); If display_rect().y() was large and height was the height for e.g. one line of text, then when the code subtracted offset.y() (which was based on display_rect().y()), the result was a negative y position (offscreen) for the text. This CL changes the logic to correctly center the text vertically regardless of the y position, which I believe was the intention of the code. BUG=none TEST=Open Chrome with --use-pure-views. Type something into omnibox. Text should be centered in omnibox. Review URL: http://codereview.chromium.org/8401032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107625 0039d316-1c4b-4281-b951-d872f2087c98
-
satorux@chromium.org authored
This was just an oversight. Along the way, update comments in dbus_thread_manager.h about callbacks. TEST=none BUG=none Review URL: http://codereview.chromium.org/8341073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107624 0039d316-1c4b-4281-b951-d872f2087c98
-
backer@chromium.org authored
r107262 nuked it. r107433 reintroduced it (presumably a bad merge). R=apatrick BUG=none TEST=none Review URL: http://codereview.chromium.org/8414001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107623 0039d316-1c4b-4281-b951-d872f2087c98
-
achuith@chromium.org authored
BUG=101390 TEST=ui tests continue to pass. Review URL: http://codereview.chromium.org/8390041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107622 0039d316-1c4b-4281-b951-d872f2087c98
-
sadrul@chromium.org authored
It turns out XLookupKeysym does not take into account the status of the lock/shift etc. keys. So we need to use XLookupString instead (which does). BUG=101831 TEST=manually Review URL: http://codereview.chromium.org/8416005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107621 0039d316-1c4b-4281-b951-d872f2087c98
-
jhawkins@chromium.org authored
BUG=101938 TEST=none R=pkasting@chromium.org Review URL: http://codereview.chromium.org/8417004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107620 0039d316-1c4b-4281-b951-d872f2087c98
-
satorux@chromium.org authored
Along the way, rename the class to SensorsClient, to be consistent with other classes in the directory, and do some minor cleanup. BUG=none TEST=none Review URL: http://codereview.chromium.org/8400034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107619 0039d316-1c4b-4281-b951-d872f2087c98
-
backer@chromium.org authored
R=ben BUG=run out of VRAM TEST=open and close many tabs on touch device; VRAM should remain roughly constant Review URL: http://codereview.chromium.org/8411002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107618 0039d316-1c4b-4281-b951-d872f2087c98
-
jsbell@chromium.org authored
Update chromium tests for new IDBDatabase.transaction() restrictions. The transaction([]) shortcut is no longer supported, stores must be listed explicitly. WebKit change is https://bugs.webkit.org/show_bug.cgi?id=70251 Discussion of change: https://groups.google.com/a/chromium.org/group/chromium-html5/browse_thread/thread/f667458ca6455d33/1496ad2d1a67b53f#1496ad2d1a67b53f BUG=101927 TEST=content_unittests --gtest_filter='*IndexedDB*' Review URL: http://codereview.chromium.org/8414002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107617 0039d316-1c4b-4281-b951-d872f2087c98
-
jsbell@chromium.org authored
in https://bugs.webkit.org/show_bug.cgi?id=70251 See thread: https://groups.google.com/a/chromium.org/group/chromium-html5/browse_thread/thread/f667458ca6455d33/1496ad2d1a67b53f#1496ad2d1a67b53f BUG=101973 TEST=performance_ui_tests --gtest_filter='*IndexedDB*' Review URL: http://codereview.chromium.org/8341080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107616 0039d316-1c4b-4281-b951-d872f2087c98
-
jam@chromium.org authored
Enforce that chrome/common doesn't depend on content/common through DEPS. Also add a comment in the public dir of content. BUG=98716 Review URL: http://codereview.chromium.org/8417001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107614 0039d316-1c4b-4281-b951-d872f2087c98
-
zelidrag@chromium.org authored
Added logic that will retry to reload+reconnect the mobile payment portal page 5 times before it eventually gives up and shows service unavailable error. Expanded frame sniffer to send an event when a frame which is being watched gets finally loaded. From the sent error (or its absence) and this new event, we can finally reconstruct on the browser side if a given iframe was loaded successfully or not. BUG=chromium-os:20525, chromium-os:21738 TEST=tricky one to test since it repros on 3g network flakyness. one can edit /usr/lib/cromo/config/madison.ini and put a bad value for olp_root there to trigger this. Review URL: http://codereview.chromium.org/8341037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107613 0039d316-1c4b-4281-b951-d872f2087c98
-
sky@chromium.org authored
observing in its destructor. BUG=none TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/8417002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107612 0039d316-1c4b-4281-b951-d872f2087c98
-
jennb@chromium.org authored
BUG=None TEST=Look at about:flags and see 'Disable Panels'. Should be off by default. Review URL: http://codereview.chromium.org/8416003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107609 0039d316-1c4b-4281-b951-d872f2087c98
-
ben@chromium.org authored
Always use skia text rendering on Windows in Aura. GDI rendering is really wonky, and this is a convenient fix. BUG=none TEST=none Review URL: http://codereview.chromium.org/8400023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107608 0039d316-1c4b-4281-b951-d872f2087c98
-
palmer@chromium.org authored
Review URL: http://codereview.chromium.org/8341074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107607 0039d316-1c4b-4281-b951-d872f2087c98
-
kkania@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/8401007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107606 0039d316-1c4b-4281-b951-d872f2087c98
-
simonjam@chromium.org authored
a cached page. The problem is that the same ResourceLoadTiming struct is re-used for each redirect. So, we record the deltas for connect time, headers, send request, etc., for each redirect. But, after the last redirect, we simply have a cache hit. So, the base_time is updated for that cache hit, but the deltas are still relative to the old base_time value. When we apply the old deltas to the new base_time, we end up with a time in the future. To fix this, I clear ResourceLoadTimingInfo after each redirect. I've added a UI test for this. I could've done a unit test, but we have no end- to-end Navigation Timing tests and it'd be easy for this to be broken by some unrelated change to NetLog and redirects, so I prefer having this test be a safe guard. On a related note, I noticed that LoadTimingObserver::OnAddURLRequestEntry() is called at least twice for each source.id. Once for the normal URLRequest, and once for the AppCacheURLRequest. Fortunately, they're only 100 ns apart, so it doesn't screw up the times. But, it was a surprise to me. Perhaps we should ignore the AppCache requests? BUG=None TEST=ui_tests Review URL: http://codereview.chromium.org/8336012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107604 0039d316-1c4b-4281-b951-d872f2087c98
-
joth@chromium.org authored
This change splits the GL binding initialization into to phases: core functions and extension functions. This is motivated by two peculiarities of the EGL window binding layer: 1. Pointers to core GL entry points may not be queried through eglGetProcAddress(). 2. The return value of eglGetProcAddress() is not specified to be NULL for unsupported functions. In light of these limitations, the current strategy of blindly querying all GL entry points from eglGetProcAddress() and falling back to dlsym() results in bogus function pointers on some EGL implementations. This patch fixes the problem as follows: 1. Add GetGLCoreProcAddress() that only queries dlsym() and use it to initialize pointers to all entry points. On EGL based platforms pointers to extension functions will most likely be NULL at this point. 2. When a context is first made current, look up the set of supported extensions and use GetGLProcAddress() to populate the remaining extension function pointers. The reworked GL bindings generator uses the standard Khronos headers to recognize the extension functions and produce appropriate initialization code. Note that the patch also updates gl2ext.h to match the upstream Khronos version and corrects some minor errors in the downstream changes. BUG=5427391 TEST= Review URL: http://codereview.chromium.org/8381001 Patch from Sami Kyostila <skyostil@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107602 0039d316-1c4b-4281-b951-d872f2087c98
-
oleg@chromium.org authored
Review URL: http://codereview.chromium.org/8390046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107601 0039d316-1c4b-4281-b951-d872f2087c98
-
dmichael@chromium.org authored
BUG=101665 TEST=these tests Review URL: http://codereview.chromium.org/8392046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107600 0039d316-1c4b-4281-b951-d872f2087c98
-
grt@chromium.org authored
http://crrev.com/107401 introduced a WebUI cert selector that relies upon NSS and/or OpenSSL. These aren't used on Windows, so linking fails. BUG=97856 TEST=build on windows, see if it works Review URL: http://codereview.chromium.org/8403043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107599 0039d316-1c4b-4281-b951-d872f2087c98
-
sadrul@chromium.org authored
This fixes these issue: . clicking on the desktop window ends up shrinking the desktop itself. . the desktop window gets in front of the chrome window on startup. . crash when mousewheeling on the desktop. Also check for NULL active_workspace_ to avoid a crash when clicking on an empty desktop. BUG=none TEST=none Review URL: http://codereview.chromium.org/8399044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107594 0039d316-1c4b-4281-b951-d872f2087c98
-
sadrul@chromium.org authored
BUG=none TEST=gfx_unittets on linux_aura should go green Review URL: http://codereview.chromium.org/8391006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107592 0039d316-1c4b-4281-b951-d872f2087c98
-
dmichael@chromium.org authored
BUG= code.google.com/p/nativeclient/issues/detail?id=2394 TEST=cd native_client; ./scons --mode=opt-host,nacl chrome_browser_tests Note: For some reason, trybot runs aren't appearing here. You can see them at: http://build.chromium.org/p/tryserver.chromium/waterfall?committer=dmichael@chromium.org The constructor is the 'new right way' to do it anyway: http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html Review URL: http://codereview.chromium.org/8340019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107591 0039d316-1c4b-4281-b951-d872f2087c98
-
yurys@chromium.org authored
BUG=101927 TEST=IndexedDBBrowserTestWithLowQuota.QuotaTest TBR=johnnyg Review URL: http://codereview.chromium.org/8413001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107589 0039d316-1c4b-4281-b951-d872f2087c98
-
kaznacheev@chromium.org authored
Commented out a line that reliably fails the tests, although the real cause seems to be chromium:101665. BUG= TEST= Review URL: http://codereview.chromium.org/8363054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107588 0039d316-1c4b-4281-b951-d872f2087c98
-
piman@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107587 0039d316-1c4b-4281-b951-d872f2087c98
-
sadrul@chromium.org authored
BUG=97248 TEST=manually Review URL: http://codereview.chromium.org/8402031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107586 0039d316-1c4b-4281-b951-d872f2087c98
-