summaryrefslogtreecommitdiffstats
path: root/chrome/browser
Commit message (Collapse)AuthorAgeFilesLines
* Linux: server side backing storesagl@chromium.org2009-02-2519-86/+284
| | | | | | | | | | | | | | | | | | This converts Linux to using server-side backing stores. Rather than keeping a backing store in heap memory in the browser, we create a pixmap in the X server. This means that expose messages don't require us to transport any images to the X server, we can just direct it to paint from the pixmap. Also, scrolling can be performed server side also. This greatly improves performance over remote X. Also, shared memory transport to the X server is implemented. Shared memory segments can be created in the renderer and mapped directly into the X server. Review URL: http://codereview.chromium.org/27147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10369 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the ToolbarModel on Mac and Linux. Implement ChromeFont on Mac.pinkerton@chromium.org2009-02-253-3/+2
| | | | | | Review URL: http://codereview.chromium.org/28124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10368 0039d316-1c4b-4281-b951-d872f2087c98
* Fix all places where we used the GetWinVersion functionnsylvain@chromium.org2009-02-256-8/+10
| | | | | | | | | incorrectly. bug:7802 Review URL: http://codereview.chromium.org/28128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10366 0039d316-1c4b-4281-b951-d872f2087c98
* Change some calls to gfx::ElideUrl() to using gfx::GetCleanStringFromUrl()estade@chromium.org2009-02-254-10/+11
| | | | | | Review URL: http://codereview.chromium.org/27148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10363 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Fixing WebKeyboardEvent."kuchhal@chromium.org2009-02-254-6/+12
| | | | | | | Review URL: http://codereview.appspot.com/21071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10362 0039d316-1c4b-4281-b951-d872f2087c98
* Fix menubar activation in context of temp LSUIElement=1 hack.jrg@chromium.org2009-02-251-1/+7
| | | | | | Review URL: http://codereview.chromium.org/27145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10361 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing WebKeyboardEvent.avi@chromium.org2009-02-254-12/+6
| | | | | | Review URL: http://codereview.chromium.org/27056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10360 0039d316-1c4b-4281-b951-d872f2087c98
* Force the browser to restored mode before going fullscreen, since Windows ↵pkasting@chromium.org2009-02-252-13/+23
| | | | | | | | | doesn't seem to want to hide the taskbar for maximized windows regardless of their dimensions. BUG=7997 Review URL: http://codereview.chromium.org/27146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10359 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bogus DCHECK in bookmark_bar_view. I needed to add the check forsky@google.com2009-02-252-2/+2
| | | | | | | | | | | | testing_ as we don't want it hit in the interactive tests, and the check should be for removing, so that I wanted is_add, not !is_add. BUG=none TEST=none Review URL: http://codereview.chromium.org/28122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10353 0039d316-1c4b-4281-b951-d872f2087c98
* Remove memory model experimentjar@chromium.org2009-02-255-42/+10
| | | | | | | | | | | We've already removed the histograms (during cleanup of other files) so this just discards the remaining uses of the constants, along with the experiment establishment portion. r=mbelshe Review URL: http://codereview.chromium.org/27032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10352 0039d316-1c4b-4281-b951-d872f2087c98
* Compile parts of chrome/browser/automation on Linux.phajdan.jr@chromium.org2009-02-255-41/+175
| | | | | | | | | This patch involves heavy temporary stubbing-out of windowsic parts of automation framework. Review URL: http://codereview.chromium.org/28092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10351 0039d316-1c4b-4281-b951-d872f2087c98
* Disable ThirtyFoudTabs test as it is failing consitently now on all buildbots.kuchhal@chromium.org2009-02-251-1/+3
| | | | | | | | | | TBR=sky,sidchat BUG=5668 Review URL: http://codereview.appspot.com/20072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10347 0039d316-1c4b-4281-b951-d872f2087c98
* Delete the ViewSourceTabContents.brettw@chromium.org2009-02-2538-137/+151
| | | | | | | | | | | | | This removes all the tab contents type stuff for view source mode. The RenderViewHostManager now automatically switches RenderViews when we turn view source mode on or off to get the desired effect. I also moved some instances of hardcoded schemes into chrome_constants.h, and renamed RendererCreated/Ready/Gone to RenderViewCreated/Ready/Gone to reflect what they actually mean. Review URL: http://codereview.chromium.org/28089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10346 0039d316-1c4b-4281-b951-d872f2087c98
* Enable history and downloads by default, port NewTabUI from DOMUIHost to DOMUI.glen@chromium.org2009-02-2519-247/+296
| | | | | | | NewTabUI is only included on OS(WIN) because DOMUI doesn't appear to have been ported. Review URL: http://codereview.chromium.org/28104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10344 0039d316-1c4b-4281-b951-d872f2087c98
* Make bookmark_context_menu.cc and bookmark_drop_info.cc compile on Posix.jhawkins@chromium.org2009-02-257-36/+58
| | | | | | Review URL: http://codereview.chromium.org/28103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10343 0039d316-1c4b-4281-b951-d872f2087c98
* Make non-glass popups match new mockup from Glen.pkasting@chromium.org2009-02-259-100/+101
| | | | | | | | | Unfortunately glass popups can't be made to match the mockup unless we want to completely reimplement Windows titlebar drawing, so I'm leaving them pretty much unchanged :( BUG=7569 Review URL: http://codereview.chromium.org/28072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10341 0039d316-1c4b-4281-b951-d872f2087c98
* Allow JS Debugger shortcut to work in fullscreen mode, since there's no ↵pkasting@chromium.org2009-02-251-5/+7
| | | | | | | | | reason not to. BUG=8023 Review URL: http://codereview.chromium.org/27110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10338 0039d316-1c4b-4281-b951-d872f2087c98
* Fix system menu positioning a bit. In Aero glass, the maximized mode menu ↵pkasting@chromium.org2009-02-252-5/+9
| | | | | | | | | was going offscreen by one pixel, causing Windows to reposition it strangely. In both frames, the vertical offset below the tabstrip needed a bit of tweaking. BUG=7927 Review URL: http://codereview.chromium.org/27115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10337 0039d316-1c4b-4281-b951-d872f2087c98
* Trying again to land this CL that makes the browser focus UI tests in process.jcampan@chromium.org2009-02-252-239/+288
| | | | | | | TBR=sky Review URL: http://codereview.chromium.org/27122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10336 0039d316-1c4b-4281-b951-d872f2087c98
* Add "new tab" ui to the build and remove some of the scaffolding. Fix ↵pinkerton@chromium.org2009-02-253-2/+21
| | | | | | | | compatibility issues with GCC. Review URL: http://codereview.chromium.org/28088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10333 0039d316-1c4b-4281-b951-d872f2087c98
* Initial support for Renderer Side Histogramsjar@chromium.org2009-02-255-10/+50
| | | | | | | | | | Patch contributed by Raman Tenneti see also patch number 21038 Review URL: http://codereview.chromium.org/27034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10330 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary fix for the Cocoa-in-renderer problem.jrg@chromium.org2009-02-251-2/+15
| | | | | | Review URL: http://codereview.chromium.org/27108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10326 0039d316-1c4b-4281-b951-d872f2087c98
* Adds some debugging code in hopes of figuring out who is removing thesky@google.com2009-02-253-4/+20
| | | | | | | | | | | bookmark bar. BUG=7857 TEST=none Review URL: http://codereview.chromium.org/28100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10325 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new message id IDS_LOGIN_DIALOG_DESCRIPTION_NO_REALM,wtc@chromium.org2009-02-251-3/+6
| | | | | | | | | | | | | | | which is a variant of IDS_LOGIN_DIALOG_DESCRIPTION that doesn't have a realm. Some HTTP authentication schemes such as NTLM don't have a realm. In IDS_LOGIN_DIALOG_DESCRIPTION, changed the placeholder's name from "TITLE" to "REALM". R=eroman,tony BUG=6567,6824 Review URL: http://codereview.chromium.org/27117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10324 0039d316-1c4b-4281-b951-d872f2087c98
* ui test fail. revert.ben@chromium.org2009-02-258-167/+62
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10322 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 10318.jcampan@chromium.org2009-02-253-291/+239
| | | | | | | Reverting again... Review URL: http://codereview.chromium.org/28106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10321 0039d316-1c4b-4281-b951-d872f2087c98
* AppModalDialogQueue shouldn't depend on views.ben@chromium.org2009-02-258-62/+167
| | | | | | | | Add a simple test, too. Review URL: http://codereview.chromium.org/27080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10320 0039d316-1c4b-4281-b951-d872f2087c98
* Landing again the move of browser focus UI tests to in process.jcampan@chromium.org2009-02-253-239/+291
| | | | | | | TBR=sky Review URL: http://codereview.chromium.org/28097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10318 0039d316-1c4b-4281-b951-d872f2087c98
* fix clobber buildtc@google.com2009-02-252-6/+3
| | | | | | | | | | | these are new files missed by r10306. tbr=deanm Review URL: http://codereview.chromium.org/28101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10317 0039d316-1c4b-4281-b951-d872f2087c98
* This make accelerators work in interstitial pages.jcampan@chromium.org2009-02-253-2/+109
| | | | | | | | | | | Interstitial pages are RVH whose view is shown on top of the actual tab. Some more work is required to make find in page work. BUG=7056 TEST=Open an page that triggers an interstitial (ex: https://ebay.com), press CTRL-T, a new tab should be opened. Review URL: http://codereview.chromium.org/21298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10316 0039d316-1c4b-4281-b951-d872f2087c98
* Get save page working on posix.estade@chromium.org2009-02-253-15/+11
| | | | | | | | | | * rearrange some IFDEFs * trim whitespace on suggest name Also fix a relatively new bug in DomSerializer. Review URL: http://codereview.chromium.org/27106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10314 0039d316-1c4b-4281-b951-d872f2087c98
* Adds ability to sort the children of a node in the bookmark model. Isky@google.com2009-02-253-10/+67
| | | | | | | | | | | | plan on doing this in chunks, next phase is updating observers, then changing the bookmark manager to call into the new method. BUG=1750 TEST=none yet Review URL: http://codereview.chromium.org/27082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10313 0039d316-1c4b-4281-b951-d872f2087c98
* Move windows specific functions from l10n_util.h to l10n_util_win.h.tc@google.com2009-02-244-0/+4
| | | | | | Review URL: http://codereview.chromium.org/27103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10307 0039d316-1c4b-4281-b951-d872f2087c98
* Final step in converting all grit includes to have grit in the path.tc@google.com2009-02-242-2/+2
| | | | | | | | | | | | Fixes some linux/mac issues that were pending and fix up the scons build to expect the file in the grit subdir. BUG=7537 Review URL: http://codereview.chromium.org/28035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10306 0039d316-1c4b-4281-b951-d872f2087c98
* Add logging to ExtensionsService, UserScriptMaster,aa@chromium.org2009-02-242-0/+12
| | | | | | | | | | | | | | | and PluginChannel to be able to see what happens when chrome runs extensions headless. It would be better to modify the existing IPC::Logging mechanism than add logging to PluginChannel, so that it could be useful for debugging other types of IPC problems. But I don't have time to do that right now. Review URL: http://codereview.chromium.org/28091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10302 0039d316-1c4b-4281-b951-d872f2087c98
* Make bookmark_drag_data.cc compile on Posix.jhawkins@chromium.org2009-02-242-1/+22
| | | | | | Review URL: http://codereview.chromium.org/31007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10300 0039d316-1c4b-4281-b951-d872f2087c98
* Final step needed to get be able to download things on linux.estade@chromium.org2009-02-241-11/+15
| | | | | | | | There's still no UI though. Review URL: http://codereview.chromium.org/27097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10299 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 10295.jcampan@chromium.org2009-02-242-292/+239
| | | | | | | Reverting my last CL Review URL: http://codereview.chromium.org/28095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10297 0039d316-1c4b-4281-b951-d872f2087c98
* Converted the browser focus interactive ui tests to be in process.jcampan@chromium.org2009-02-242-239/+292
| | | | | | | | | | | Some testing I did as part of my in-progress focus refactoring seemed to indicate they are flacky. With this CL, they now mostly use the blocking calls when simulating UI actions (instead of relying on timers). BUG=None TEST=Run the tests BrowserFocusTest.* in the interactive tests. Review URL: http://codereview.chromium.org/27083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10295 0039d316-1c4b-4281-b951-d872f2087c98
* Make bookmark_utils.cc compile on Posix.jhawkins@chromium.org2009-02-242-6/+36
| | | | | | Review URL: http://codereview.chromium.org/27100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10293 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up WebKit resources after starting a download.paulg@google.com2009-02-241-4/+8
| | | | | | | | | | | | | | | | | Downloads initiated in the renderer process have associated resources that need to be cleaned up properly. Since we handle downloads in the browser process, the renderer was not receiving the completion notification and thus hanging on to resources. We now send the renderer a completion notification once we detect that a resource request is a download, so that the renderer can properly clean up. BUG=6531 (http://crbug.com/6531) Review URL: http://codereview.chromium.org/20524 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10291 0039d316-1c4b-4281-b951-d872f2087c98
* Some cleanups in response to brettw's comments to r10277.jhawkins@chromium.org2009-02-243-7/+3
| | | | | | | | | * Remove build_config.h from a file that isn't using it. * Return something useful from StringForURLDisplay. * Use basictypes.h instead of build_config.h. Review URL: http://codereview.chromium.org/27099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10288 0039d316-1c4b-4281-b951-d872f2087c98
* Platform cleanup in automation code.phajdan.jr@chromium.org2009-02-242-4/+4
| | | | | | Review URL: http://codereview.chromium.org/27098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10281 0039d316-1c4b-4281-b951-d872f2087c98
* Make autocomplete.cc and dependencies compile on Posix.jhawkins@chromium.org2009-02-245-19/+45
| | | | | | Review URL: http://codereview.chromium.org/28061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10277 0039d316-1c4b-4281-b951-d872f2087c98
* Use string for Histogram names since these are all ASCII anyway.dsh@google.com2009-02-2423-110/+105
| | | | | | | | Wide-character literals cause problems between platforms. Review URL: http://codereview.chromium.org/28046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10276 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ResourceMessageFilter::OnGetWindowRect and OnGetRootWindowRectevan@chromium.org2009-02-243-4/+39
| | | | | | | | | | | | | | | | | on linux. This fixes a problem typing in the username when authenticating to gmail. The error message was: FATAL:browser/renderer_host/render_view_host.cc(658)] Check failed: false. Can't send sync messages to UI thread without pumping messages in the renderer or else deadlocks can occur if the pagehas windowed plugins! (message type 8219) Review URL: http://codereview.chromium.org/28026 Patch from Craig Schlenter <craig.schlenter@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10275 0039d316-1c4b-4281-b951-d872f2087c98
* Taking out unfinished code. I don't understand what role these functions ↵avi@chromium.org2009-02-241-46/+14
| | | | | | | | play, and I put in quickly-ported Windows code. It crashes, so I'm taking it out until I can properly write it. Review URL: http://codereview.chromium.org/31005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10273 0039d316-1c4b-4281-b951-d872f2087c98
* Download request manager refactoring.estade@chromium.org2009-02-249-192/+275
| | | | | | | | | | Pull out the dialog delegate to a separate file so we can swap it out with other implementations on other platforms. Also, build download_request_manager.cc on POSIX. Review URL: http://codereview.chromium.org/27062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10270 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt at fixing flakeyness when running session restore ui tests insky@google.com2009-02-242-11/+20
| | | | | | | | | | | | | purify. I believe the ui test isn't waiting for the session restore to complete, so that when the ui test does various asserts the state of the browser is wrong. BUG=6495 TEST=covered by tests Review URL: http://codereview.chromium.org/28051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10268 0039d316-1c4b-4281-b951-d872f2087c98
* Add some browser/dom_ui files to Mac and Linux. Fix errors exposed by GCC.pinkerton@chromium.org2009-02-244-13/+11
| | | | | | Review URL: http://codereview.chromium.org/27090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10257 0039d316-1c4b-4281-b951-d872f2087c98