- 08 Sep, 2009 21 commits
-
-
wtc@chromium.org authored
Don't call PR_GetErrorText because it is deprecated. Just print the error code returned by PR_GetError. Pass NULL to NSS_NoDB_Init. (The argument is ignored.) R=ukai BUG=20787,20819 TEST=Chromium should work on Red Hat Enterprise Linux and CentOS that have libnss3.so version 3.12.4.1 but libsoftokn3.so 3.11.4, which does not support the sql: database format we're using. Review URL: http://codereview.chromium.org/201036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25630 0039d316-1c4b-4281-b951-d872f2087c98
-
snej@chromium.org authored
This allows the HTML5 DataTransfer effectAllowed and dropEffect properties to be set correctly in JS handlers, as per the HTML5 spec. (The drag-dropeffect test isn't in WebKit yet -- it's part of a separate WebKit patch that's been in review for weeks.) R=darin,pink BUG=http://code.google.com/p/chromium/issues/detail?id=14654, http://code.google.com/p/chromium/issues/detail?id=20985 TEST=LayoutTests/fast/events/drag-dropeffect.html, LayoutTests/editing/pasteboard/files-during-page-drags.html Review URL: http://codereview.chromium.org/174364 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25629 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
TEST=none BUG=none Review URL: http://codereview.chromium.org/197041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25628 0039d316-1c4b-4281-b951-d872f2087c98
-
craig.schlenter@chromium.org authored
Trouble was seen in r25602, r25601 and r25574 et. al. on the waterfall. Review URL: http://codereview.chromium.org/199045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25627 0039d316-1c4b-4281-b951-d872f2087c98
-
japhet@chromium.org authored
BUG=21277 TEST=none R=thomasvl Review URL: http://codereview.chromium.org/200043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25626 0039d316-1c4b-4281-b951-d872f2087c98
-
japhet@chromium.org authored
BUG=none TEST=none TBR=eroman git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25625 0039d316-1c4b-4281-b951-d872f2087c98
-
phajdan.jr@chromium.org authored
This time really properly. TEST=none http://crbug.com/20347 Review URL: http://codereview.chromium.org/196019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25624 0039d316-1c4b-4281-b951-d872f2087c98
-
erikkay@chromium.org authored
added infrastructure to better support events and cleaned up callback testing. Review URL: http://codereview.chromium.org/192028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25623 0039d316-1c4b-4281-b951-d872f2087c98
-
japhet@chromium.org authored
BUG=none TEST=none TBR=dglazkov git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25622 0039d316-1c4b-4281-b951-d872f2087c98
-
sky@chromium.org authored
correctly on an expose. This happened if between the time we told Gtk we needed to paint and the time we got the expose event more paints were scheduled. In this case, because we were double buffered, GTK would clip to the original region we scheduled the paint for. The fix is to turn off double buffering as we're double buffering ourself. BUG=none TEST=none Review URL: http://codereview.chromium.org/198036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25621 0039d316-1c4b-4281-b951-d872f2087c98
-
rohitrao@chromium.org authored
BUG=http://crbug.com/14903 TEST=Findbar icons should look more like windows, be properly themed. Review URL: http://codereview.chromium.org/197040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25620 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
NO CODE CHANGE. TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25619 0039d316-1c4b-4281-b951-d872f2087c98
-
jon@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25618 0039d316-1c4b-4281-b951-d872f2087c98
-
thakis@chromium.org authored
Final tweaks to download item look on OS X. It now looks pretty much like on windows and linux, but is drawn nearly completely with vectors. Also fix the SkColor->NSColor conversion in the mac theme provider. Also let status bubble text color be influenced by current theme. BUG=18902,18438 TEST=Download items now look like on windows. Color of the main download item text should change with the theme. Also, the status bubble text now adapts to the theme, and themes that specify text colors can now successfully change the color of e.g. the text in tabs. Also check that the status text ("104.0/110 MB, 1 h 45 secs left") is elided at the right when it's too long. Review URL: http://codereview.chromium.org/192033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25616 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
The resulting PDF file will now be passed to the browser and be saved as "chromium_printing_test.pdf" under current directory. BUG=9847 TEST=printing on linux should now generate chromium_printing_test.pdf in download directory. Printing on Windows should still work. Patch contributed by minyu.huang@gmail.com Review URL: http://codereview.chromium.org/172115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25615 0039d316-1c4b-4281-b951-d872f2087c98
-
mnaganov@chromium.org authored
Made a local run for 25 times, got no single failure. BUG=http://crbug.com/21108 TEST=none Review URL: http://codereview.chromium.org/200040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25614 0039d316-1c4b-4281-b951-d872f2087c98
-
yurys@google.com authored
DevTools: provisional support for scopes of type 'Catch' introduced in v8 by http://codereview.chromium.org/202005 BUG=17229 Review URL: http://codereview.chromium.org/200039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25613 0039d316-1c4b-4281-b951-d872f2087c98
-
mbelshe@google.com authored
The spec says that calling realloc(ptr, 0) should free ptr and return NULL. BUG=none TEST=none Review URL: http://codereview.chromium.org/196041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25612 0039d316-1c4b-4281-b951-d872f2087c98
-
tkent@chromium.org authored
Moved versions of those files from sandbox/src/ to base/ (overwrite versions in base/ to avoid 64-bit warning). Removed 'sandbox' namespace, adapted other files as necessary. BUG=8348 TEST=none Original review URL: http://codereview.chromium.org/179039 Patch by rsteiner git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25611 0039d316-1c4b-4281-b951-d872f2087c98
-
jorlow@chromium.org authored
BUG=20987,20985 TEST=none Review URL: http://codereview.chromium.org/196003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25610 0039d316-1c4b-4281-b951-d872f2087c98
-
jorlow@chromium.org authored
Refactor DOM storage to be more object oriented. All the DOMStorageDispatcher hosts (which are each owned by one ResourceMessageFilter) for the same profile share a WebKit context, and each one of those contexts owns a DOMStorageContext. The DOMStorageContext owns storage namespace objects which own storage area objects which wrap their WebKit counterparts. Not only is this cleaner code wise and more efficient (we're not duplicating WebStorageNamespaces and Areas for each DOMStorageDispatcherHost) but this is necessary for events and locking. TEST=none BUG=none Review URL: http://codereview.chromium.org/192003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25609 0039d316-1c4b-4281-b951-d872f2087c98
-
- 07 Sep, 2009 14 commits
-
-
abarth@chromium.org authored
somewhat unfortunate, but we need to do this until we have a built-in feed previewer. R=mal BUG=21238 Review URL: http://codereview.chromium.org/201044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25608 0039d316-1c4b-4281-b951-d872f2087c98
-
thakis@chromium.org authored
BUG=None TEST=None Review URL: http://codereview.chromium.org/183008 Patch from tfarina. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25607 0039d316-1c4b-4281-b951-d872f2087c98
-
dglazkov@chromium.org authored
TBR=thomasvl TEST=none BUG=8630 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25606 0039d316-1c4b-4281-b951-d872f2087c98
-
dglazkov@chromium.org authored
TBR=thomasvl TEST=none BUG=none Review URL: http://codereview.chromium.org/202006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25605 0039d316-1c4b-4281-b951-d872f2087c98
-
dglazkov@chromium.org authored
(and mark the ones that pass) in preparation for rebaselining. TBR=asargent TEST=none BUG=8630 Review URL: http://codereview.chromium.org/199036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25604 0039d316-1c4b-4281-b951-d872f2087c98
-
mbelshe@google.com authored
This paves the way for some upcoming allocator improvements BUG=none TEST=none Review URL: http://codereview.chromium.org/199041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25603 0039d316-1c4b-4281-b951-d872f2087c98
-
craig.schlenter@chromium.org authored
Most of these squash harmless compiler warnings but the custom_button.cc change fixes a real problem with the accelerator key bitmask calculation (+ preceeds << in terms of operator precedence) The change to tab_strip.cc is ugly but it fixes the following error: chrome/browser/views/tabs/tab_strip.cc: In member function ‘void TabStrip::StartRemoveTabAnimation(int, TabContents*)’: chrome/browser/views/tabs/tab_strip.cc:201: error: assuming signed overflow does not occur when assuming that (X - c) > X is always false As an added bonus, this makes the Linux shared build of toolkit_views work too. Review URL: http://codereview.chromium.org/199025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25602 0039d316-1c4b-4281-b951-d872f2087c98
-
mbelshe@google.com authored
This funciton is defined as part of tcmalloc; it shouldn't be in libcmt anymore. BUG=none TEST=none; we're removing code from libc. If this is a problem, it will fail to link. Review URL: http://codereview.chromium.org/200036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25601 0039d316-1c4b-4281-b951-d872f2087c98
-
benl@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25600 0039d316-1c4b-4281-b951-d872f2087c98
-
benl@chromium.org authored
not OS_WIN. Added USE_X11. Set when OS_LINUX or OS_FREEBSD is set. Added USE_BASE_DATA_PACK for base::DataPack usage, set for OS_MACOSX, OS_LINUX or OS_FREEBSD. Added USE_NSS for ... nss (for crypto). Windows and MacOS use platform-specific libraries. All of the above cause slightly odd formulations like: #if defined(OS_WIN) ... #elif defined(USE_BASE_DATA_PACK) ... #endif Possibly should also define USE_DLL_FOR_DATA, etc? Or something? Wrapped various references to struct stat64 and stat64() to use struct stat and stat() for FreeBSD - but a "man stat64" on Linux suggests that we could do the same thing for at least Linux, too, and perhaps eliminate the wrapper? git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25599 0039d316-1c4b-4281-b951-d872f2087c98
-
ager@chromium.org authored
TBR=christian.plesner.hansen@gmail.com Review URL: http://codereview.chromium.org/193038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25598 0039d316-1c4b-4281-b951-d872f2087c98
-
mnaganov@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/202003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25597 0039d316-1c4b-4281-b951-d872f2087c98
-
ager@chromium.org authored
webview can be NULL if dispatchDidFinishDocumentLoad is called via a frame destructor. BUG=20324 TEST=LayoutTests/http/tests/security/javascriptURL/javascriptURL-in-new-iframe.html Review URL: http://codereview.chromium.org/194022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25596 0039d316-1c4b-4281-b951-d872f2087c98
-
tkent@chromium.org authored
TEST=none BUG=20993 Review URL: http://codereview.chromium.org/199020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25595 0039d316-1c4b-4281-b951-d872f2087c98
-
- 06 Sep, 2009 5 commits
-
-
http://b/issue?id=1694574ananta@chromium.org authored
Chrome side of the fix for http://b/issue?id=1694574, which is a bug caused when a new automation client instance is launched and attempts to attach to an existing external tab. An example of where this could happen is javascript on a page attempting a window.open with target _blank. In this case the Chrome browser creates a TabContents instance which is attached to an ExternalTabContainer instance. The automation client then attaches to this ExternalTabContainer. This all works if the automation client is in the same client process. If a new process is launched a separate automation channel is created between the client and the chrome browser which causes this to not work as expected. Fix is have a floating ExternalTabContainer instance which is eventually connected to by the client. When we receive a notification from the client that it is about to connect to the ExternalTabContainer instance we setup the automation channel and other info in the underlying automation profile. The new TabContents is created with the same profile instance as the current TabContents. This does not work correctly if the underlying profile is an automation profile as its lifetime is tied to the ExternalTabContainer. To fix this I added a setter for the new policy to the NavigationController. Not doing this causes the browser to crash if the original ExternalTabContainer instance dies. There is a bigger issue here which is that all this profile sharing would cause session cookies to not work correctly if multiple automation clients are connected to the same Chrome browser instance over the same profile. I will file a separate bug to track this issue. Bug=1694574 Review URL: http://codereview.chromium.org/200003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25594 0039d316-1c4b-4281-b951-d872f2087c98
-
darin@chromium.org authored
I did this for two reasons: 1) For enumeration types that are not defined within a class, and therefore do not have a corresponding .cpp file, we have an obvious place to put the compile asserts. 2) It keeps these assertions out of the more interesting code, which should help with readability a bit. R=jorlow BUG=none TEST=none Review URL: http://codereview.chromium.org/198034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25593 0039d316-1c4b-4281-b951-d872f2087c98
-
dglazkov@chromium.org authored
TBR=jianli TEST=none BUG=21162 Review URL: http://codereview.chromium.org/201039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25586 0039d316-1c4b-4281-b951-d872f2087c98
-
suzhe@chromium.org authored
This CL fixes issue 20934 by eliminating the side effect caused by Enter key press event. BUG=20934: Omnibox keyboard behavior wrong for "See recent pages in history" TEST=Input something in omnibox, make sure it triggers "See N recent pages in history containing XXX", then select this item and press Enter to see if chrome://history/#q=XXX is opened. Review URL: http://codereview.chromium.org/196020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25585 0039d316-1c4b-4281-b951-d872f2087c98
-
eroman@chromium.org authored
Also in this change, I stop brodacasting the proxy settings changes to LOG(INFO) --- This is because navigating to "view-net-internal:proxyservice.config" offers a better solution, so no point polluting the log file. Note that the format change is intended to make the string more succint and human readable. For example, here is a before and after comparison: ------------ New version: ------------ Automatic settings: Auto-detect: No Custom PAC script: [None] Manual settings: Proxy server: [None] Bypass list: [None] Bypass local names: No ------------ Old version: ------------ { auto_detect: 0 pac_url: proxy_rules: { type: TYPE_NO_RULES single_proxy: proxy_for_http: proxy_for_https: proxy_for_ftp: socks_proxy: } proxy_bypass_local_names: 0 proxy_bypass_list: id: 1 } BUG=http://crbug.com/14478 TEST=ProxyConfigTest.ToString Review URL: http://codereview.chromium.org/198039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25584 0039d316-1c4b-4281-b951-d872f2087c98
-