summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Add the page url to plugin crashes to aid debugging.jam@chromium.org2009-07-0823-186/+254
| | | | | | Review URL: http://codereview.chromium.org/149305 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20173 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the problem that the temp worker directory is not deleted if the http ↵jianli@chromium.org2009-07-081-2/+22
| | | | | | | | | | | server process is still holding it. BUG=none TEST=none Review URL: http://codereview.chromium.org/155177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20168 0039d316-1c4b-4281-b951-d872f2087c98
* Change to use CSS media queries instead of using the "small" class namearv@google.com2009-07-083-66/+115
| | | | | | | | | | | | | | | | | to reduce the number of layouts needed at startup. This also fixes an issue where starting in LIST mode did not work. And it also fixes an issue where the width transition wasn't working correctly. BUG=13362 TEST=Starting in small and normal mode should still work Review URL: http://codereview.chromium.org/155116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20158 0039d316-1c4b-4281-b951-d872f2087c98
* fix bustagepinkerton@chromium.org2009-07-081-0/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20157 0039d316-1c4b-4281-b951-d872f2087c98
* Add context menus to tabs.pinkerton@chromium.org2009-07-086-11/+360
| | | | | | | | BUG=14920 TEST=context menus on tabs. Review URL: http://codereview.chromium.org/155173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20155 0039d316-1c4b-4281-b951-d872f2087c98
* Remove url_constants dependency from tab_contents.h.brettw@chromium.org2009-07-082-12/+4
| | | | | | | | Remove obsolete SupportsURL function from when we have TabContents types. Review URL: http://codereview.chromium.org/155171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20154 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Views-GTK build by adding necessary tab_strip_2 files and fixing ↵brettw@chromium.org2009-07-085-6/+25
| | | | | | | | some compilation errors. Review URL: http://codereview.chromium.org/155184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20153 0039d316-1c4b-4281-b951-d872f2087c98
* Split out some of the RVHDelegate functions into separate sub-classes. To limitbrettw@chromium.org2009-07-0813-465/+598
| | | | | | | | | | the scope, this patch just contains those delegate functions implemented only by TabContents, plus the favicon functions implemented by the FavIconHelper. The only changes are re-ordering and moving the functions, and changes in the way that the functions are called through the new optional delegate. Review URL: http://codereview.chromium.org/149239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20152 0039d316-1c4b-4281-b951-d872f2087c98
* Some code had been removed from FirstRun::IsChromeFirstRun() so that it may ↵jcampan@chromium.org2009-07-089-16/+45
| | | | | | | | return true then false when later invoked.This caused a bug where we would show the info-bar warning that Chromium is not the default browser after the first run.This patch resurrects that code and changes the first run UI, as it was relying on that behavior.BUG=http://crbug.com/15833TEST=Make IE or Firefox your default browser. Open Chromium so it shows the 1st run UI. Unselect the "make chromium my default browser" button, then press start. When Chromium shows up, there should be no info-bar warning you Chromium is not your default browser. Also test that the first run UI still works as expected. Review URL: http://codereview.chromium.org/155168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20151 0039d316-1c4b-4281-b951-d872f2087c98
* Wasn't able to browse to new files within panelsdavemoore@chromium.org2009-07-081-8/+2
| | | | | | Review URL: http://codereview.chromium.org/149303 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20150 0039d316-1c4b-4281-b951-d872f2087c98
* Add facitility for Global Keyboard shortcuts.jeremy@chromium.org2009-07-0810-12/+230
| | | | | | | | | | | | | | | | | Also, do some housekeeping for our current shortcuts. * Command-Option-l - Downloads [same shortcut as Safari]. * Command-Shift-[/] - Back/forward tab. * cntrl-pageup/pagedn - Back/forward tab. Global Keyboard events are intercepted by a new BrowserWindow custom class. BUG=12537,15486 TEST=Check that above keyboard shortcuts work as advertised. Review URL: http://codereview.chromium.org/149325 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20145 0039d316-1c4b-4281-b951-d872f2087c98
* Removes ifdefs in browser_render_process_host.cc that preventedpinkerton@chromium.org2009-07-081-7/+1
| | | | | | | | | | adding custom words to the dictionary on platforms other than windows. This functionality has now been implemented on all platforms. Patch from pwicks86@gmail.com (Paul Wicks) BUG=None TEST=Adding words to dictionary on mac and linux. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20144 0039d316-1c4b-4281-b951-d872f2087c98
* Wire GetWindowRect, GetRootWindowRect, and GetScreenInfo out to the UI thread.shess@chromium.org2009-07-0815-101/+148
| | | | | | | | | | | | Convert GetScreenInfo to be sync and routed. http://crbug.com/13113 R=darin@chromium.org, jam@chromium.org, amanda@chromium.org TEST=See bug. Review URL: http://codereview.chromium.org/151130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20143 0039d316-1c4b-4281-b951-d872f2087c98
* Removing an unused variable from cookies_view.hdeanm@chromium.org2009-07-081-5/+4
| | | | | | | | | Patch by Thiago Farina. Review URL: http://codereview.chromium.org/155078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20141 0039d316-1c4b-4281-b951-d872f2087c98
* Initial work on Linux tab to search.deanm@chromium.org2009-07-083-4/+151
| | | | | | | | | | | | | | Still are a bunch of more complicated behavior that doesn't work, like hitting backspace to remove the keyword. The keyword hint and keyword display more or less work, although things have gotten pretty complicated. BUG=10965 TEST=Tab to search with a keyword. Review URL: http://codereview.chromium.org/151209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20140 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remove extensions-related workaround from the docked devtools ↵pfeldman@chromium.org2009-07-082-7/+14
| | | | | | | | window destruction. Review URL: http://codereview.chromium.org/155206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20139 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Align status bubble with the contents container, not docked ↵pfeldman@chromium.org2009-07-081-1/+2
| | | | | | | | devtools container. Review URL: http://codereview.chromium.org/149253 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20136 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: added test for setting breakpoit.yurys@google.com2009-07-081-0/+5
| | | | | | Review URL: http://codereview.chromium.org/149256 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20135 0039d316-1c4b-4281-b951-d872f2087c98
* Aha, I think this was racing because INSTALLED is actually firedaa@chromium.org2009-07-081-7/+2
| | | | | | | | | | | | | before LOADED. Frequently, this didn't matter because we post a task to the message loop to quit and usually this would get queued after the LOADED message. But it is also possible for us to queue the quit task first, I think. TBR=mpcomplete git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20133 0039d316-1c4b-4281-b951-d872f2087c98
* Speculative Crash fix: Return early if user cancels save dialog.jeremy@chromium.org2009-07-081-13/+17
| | | | | | | | | | | I'm not able to repro the crash, but this seems safer overall. BUG=16081 TEST=Right click an image, Save as, Chrome should not crash. Review URL: http://codereview.chromium.org/149244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20132 0039d316-1c4b-4281-b951-d872f2087c98
* linux: port Jankometerevan@chromium.org2009-07-086-25/+148
| | | | | | | | | | | | | Originally I had split it into multiple files, but I think it's cleaner to just use one. (I want to use this for measuring plugin jank.) BUG=8077 Review URL: http://codereview.chromium.org/155194 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20130 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leaks introduced and exposed by r20028.mirandac@chromium.org2009-07-081-1/+6
| | | | | | | | | | BUG= none TEST= none Review URL: http://codereview.chromium.org/155195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20129 0039d316-1c4b-4281-b951-d872f2087c98
* Fix new_tab_ui_cold_test for linuxarv@google.com2009-07-081-0/+8
| | | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/155200 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20127 0039d316-1c4b-4281-b951-d872f2087c98
* Add some more logging. Still trying to figure out flakey test.aa@chromium.org2009-07-081-3/+20
| | | | | | TBR=mpcomplete git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20126 0039d316-1c4b-4281-b951-d872f2087c98
* Make the cancelling of drag and drop match Safari for Windows. This isarv@google.com2009-07-086-11/+30
| | | | | | | | | | | | | | | | | | a follow up CL to http://codereview.chromium.org/149038 as well as to https://bugs.webkit.org/show_bug.cgi?id=26699 With this change we use DragOperationNone (instead of DragOperationCopy) and NoButton (instead of LeftButton) when the user presses Escape. BUG=12018 TEST=On the new new tab page drag one of the thumbnails out of the window and press escape. The thumbnail should move back to its starting position. Review URL: http://codereview.chromium.org/149296 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20125 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a way to set the boundaries of the browser window througharv@google.com2009-07-087-0/+46
| | | | | | | | | | | | | | | automation and use that to set the size of the window in the "New Tab Cold" to ensure we are testing the normal case and not the small case. BUG=None TEST=The NewTabUIStartupTest, PerfCold should still work. Review URL: http://codereview.chromium.org/149233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20124 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix: string/wstring mismatch on Linux.agl@chromium.org2009-07-081-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20118 0039d316-1c4b-4281-b951-d872f2087c98
* linux: fix renderer/plugin crash when loading multiple pages with pluginspiman@google.com2009-07-084-7/+23
| | | | | | | | | | Currently we crash if one renderer has a plugin and another one has a plugin that gets destroyed, and started again (e.g. reload). We get away with reload on a single page currently because the process gets torn down. This properly cleans up the socket and channel mapping on both sides, so it can be restarted. Review URL: http://codereview.chromium.org/155174 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20112 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: SUID sandbox supportagl@chromium.org2009-07-087-22/+209
| | | | | | | | | | | | | | | | | | | | | * Make processes dumpable when they crash. * Find crashing processes by searching for a socket inode, rather than relying on SCM_CREDENTIALS. The kernel doesn't translate PIDs between PID namespaces with SCM_CREDENTIALS, so we can't use the PID there. * Use a command line flag to the renderer to enable crash dumping. Previously it tried to access the user's home directory for this information. * Search for a sandbox helper binary and, if found, use it. * Include the source for a sandbox helper binary. It's currently not built by default. http://codereview.chromium.org/149230 R=evan,markus BUG=8081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20110 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify the WebKit thread model. It's now created/destroyed on the UI ↵jorlow@chromium.org2009-07-089-133/+91
| | | | | | | | thread (before/after the IO thread is started/stopped). The WebKit thread is created lazily as needed (while on the IO thread).TEST=noneBUG=none Review URL: http://codereview.chromium.org/149238 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20109 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Support for more drag targets in renderer destination.estade@chromium.org2009-07-081-12/+46
| | | | | | | | | BUG=http://crbug.com/15429 TEST=drag a file from konqueror to the web view; observe that it causes the browser to navigate there (assuming you don't drag it into an <input> field or something). Review URL: http://codereview.chromium.org/155175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20108 0039d316-1c4b-4281-b951-d872f2087c98
* Gtk: URI list dragging for bookmarks (source side only)estade@chromium.org2009-07-084-4/+31
| | | | | | | | | BUG=none TEST=drag a bookmark into the webview or onto another program such as konqueror. The right thing should happen. Review URL: http://codereview.chromium.org/149301 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20107 0039d316-1c4b-4281-b951-d872f2087c98
* Add some logging to a flakey browsertest to debug.aa@chromium.org2009-07-083-4/+16
| | | | | | Review URL: http://codereview.chromium.org/149291 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20103 0039d316-1c4b-4281-b951-d872f2087c98
* GTK Themes: Use the correct text color in the tab strip.erg@google.com2009-07-086-5/+41
| | | | | | | | BUG=http://crbug.com/13967 Review URL: http://codereview.chromium.org/155183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20102 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 20097.meelapshah@chromium.org2009-07-085-223/+273
| | | | | | Review URL: http://codereview.chromium.org/155186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20101 0039d316-1c4b-4281-b951-d872f2087c98
* Fix NPAPIIncognitoTester.PrivateEnabledjam@chromium.org2009-07-071-1/+1
| | | | | | | BUG=16149 Review URL: http://codereview.chromium.org/155182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20099 0039d316-1c4b-4281-b951-d872f2087c98
* Change ThumbnailStore to use sqlite instead of individual files.meelapshah@chromium.org2009-07-075-273/+223
| | | | | | Review URL: http://codereview.chromium.org/149223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20097 0039d316-1c4b-4281-b951-d872f2087c98
* Sprinkle some defensiveness into the UI tests so that they don't explode if ↵stuartmorgan@chromium.org2009-07-0717-34/+98
| | | | | | | | | | the proxy doesn't respond (e.g., due to a timeout). BUG=none TEST=Hopefully the Mac valgrind bots will more reliably run all their tests (although there are likely more issues like this lurking). Review URL: http://codereview.chromium.org/149281 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20096 0039d316-1c4b-4281-b951-d872f2087c98
* Give page/app menu native menu bar feel.estade@chromium.org2009-07-072-0/+76
| | | | | | | | | | | Allow keyboard and mouse navigation between the two while one is open. BUG=none TEST=the page and wrench menus feel like a native menubar Review URL: http://codereview.chromium.org/155164 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20095 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for an initial set of WAI-ARIA roles, needed to support screen ↵klink@chromium.org2009-07-071-51/+64
| | | | | | | | | | | readers in AJAX web applications (e.g. Gmail). BUG=None TEST=None Review URL: http://codereview.chromium.org/149265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20094 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the unit tests that had multiple ResourceDispatcherHost objects ↵jam@chromium.org2009-07-071-24/+20
| | | | | | | | instantiated at the same time. Review URL: http://codereview.chromium.org/149287 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20093 0039d316-1c4b-4281-b951-d872f2087c98
* Wrap the task manager treeview in a GtkScrolledWindow in order to have a ↵jhawkins@chromium.org2009-07-071-1/+10
| | | | | | | | | | frame around it. BUG=16094 TEST=Open the task manager in Linux. Make sure the task manager treeview has a frame around it. Review URL: http://codereview.chromium.org/149286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20090 0039d316-1c4b-4281-b951-d872f2087c98
* Work around a bug in KWin where the window shape doesn't gettc@google.com2009-07-071-2/+6
| | | | | | | | | | | removed when we maximize/go full screen. BUG=15317 Review URL: http://codereview.chromium.org/155169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20089 0039d316-1c4b-4281-b951-d872f2087c98
* Move printing related stuff to the root printing project from the browser ↵sverrir@google.com2009-07-0735-2778/+38
| | | | | | | | | | | | | | project. This simplifies further refactoring and eases understanding of the printing part of Chrome. Also renamed win_printing_context to printing_context_win (correct naming convention) and added stub implementations for _linux and mac. Now all but one file is compiling on all platforms. TEST=none (no functional change). BUG=none Review URL: http://codereview.chromium.org/149212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20086 0039d316-1c4b-4281-b951-d872f2087c98
* GTK Themes: Theme the popup notification.erg@google.com2009-07-077-27/+85
| | | | | | | | | | | | TEST=Open popuptest.com in one tab and anything else in another. Switch between GTK theme and normal. Theme of blocked popup container should change, even when not the active tab. http://crbug.com/13967 Review URL: http://codereview.chromium.org/149277 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20085 0039d316-1c4b-4281-b951-d872f2087c98
* This CL makes sure JavaScript alerts are not shown while an interstitial is ↵jcampan@chromium.org2009-07-073-2/+41
| | | | | | | | | | | | showing. (The interstitial is displayed on top of an existing page. We don't want the hidden page to interfere with the interstitial.) BUG=http://crbug.com/3256 TEST=Open the page attached in the bug (interstitial_test.html), no alert boxes should show. Review URL: http://codereview.chromium.org/149261 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20084 0039d316-1c4b-4281-b951-d872f2087c98
* Move extension install to after .crx download completesrafaelw@chromium.org2009-07-071-4/+1
| | | | | | | | | | | This was resulting in some situations where we attempted to unpack the .crx while its file was still in use by the download manager. BUG=15881 R=mpcomplete Review URL: http://codereview.chromium.org/149161 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20083 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r19752. Caused regression in tabs closing.rafaelw@chromium.org2009-07-073-16/+3
| | | | | | | | | | | Origin issue: http://codereview.chromium.org/150122 B=16052,12745 TBR=brettw Review URL: http://codereview.chromium.org/155157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20081 0039d316-1c4b-4281-b951-d872f2087c98
* Nudges the incognito man over to the left a few more pixels.pinkerton@chromium.org2009-07-071-1/+3
| | | | | | | | BUG=14931 TEST=none. Review URL: http://codereview.chromium.org/155159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20068 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for the gtest_also_run_disabled_tests flag in the browser tests.jcampan@chromium.org2009-07-073-3/+12
| | | | | | | | BUG=None TEST=Run the browser tests with the --gtest_also_run_disabled_tests flag. Disabled tests should be run. Review URL: http://codereview.chromium.org/155112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20060 0039d316-1c4b-4281-b951-d872f2087c98