summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Platform cleanup in chrome UI tests.phajdan.jr@chromium.org2009-03-302-5/+9
| | | | | | | | | Can't include them in the Linux build yet because they wouldn't pass. Review URL: http://codereview.chromium.org/57010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12780 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup in automation. Remove WaitForTabCountToChange.phajdan.jr@chromium.org2009-03-3010-224/+109
| | | | | | | | | | WaitForTabCountToBecome is easier to use and more reliable. Also removed Windows2000-specific code from accessibility unit tests. Review URL: http://codereview.chromium.org/45070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12774 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the DOMUIToStandard unit test and uncomment it. The NavigationControllerbrettw@chromium.org2009-03-301-8/+20
| | | | | | | | wasn't getting hooked up properly to the WebContents, and we were getting the wrong RenderViewHost out of it later on in the test. Review URL: http://codereview.chromium.org/55045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12773 0039d316-1c4b-4281-b951-d872f2087c98
* Make version rule's path assumptions less specific.robertshield@google.com2009-03-301-1/+1
| | | | | | Review URL: http://codereview.chromium.org/56054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12770 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 12763.jianli@chromium.org2009-03-307-601/+0
| | | | | | Review URL: http://codereview.chromium.org/56055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12764 0039d316-1c4b-4281-b951-d872f2087c98
* Enable worker layout tests. In order for test_shell to run worker, we link ↵jianli@chromium.org2009-03-307-0/+601
| | | | | | | | all of the code required to run the worker into a DLL and then load that DLL in test_shell. This allows us to host a separate V8 instance. Review URL: http://codereview.chromium.org/50045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12763 0039d316-1c4b-4281-b951-d872f2087c98
* Switching media to gyp under windows.bradnelson@google.com2009-03-301-2/+2
| | | | | | Review URL: http://codereview.chromium.org/57002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12761 0039d316-1c4b-4281-b951-d872f2087c98
* A workaround fix for Issue 3693.hbono@chromium.org2009-03-301-0/+6
| | | | | | | | | To investigate the behavior of Safari, it seems to finish an ongoing composition when we click a left mouse button. So, this change just emulates the behavior. BUG=3693 Review URL: http://codereview.chromium.org/42691 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12759 0039d316-1c4b-4281-b951-d872f2087c98
* Remove NOTIMPLEMENTED bits for fast shutdown code on non-Windows.evan@chromium.org2009-03-291-8/+0
| | | | | | | | This was just temporary code anyway. Review URL: http://codereview.chromium.org/49048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12756 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash that occurs when the about:network window is closed while stilldarin@chromium.org2009-03-281-0/+1
| | | | | | | | | | | tracking network jobs. BUG=9446 R=brettw Review URL: http://codereview.chromium.org/45072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12752 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linux build.aa@chromium.org2009-03-281-1/+0
| | | | | | Review URL: http://codereview.chromium.org/55055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12746 0039d316-1c4b-4281-b951-d872f2087c98
* Add more of the server-side plumbing for extension APIs. Alsoaa@chromium.org2009-03-2821-94/+437
| | | | | | | | added getTabsForWindow() to drive it. Review URL: http://codereview.chromium.org/42680 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12744 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix.abarth@chromium.org2009-03-281-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12741 0039d316-1c4b-4281-b951-d872f2087c98
* Add the ability to specify a default MIME type when loading a resource. ↵abarth@chromium.org2009-03-289-2/+37
| | | | | | | | | | | | | We'll need this to correctly load stylesheets that lack a Content-Type header in standards mode. We're waiting on https://bugs.webkit.org/show_bug.cgi?id=24904 upstream before this works fully. This change, as it stands, is a no-op. R=wtc BUG=7448 Review URL: http://codereview.chromium.org/55049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12739 0039d316-1c4b-4281-b951-d872f2087c98
* It looks like the Chrome NPAPI plugin installer has been broken since we ↵ananta@chromium.org2009-03-282-1/+411
| | | | | | | | | | | | | | | | | | | | | | | first updated chrome webkit after 1.0 shipped. Basically in the 1.0 branch when the plugin was instantiated in its instantiation it would get the mime type along with the list of other arguments. If an object tag was specified with the classid, it would get mapped to the mime type. With the webkit merge the classs id is passed in along with the mime type. The plugin installer thinks that this is an activex installation on receiving a valid class id and and ends up checking if it is a white listed classid, etc. All this code will be taken out along with the activex shim in the near future. For now we take this code path only if we don't have a valid mime type. This fixes http://code.google.com/p/chromium/issues/detail?id=8584 Added a plugin test for the argument parsing functionality in the default plugin. I changed the ParseInstantiationArguments function in the plugin installer to a static function to be able to unit test this. Bug=8584 Review URL: http://codereview.chromium.org/42684 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12733 0039d316-1c4b-4281-b951-d872f2087c98
* A crash report from the field reports that we are removing a ↵jcampan@chromium.org2009-03-281-2/+5
| | | | | | | | | | | | | SafeBrowsingBlockingPage from a global map that is not to be found causing a stl exception to be thrown. I am not sure what the cause is yet, my investigations results are in the bug comment. This is a work-around the crasher while I keep investigating. BUG=9442 TEST=Access a page which contains sub-resource malware. Review URL: http://codereview.chromium.org/49049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12732 0039d316-1c4b-4281-b951-d872f2087c98
* This CL fixes a lint issue -- line exceeding 80 characters.xji@chromium.org2009-03-281-1/+2
| | | | | | Review URL: http://codereview.chromium.org/56039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12730 0039d316-1c4b-4281-b951-d872f2087c98
* Use Webkit::WebInputEvent and remove webkit/glue/webinputevent.darin@chromium.org2009-03-2719-91/+130
| | | | | | | | | | This change adds a temporary dependency on src/KeyIdentifier.{h,cpp} which I am going to remove after this CL. I didn't want to grow this CL any larger. R=dglazkov Review URL: http://codereview.chromium.org/53099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12728 0039d316-1c4b-4281-b951-d872f2087c98
* The URL in the bug triggers an SSL interstitial for a redirect that ↵jcampan@chromium.org2009-03-273-2/+64
| | | | | | | | | | | | | | | | | | | redirects to a bad SSL page. This happens because: - when proceeding on an interstitial, we wait for the navigation to commit before hiding the current interstitial - when showing an interstitial, if an interstitial is already showing we call DontProceed on it In the case of this bug, the interstitial has already been approved when the showing of the 2nd interstitial calls DontProceed on it, causing bad things to happen. The fix is easy: we shouldn't call DontProceed on an interstitial already "Proceeded". BUG=9286 TEST=See bug. Review URL: http://codereview.chromium.org/56019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12727 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build in release mode.tc@google.com2009-03-271-1/+2
| | | | | | | | TBR=evanm Review URL: http://codereview.chromium.org/56036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12724 0039d316-1c4b-4281-b951-d872f2087c98
* Move message flags into a separate header that can be usedtc@google.com2009-03-2715-75/+84
| | | | | | | | | outside the views system. Mac will need this as well when implementing message boxes. Review URL: http://codereview.chromium.org/56026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12722 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed a lot threading issues during tear down of <video>hclam@chromium.org2009-03-276-84/+94
| | | | | | | | | | | | | | | | | Fixed a lot of dead locks during tead down of <video> due to DataSourceImpl. Most of the issues come from that during a tab close RenderThread is destroyed and new tasks posted on it will not executed, but DataSourceImpl is waiting for those tasks to finish to complete stopping. Another dead lock comes from that when RenderThread is destroyed the owner loop of it (a IO Message Loop) is being destroyed too and DataSourceImpl shouldn't post tasks to that message loop when stopping. Review URL: http://codereview.chromium.org/42675 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12720 0039d316-1c4b-4281-b951-d872f2087c98
* Properly fix menu display when using dark system themes.evan@chromium.org2009-03-273-14/+4
| | | | | | | | | The drawing code in the tab strip was modifying the GC, which affected the GC used for drawing menus. Review URL: http://codereview.chromium.org/55022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12713 0039d316-1c4b-4281-b951-d872f2087c98
* Fix assertion that was firing in unit tests.jam@chromium.org2009-03-271-3/+6
| | | | | | Review URL: http://codereview.chromium.org/56027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12710 0039d316-1c4b-4281-b951-d872f2087c98
* Add another ifdef for other platformsjam@chromium.org2009-03-271-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12708 0039d316-1c4b-4281-b951-d872f2087c98
* Fix non Windows builds.jam@chromium.org2009-03-272-1/+5
| | | | | | Review URL: http://codereview.chromium.org/55041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12707 0039d316-1c4b-4281-b951-d872f2087c98
* Comment out the crashing test so the tree can be open while I fix it.brettw@chromium.org2009-03-271-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12706 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor plugin process code which checks with the browser process before ↵jam@chromium.org2009-03-2731-335/+116
| | | | | | | | | | | shutdown, to avoid races in which the browser process thinks the process is fine to use while it's shutting down. I also removed PluginProcess/WorkerProcess since they didn't have any code in them now. I removed the plugin process code which waits 10 seconds before shutting itself down. That was a premature optimization, since testing with/without this didn't show any difference (see http://www/~jabdelmalek/chrome/test/plugins/processes.html). In both cases, the plugin on a page would get recreated in less than 100ms, even with reusing or starting a plugin process from scratch. We already spawn new renderer processes on back and forth if it's a different origin, and the plugin will be in the cache anyways. Review URL: http://codereview.chromium.org/53091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12703 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 12673.brettw@chromium.org2009-03-273-85/+130
| | | | | | Review URL: http://codereview.chromium.org/56020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12700 0039d316-1c4b-4281-b951-d872f2087c98
* Fix lineendings for dom ui unittest.brettw@chromium.org2009-03-271-116/+116
| | | | | | Review URL: http://codereview.chromium.org/55037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12691 0039d316-1c4b-4281-b951-d872f2087c98
* Hide StatsTable behind --enable-stats-table.mbelshe@google.com2009-03-275-5/+13
| | | | | | Review URL: http://codereview.chromium.org/49045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12690 0039d316-1c4b-4281-b951-d872f2087c98
* - Change alignment of 'delete this day' so it's not off floating in the ↵glen@chromium.org2009-03-271-7/+7
| | | | | | | | | | | | middle of nowhere. - Fix history text-wrapping issues. BUG=8147 Review URL: http://codereview.chromium.org/56001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12689 0039d316-1c4b-4281-b951-d872f2087c98
* Issue 348: can view old incognito cache if main process left runningidanan@chromium.org2009-03-274-7/+19
| | | | | | | | | | | | Same place we clear cookies when the last incognito window is closed, destroy the entire incognito profile which by implication destoys the incognito cache. BUG=348 Review URL: http://codereview.chromium.org/53101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12688 0039d316-1c4b-4281-b951-d872f2087c98
* Render widget host view cursors:estade@chromium.org2009-03-276-47/+67
| | | | | | | | | | - Make UpdateCursorIfOverSelf private and only exist on mac and win. - update loading state for linux and show a loading cursor appropriately. BUG=9385 Review URL: http://codereview.chromium.org/53130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12683 0039d316-1c4b-4281-b951-d872f2087c98
* Correctly position windows that are detached during a drag, instead of ↵pinkerton@chromium.org2009-03-274-15/+40
| | | | | | | | relying on the default window position in the nib. Stub a little more of WindowSizer, but only enough to get drag working. Default new windows to 1024x768. Review URL: http://codereview.chromium.org/55023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12677 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a race condition opening a downloaded file.paulg@google.com2009-03-271-6/+8
| | | | | | | | | | | | | | There is a potential race condition where we attempt to open, via the shell, a fast completing download before it has been renamed. This fix posts the rename operation before calling DownloadFinished, which posts the shell open. BUG=3954 (http://crbug.com/3954) Review URL: http://codereview.chromium.org/42685 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12676 0039d316-1c4b-4281-b951-d872f2087c98
* Fix renderer hang caused when a synchronous XHR is disallowed for securitydarin@chromium.org2009-03-274-8/+67
| | | | | | | | | | | reasons (via ShouldServiceReqeuest). BUG=8401 R=jam Review URL: http://codereview.chromium.org/56016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12675 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Fix issues with DOM UI that cause focus to not be set to the URL bar ↵evan@chromium.org2009-03-273-200/+153
| | | | | | | | and the" This reverts commit r12668 because it failed to compile on Mac. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12673 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clipping by using the correct window styles for native buttons.ben@chromium.org2009-03-275-39/+40
| | | | | | | | | | Also ensure unhandled messages get handled by DefWindowProc of the containing WidgetWin. http://crbug.com/9216 Review URL: http://codereview.chromium.org/42629 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12671 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issues with DOM UI that cause focus to not be set to the URL bar and thebrettw@chromium.org2009-03-273-153/+200
| | | | | | | | | | | URL to be hidden improperly. This code takes into account the somewhat crazy state that happens during initial tab load. BUG=9352 TEST=unit test should cover it Review URL: http://codereview.chromium.org/55015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12668 0039d316-1c4b-4281-b951-d872f2087c98
* Default native button were not activated anymore when enter was pressed.jcampan@chromium.org2009-03-275-30/+160
| | | | | | | | | | | | The DialogDefaultButtonTest unit-test now tests for the behavior when enter is pressed. Also changed check-box (and radio-buttons) not to respond to enter key press as if they were clicked. BUG=9384 TEST=Bring up the option dialog. Move the focus to a link press Enter. The dialog should be closed (as OK was the default button). Review URL: http://codereview.chromium.org/42683 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12666 0039d316-1c4b-4281-b951-d872f2087c98
* Disable about:network for official builds since it's buggy.brettw@chromium.org2009-03-271-1/+3
| | | | | | | BUG=9426 Review URL: http://codereview.chromium.org/56009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12665 0039d316-1c4b-4281-b951-d872f2087c98
* Fix downloads RTL Bustage glen@chromium.org2009-03-271-0/+7
| | | | | | | | BUG=8433 Review URL: http://codereview.chromium.org/55017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12663 0039d316-1c4b-4281-b951-d872f2087c98
* Fix interactive_ui_tests failures by temporarily allowing direct dns lookup.phajdan.jr@chromium.org2009-03-271-1/+12
| | | | | | Review URL: http://codereview.chromium.org/56010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12662 0039d316-1c4b-4281-b951-d872f2087c98
* Add date information to the downloads page.glen@chromium.org2009-03-272-4/+54
| | | | | | | | | BUG=8433 Review URL: http://codereview.chromium.org/55002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12661 0039d316-1c4b-4281-b951-d872f2087c98
* Forgot a file in last checkin.pinkerton@chromium.org2009-03-271-0/+14
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12657 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up close button in tabs. Patch from rohitrao@google.com.pinkerton@chromium.org2009-03-279-54/+121
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12656 0039d316-1c4b-4281-b951-d872f2087c98
* Don't order the bubble window front; it shows up just fine.avi@google.com2009-03-271-1/+0
| | | | | | | | | Fix by Rohit. http://crbug.com/9422 Review URL: http://codereview.chromium.org/55016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12655 0039d316-1c4b-4281-b951-d872f2087c98
* Build real ui_tests on Macphajdan.jr@chromium.org2009-03-271-7/+22
| | | | | | | | | | | | | | | | | - remove temporary stub and replace it with real exclude list - actually run and pass tests: ImagesTest.AnimatedGIFs LocaleTestsDa.TestStart LocaleTestsHe.TestStart LocaleTestsZhTw.TestStart GoogleTest.Crash ColumnLayout.Crash HistoryTester.VerifyHistoryLength - ui_tests depend on 'app' target on every platform Review URL: http://codereview.chromium.org/56003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12654 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent making real DNS lookups by chrome tests.phajdan.jr@chromium.org2009-03-274-5/+67
| | | | | | | | | | | | | | | | - by default a test which makes external DNS lookup directly or indirectly will fail - added a quite simple way to allow a test to make external queries - added a way to make external queries fail (for tests which don't need them to succeed but it's hard to not make the query) - made neccessary adjustments to existing tests so that they still pass http://crbug.com/9109 Review URL: http://codereview.chromium.org/45026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12653 0039d316-1c4b-4281-b951-d872f2087c98