summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Chrome-side of moving webkit/glue/cache_manager.{h,cc} to the WebKit API layer.darin@chromium.org2009-03-1927-266/+266
| | | | | | | | | | | | | | This also includes a change to not have third_party/WebKit/WebKit/chromium/public in the global include path. Most of the code changes pertain to this. I also took this opportunity to do some renaming: browser/cache_manager_host -> browser/renderer_host/web_cache_manager R=brettw Review URL: http://codereview.chromium.org/42194 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12085 0039d316-1c4b-4281-b951-d872f2087c98
* Remove useless BlockedRequest class.abarth@chromium.org2009-03-192-13/+6
| | | | | | | | | R=wtc BUG=8860 Review URL: http://codereview.chromium.org/42384 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12083 0039d316-1c4b-4281-b951-d872f2087c98
* Check return value of AbsolutePathagl@chromium.org2009-03-191-1/+2
| | | | | | | | | (found by Coverity) Review URL: http://codereview.chromium.org/48161 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12080 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/42382georged@chromium.org2009-03-191-9/+10
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12074 0039d316-1c4b-4281-b951-d872f2087c98
* Roll back double launch of chrome fixcpu@google.com2009-03-191-3/+1
| | | | | | | | | | - rolling back http://codereview.chromium.org/48120/ - it turns out the launch behaviour is now specified in the tag Review URL: http://codereview.chromium.org/42381 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12073 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed build bustage due to r12071hclam@chromium.org2009-03-191-0/+3
| | | | | | | | | Added missing delayload entries to chrome/app/chrome.dll.deps. TBR=maruel Review URL: http://codereview.chromium.org/48172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12072 0039d316-1c4b-4281-b951-d872f2087c98
* Uses FFmpeg in chrome/rendererhclam@chromium.org2009-03-196-9/+17
| | | | | | | | | | | - Have chrome/renderer to use FFmpeg - Added using_media.vsprops to all affected projects that depends on chrome/renderer. - Added lib path "$(OutDir)\lib" to essential.vsprops Review URL: http://codereview.chromium.org/48118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12071 0039d316-1c4b-4281-b951-d872f2087c98
* Pre-upstream style changes: rename enableWebWorkers to ↵dimich@google.com2009-03-191-1/+1
| | | | | | | | | setIsWebWorkersEnabled to follow isFoo/setIsFoo pattern. Also pull DEPS to bring in the WebKit/chromium/src part. Review URL: http://codereview.chromium.org/48157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12066 0039d316-1c4b-4281-b951-d872f2087c98
* Deletes the now unused AccessibleWrapper (replaced in previous CL by ↵klink@chromium.org2009-03-192-133/+0
| | | | | | | | ViewAccessibilityWrapper). Review URL: http://codereview.chromium.org/48170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12064 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash when double clicking a menu button.ben@chromium.org2009-03-191-1/+4
| | | | | | Review URL: http://codereview.chromium.org/42376 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12063 0039d316-1c4b-4281-b951-d872f2087c98
* Reuse the eula terms from the chrome resourcescpu@google.com2009-03-192-23/+51
| | | | | | | | | | | - that outta reduce the fat that setup.exe gained - this is the chrome side of the fix BUG=8894 Review URL: http://codereview.chromium.org/48114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12046 0039d316-1c4b-4281-b951-d872f2087c98
* Fix single-process ui test failures from my previous change. The problem ↵jam@chromium.org2009-03-186-12/+13
| | | | | | | | | was that the wrong pid was being sent to RDH from RMF. It needs to be the fake pid for the in-process renderer. BUG=8890 Review URL: http://codereview.chromium.org/42366 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12040 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor sandboxing code so that it can be used by worker processes.jam@chromium.org2009-03-189-244/+216
| | | | | | Review URL: http://codereview.chromium.org/42311 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12038 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing 'return true' to stop switch fall though.agl@chromium.org2009-03-181-0/+1
| | | | | | | | | (found by Coverity) Review URL: http://codereview.chromium.org/42370 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12035 0039d316-1c4b-4281-b951-d872f2087c98
* Navigating to about:memory page from Task manager should bring up thetc@google.com2009-03-181-0/+2
| | | | | | | | | | | | | | | minimized browser window. BUG=4557 ( http://crbug.com/4557 ) Original patch by Mohamed Mansour <m0.interactive@gmail.com> in http://codereview.chromium.org/42208/show Review URL: http://codereview.chromium.org/48167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12034 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix crash when renderer asks for the location of a NULL windowagl@chromium.org2009-03-181-0/+5
| | | | | | | | | | | There are cases where the renderer asks for the root rectangle of its window before we have a window for it. Since we still have the NativeViewId hack in place, this previously caused a crash. Review URL: http://codereview.chromium.org/42356 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12032 0039d316-1c4b-4281-b951-d872f2087c98
* Check return values for ReadInt in SSL manageragl@chromium.org2009-03-181-4/+3
| | | | | | | | | (found by Coverity) Review URL: http://codereview.chromium.org/42369 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12030 0039d316-1c4b-4281-b951-d872f2087c98
* Fix no-op DCHECKagl@chromium.org2009-03-181-1/+1
| | | | | | | | | | | new_name_count_ is unsigned, so checking for >= 0 is useless. (Found by Coverity) Review URL: http://codereview.chromium.org/48152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12029 0039d316-1c4b-4281-b951-d872f2087c98
* Check return value of SharedMemory::Createagl@chromium.org2009-03-181-3/+3
| | | | | | | | | (found by Coverity) Review URL: http://codereview.chromium.org/42367 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12027 0039d316-1c4b-4281-b951-d872f2087c98
* Fix possible memory leak.agl@chromium.org2009-03-181-3/+4
| | | | | | | | | (Coverity discovered it.) Review URL: http://codereview.chromium.org/49002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12025 0039d316-1c4b-4281-b951-d872f2087c98
* CreateResourceRequest() inhclam@chromium.org2009-03-181-0/+1
| | | | | | | | | | | | | | | chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc is not updated when |request_context| is added to ViewHostMsg_Resource_Request. In r11816 CreateResourceRequest() is used to prepare ViewHostMsg_Resource_Request with |request_context| uninitialized, giving the purify bot red. Initializing the variable should fix the UMR error. Review URL: http://codereview.chromium.org/42360 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12021 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/42288georged@chromium.org2009-03-1817-214/+524
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12016 0039d316-1c4b-4281-b951-d872f2087c98
* Bug 4688: First run bubble ignores user's keyboard attemptfinnur@chromium.org2009-03-182-10/+43
| | | | | | | | | | | | | | | | (tab) to change Search Engine. Not a good first impression. BUG=4688 TEST=Open Chrome using --first-run, press Cancel on the import dialog and watch the First Run bubble come up. Use Tab and then Enter and the Change Search Engine should appear. Then try it again, but this time click outside the bubble to dismiss it (corner case that could lead to a crash). Review URL: http://codereview.chromium.org/48138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12014 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix scrollingagl@chromium.org2009-03-181-6/+18
| | | | | | | | | | | I had assuming that we always scroll the whole window; I was wrong. This patch fixes issues with 'ghost' scrollbars appearing when the window looses focus and with huge misrendering when scrolling iframes. Review URL: http://codereview.chromium.org/42357 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12012 0039d316-1c4b-4281-b951-d872f2087c98
* Ports all of the chrome/browser/history code to use FilePath, exceptestade@chromium.org2009-03-1825-168/+172
| | | | | | | | | | | | | for DownloadDatabase, InMemoryDatabase, and RedirectUiTest. Except for in those files, we now only use std::wstring for text strings. This CL also enables two more unittests on Mac. patch by Rohit Rao. http://codereview.chromium.org/48018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12009 0039d316-1c4b-4281-b951-d872f2087c98
* New native control helpers. Built but not run by anyone just yet. See design docben@chromium.org2009-03-187-0/+794
| | | | | | | | http://dev.chromium.org/developers/design-documents/native-controls Review URL: http://codereview.chromium.org/48094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12008 0039d316-1c4b-4281-b951-d872f2087c98
* Use a more generic pattern for the `anonymous namespace'::PureCall crash.patrick@chromium.org2009-03-181-1/+1
| | | | | | Review URL: http://codereview.chromium.org/42338 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12002 0039d316-1c4b-4281-b951-d872f2087c98
* Make startup_tests build and work on Mac.phajdan.jr@chromium.org2009-03-189-47/+80
| | | | | | | | | | Also ensure that Chromium.app quits properly between the tests. http://crbug.com/8391 Review URL: http://codereview.chromium.org/42306 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11998 0039d316-1c4b-4281-b951-d872f2087c98
* Implement GTK dropdown menus.estade@chromium.org2009-03-184-23/+108
| | | | | | | | These are used for <select> html items, for example. Review URL: http://codereview.chromium.org/48054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11991 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mac build break.estade@chromium.org2009-03-181-1/+0
| | | | | | | | tbr=avi Review URL: http://codereview.chromium.org/48139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11988 0039d316-1c4b-4281-b951-d872f2087c98
* Let checkdeps ignore #if 0 blocks. Also strip lines of leading/trailing ↵thestig@chromium.org2009-03-181-3/+0
| | | | | | | | whitespaces before checking. Review URL: http://codereview.chromium.org/42316 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11986 0039d316-1c4b-4281-b951-d872f2087c98
* Fix underflow that would cause either an access violation or an infinite ↵robertshield@google.com2009-03-181-2/+3
| | | | | | | | loop if we were ever to get a "chrome_config" node back in metrics response data. Review URL: http://codereview.chromium.org/42335 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11983 0039d316-1c4b-4281-b951-d872f2087c98
* Remove BrowserWindow::Init().estade@chromium.org2009-03-187-111/+99
| | | | | | | | This belongs as a private method of BrowserView. Neither mac nor linux uses it. Review URL: http://codereview.chromium.org/42298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11982 0039d316-1c4b-4281-b951-d872f2087c98
* Fix errors detected by coverity.paulg@google.com2009-03-181-6/+6
| | | | | | Review URL: http://codereview.chromium.org/48136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11981 0039d316-1c4b-4281-b951-d872f2087c98
* Adds Get(Root)WindowRect handlers for the Mac.avi@google.com2009-03-188-65/+120
| | | | | | | | Fixes http://crbug.com/8829 . Review URL: http://codereview.chromium.org/42336 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11980 0039d316-1c4b-4281-b951-d872f2087c98
* Reland the changes to use command line switch to turn on worker feature.jianli@chromium.org2009-03-184-0/+10
| | | | | | Review URL: http://codereview.chromium.org/48106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11975 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unneeded uses of base/ref_counted.h.thestig@chromium.org2009-03-1810-10/+5
| | | | | | Review URL: http://codereview.chromium.org/48105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11974 0039d316-1c4b-4281-b951-d872f2087c98
* Fix dragging a Chrome window which has a single tab by the tab itself.idanan@chromium.org2009-03-181-7/+1
| | | | | | | | | | | | | | | | | | | A change in 9953 made a tab of a single chrome-window with a single tab part of the client area so that double-clicks on it are not treated as non-client double-clicks and that the tab context-menu appears instead of the system context menu (see issue 3787). That change also solved issue 2827 (which is not restructed to the close button of the right-most tab). Change 10929 reverted 9953 partially, keeping the sinle-tab of a single-window as part of the client area but removed the double-click swallowing code that was needed to fix 2827. In doing so, dragging a single-tabbed single chrome window by the tab (not the tabstrip) no longer worked. This small changes only fixes that behavior. It turns out that there was a use case where some users want double-clicks to be considered as two single-clicks (see issue 8287) and swallowing the double-click breaks this. Review URL: http://codereview.chromium.org/46033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11973 0039d316-1c4b-4281-b951-d872f2087c98
* Style issues:patrick@chromium.org2009-03-181-4/+6
| | | | | | | | | - Fix indentation. - Reorder typedefs according to style guide. - Add DISALLOW_COPY_AND_ASSIGN. Review URL: http://codereview.chromium.org/42322 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11971 0039d316-1c4b-4281-b951-d872f2087c98
* Remove an assertion I added in my DOM UI change. It looks like this happens inbrettw@chromium.org2009-03-181-5/+0
| | | | | | | some cases and doesn't represent an actual problem. Review URL: http://codereview.chromium.org/48134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11966 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing a few minor issues found during static analysis of the Chromium codebase.finnur@chromium.org2009-03-183-6/+6
| | | | | | | | | | | | | | | | | | | | | | find_bar_controller.cc: Unused local variable created. hwnd_view.cc: The local definition of parent overshadows param passed in. google_update.cc: Uninitialized member variable. webframe_impl.cc: The if was overly constrained. At the top of the function there is an if (reset) { ... return; } so we don't need to check for !reset in the next if statement. This functionality is covered by a ui_test, which passes with this change. Review URL: http://codereview.chromium.org/42321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11964 0039d316-1c4b-4281-b951-d872f2087c98
* Make startup_tests print results on Linux.phajdan.jr@chromium.org2009-03-187-160/+161
| | | | | | | | Switch from wstring to string where needed. Review URL: http://codereview.chromium.org/42303 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11963 0039d316-1c4b-4281-b951-d872f2087c98
* Port DirectoryWatcher to Linux using inotify.phajdan.jr@chromium.org2009-03-181-1/+1
| | | | | | Review URL: http://codereview.chromium.org/42037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11962 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 11946 since it is causing a build breakage on full rebuild. The maruel@chromium.org2009-03-181-1/+1
| | | | | | | | | | sandbox project wasn't copying wow_helper.exe anymore, causing a build breakage on x64 platforms only. TBR=bnelson Review URL: http://codereview.chromium.org/42328 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11955 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 11953.hbono@chromium.org2009-03-189-179/+1
| | | | | | Review URL: http://codereview.chromium.org/48121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11954 0039d316-1c4b-4281-b951-d872f2087c98
* A tricky fix for Issue 1845.hbono@chromium.org2009-03-189-1/+179
| | | | | | | | | | | | | | | | | This change is a very tricky fix for Issue 1845 in chromium: cant alignt text to the right using right shift and right ctrl.This change consists of two parts listed below. 1. Emulating the implementation of Safari that changes the text-direction of an input element. Safari uses context menus to change the text direction. This change adds an IPC message 'ViewMsg_SetTextDirection', which notifies the new text direction. Also, it adds two functions: RenderWidgetHost::UpdateTextDirection() and RenderWidgetHost::NotifyTextDirection(). They encapsulate the new IPC message so that we can use them both when we presses a set of keys and when we add context-menu items which change the text direction. 2. Calling the above interface when pressing right-shift and right-control keys, or when left-shift and left-control keys. This modifies the RenderWidgetHostViewWin::OnKeyEvent() function and call the above text-direction interfaces when a user finishes pressing the keys. As you can imagine, if we send an IPC message every time when we receive a WM_KEYDOWN event, we continue sending IPC messages while a user is pressing the keys. BUG=1845 Review URL: http://codereview.chromium.org/39252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11953 0039d316-1c4b-4281-b951-d872f2087c98
* Quick fix to prevent double launch of chrome at install.cpu@google.com2009-03-181-1/+3
| | | | | | | | | | | - According to docs we should not be writing InstallerSuccessLaunchCmdLine - Might affect gcapi BUG=1719600 Review URL: http://codereview.chromium.org/48120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11950 0039d316-1c4b-4281-b951-d872f2087c98
* Moving sbox to gyp on windows.bradnelson@google.com2009-03-181-1/+1
| | | | | | | | | (Also fixing missing property on sdch.) Review URL: http://codereview.chromium.org/42317 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11946 0039d316-1c4b-4281-b951-d872f2087c98
* - Modify DOM checker automation to use DOM Automation Controller instead ofpatrick@chromium.org2009-03-1810-143/+737
| | | | | | | | | | | | | | | | | cookie values to get results back to the test executable. This fixes an issue where the test could not be automated to run from local disk - that required file cookies, which causes the DOM checker test to fail. This is also a cleaner approach. - Add test to run DOM checker automation from local disk. - Add code to optionally disable file cookies in UI tests. Disable them in the DOM checker tests. - Add a function to the UITest class that allows a test to wait for a JavaScript condition in the test page. BUG=6274 Review URL: http://codereview.chromium.org/48055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11945 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing subtle dependency on client name on my last change to chrome.sln.bradnelson@google.com2009-03-181-1/+1
| | | | | | Review URL: http://codereview.chromium.org/48119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11944 0039d316-1c4b-4281-b951-d872f2087c98