summaryrefslogtreecommitdiffstats
path: root/chrome/browser
Commit message (Collapse)AuthorAgeFilesLines
* Revert 31109 - Avoid calling PlatformThread::Sleep(1) from ↵ben@chromium.org2009-11-051-1/+1
| | | | | | | | | | | | | event_sys_unittests.cc BUG=21833 Review URL: http://codereview.chromium.org/360040 TBR=idana@chromium.org Review URL: http://codereview.chromium.org/361035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31122 0039d316-1c4b-4281-b951-d872f2087c98
* Fix checkfailure on Linux Views build by actually opening the popup when ↵pkasting@chromium.org2009-11-053-16/+31
| | | | | | | | | | | | it's initted. Also add sanity checking like in the Windows version. BUG=20511 TEST=none Review URL: http://codereview.chromium.org/361020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31119 0039d316-1c4b-4281-b951-d872f2087c98
* chrome://extensions/ support for multiple, asynchronous calls to renderrafaelw@chromium.org2009-11-051-20/+32
| | | | | | | | | | | This is in anticipation of support for re-rendering the page on extension install/uninstall without reloading. TEST=none BUG=26163 Review URL: http://codereview.chromium.org/361027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31118 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug where choosing reopen closed tba would do nothing forsky@chromium.org2009-11-051-1/+1
| | | | | | | | | | | | | | | popups. The bug stemmed from browser initializing the enabled state of IDC_RESTORE_TAB to false for popups, but CanRestoreTab returns true for popups. There is no need to diable restoring tabs for popups as we don't always restore to the current window, or we may end up restoring a closed window. BUG=13774 TEST=see bug Review URL: http://codereview.chromium.org/369005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31117 0039d316-1c4b-4281-b951-d872f2087c98
* Change "remove thumbnail" message to make it fit nicely above the thumbnails ↵mirandac@chromium.org2009-11-051-8/+2
| | | | | | | | | | on the NTP. BUG= 22820 TEST= remove thumbnails. notice that "undo" butterbar doesn't overlap anything or elide text uncomfortably. Review URL: http://codereview.chromium.org/361017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31113 0039d316-1c4b-4281-b951-d872f2087c98
* Implement window.alert() and its cousins for extensions.pam@chromium.org2009-11-0512-103/+225
| | | | | | | | | | BUG=12126 TEST=put a window.prompt() in a background page, a browser action, and a page action. Make sure it gets the result back correctly. Also make sure it still works when called from a web page. Review URL: http://codereview.chromium.org/341089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31110 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid calling PlatformThread::Sleep(1) from event_sys_unittests.ccidana@chromium.org2009-11-051-1/+1
| | | | | | | | BUG=21833 Review URL: http://codereview.chromium.org/360040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31109 0039d316-1c4b-4281-b951-d872f2087c98
* Added beginnings of browser-process support for shared workers.atwilson@chromium.org2009-11-056-34/+50
| | | | | | | | | | | | | Refactored WebWorkerClientProxy into two classes - WebWorkerDispatcher which dispatches incoming IPCs for the worker, and WebWorkerClientProxy, which handles outgoing API calls from WebWorkerImpl. This allows WebWorkerClientProxy to be reused by WebSharedWorkerDispatcher. BUG=26233 TEST=none (will enable layout tests when basic functionality available) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31077 Review URL: http://codereview.chromium.org/351004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31096 0039d316-1c4b-4281-b951-d872f2087c98
* TBR: mark@chromium.orgjeremy@chromium.org2009-11-053-3/+81
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31091 0039d316-1c4b-4281-b951-d872f2087c98
* TBR:markjeremy@chromium.org2009-11-054-83/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31090 0039d316-1c4b-4281-b951-d872f2087c98
* Sandbox Worker process on the Mac.jeremy@chromium.org2009-11-054-6/+83
| | | | | | | | | | | | | | * Add plumbing to allow multiple Sandbox profiles on OS X. * Separate sandbox_init_wrapper into platform specific files. * Sandbox Worker process & add plumbing to Sandbox utility process when we bring that up. * Remove mention of stale bugs in utility process on Mac. BUG=23582 TEST=Worker process should work. Review URL: http://codereview.chromium.org/341033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31089 0039d316-1c4b-4281-b951-d872f2087c98
* Highlight node with mouse over it while selecting element to inspectapavlov@chromium.org2009-11-054-35/+1
| | | | | | | | | BUG=20969 TEST=none Review URL: http://codereview.chromium.org/348056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31087 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WebSockets by defaultukai@chromium.org2009-11-051-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/360007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31083 0039d316-1c4b-4281-b951-d872f2087c98
* Switch over to the new way of enabling/disabling session/local storage. jorlow@chromium.org2009-11-052-3/+5
| | | | | | | | BUG=none TEST=|'localStorage' in window| should only be true iff --enable-local-storage is specified Review URL: http://codereview.chromium.org/335034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31082 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the URL portion of storage events. This is mostly just plumbing + a ↵jorlow@chromium.org2009-11-055-23/+40
| | | | | | | | | | | | | hack for making them work in test shell and single process mode. This replaces http://codereview.chromium.org/335034/show TEST=none BUG=24581 Review URL: http://codereview.chromium.org/363014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31081 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Added beginnings of browser-process support for shared workers."atwilson@chromium.org2009-11-056-50/+34
| | | | | | This reverts commit 31077. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31080 0039d316-1c4b-4281-b951-d872f2087c98
* Added beginnings of browser-process support for shared workers.atwilson@chromium.org2009-11-056-34/+50
| | | | | | | | | | | Refactored WebWorkerClientProxy into two classes - WebWorkerDispatcher which dispatches incoming IPCs for the worker, and WebWorkerClientProxy, which handles outgoing API calls from WebWorkerImpl. This allows WebWorkerClientProxy to be reused by WebSharedWorkerDispatcher. BUG=26233 TEST=none (will enable layout tests when basic functionality available) Review URL: http://codereview.chromium.org/351004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31077 0039d316-1c4b-4281-b951-d872f2087c98
* Always enable Breakpad if using --enable-crash-reporter flagnirnimesh@chromium.org2009-11-051-3/+6
| | | | | | | | | | | | | This is so that when unattended, typically the first run dialog is not shown (when using automation proxy) and the user does not get a chance to consent to sending stats. This gives an opportunity to force enable breakpad. BUG=24960,25271 TEST=Breakpad should be initialized if --enable-crash-reporter flag has been specified Review URL: http://codereview.chromium.org/282011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31074 0039d316-1c4b-4281-b951-d872f2087c98
* Push the Omaha app guid into the browser distribution classes to remove ↵robertshield@chromium.org2009-11-052-3/+6
| | | | | | | | compile-time differences between Chrome Frame and Chrome. Review URL: http://codereview.chromium.org/361023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31073 0039d316-1c4b-4281-b951-d872f2087c98
* Make SessionService use its own enum for storing window type in the session ↵ben@chromium.org2009-11-052-5/+55
| | | | | | | | | | | database. This allows us to modify Browser::Type without invalidating databases from older versions. http://crbug.com/26500 TEST=see bug Review URL: http://codereview.chromium.org/361016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31069 0039d316-1c4b-4281-b951-d872f2087c98
* linux: swap order of buttons for dangerous downloadsevan@chromium.org2009-11-051-7/+7
| | | | | | | | BUG=26756 Review URL: http://codereview.chromium.org/361024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31068 0039d316-1c4b-4281-b951-d872f2087c98
* Move LOG from warning to infocpu@chromium.org2009-11-051-1/+1
| | | | | | | | - Less file IO on the UI thread Review URL: http://codereview.chromium.org/354013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31067 0039d316-1c4b-4281-b951-d872f2087c98
* Show only one app menu. Cole pointed out that ChromeOS currently has two ↵oshima@chromium.org2009-11-0510-23/+62
| | | | | | | | | | | | | almost identical app menu. This CL will toggle app menu depending on the status of toolbar. - This is only for toolkit views build as gtk version does not toggle toolbar. - The menu contnets are not fully sync'ed. We need some refactoring, when we fully migrate to views. Review URL: http://codereview.chromium.org/366010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31061 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix unnecessary Singleton object instantiation.mattm@chromium.org2009-11-0511-16/+16
| | | | | | | | | | CID=7228-7241 BUG=none TEST=none Review URL: http://codereview.chromium.org/360037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31056 0039d316-1c4b-4281-b951-d872f2087c98
* Remove what appears to be an unused variable.eroman@chromium.org2009-11-052-8/+4
| | | | | | | | Also correct some long line violations. Review URL: http://codereview.chromium.org/355034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31054 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug where we were over compensating for the height of thetony@chromium.org2009-11-051-1/+1
| | | | | | | | | | bookmarks bar during an animation. What we want is the "extra" height provided by the bookmarks bar. Since we always show at least 4px, we don't count that as extra height. Review URL: http://codereview.chromium.org/366019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31051 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the OK button when editing a bookmark even when there is no text, and ↵viettrungluu@chromium.org2009-11-055-12/+31
| | | | | | | | | | | | | keep alignment correct in both cases. Also strip out newlines from bookmark titles. [Patch by feldstein.] BUG=26353 TEST=Add and remove titles from bookmarks in the bookmark bar and verify that they look correct, and icons are centered when there is no text. Review URL: http://codereview.chromium.org/353024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31047 0039d316-1c4b-4281-b951-d872f2087c98
* Fix first run ui hanging. The threads need to get started earlier.jam@chromium.org2009-11-051-6/+7
| | | | | | | BUG=26614 Review URL: http://codereview.chromium.org/360035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31046 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug where we'd leak ResourceMessageFilters and BrowserRenderProcessHostsmpcomplete@chromium.org2009-11-052-6/+24
| | | | | | | | | | | on shutdown when extensions were running. BUG=15708 BUG=26652 Review URL: http://codereview.chromium.org/355032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31045 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that overlay does not appear in incognito mode.mirandac@chromium.org2009-11-051-1/+2
| | | | | | | | | BUG= 20036 TEST= install glossy blue theme. See curved corner (overlay) in upper left hand corner. Note that it does not appear in the incognito version of the theme (now it appears in the jarringly wrong color). Review URL: http://codereview.chromium.org/361018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31043 0039d316-1c4b-4281-b951-d872f2087c98
* Reorder the definitions in chrome_url_request_context.cc to match the ↵eroman@chromium.org2009-11-041-316/+343
| | | | | | | | | | | | | | | declaration order. This is strictly a no-op refactor, it does not change any code (just re-orders it within the file). This addresses a TODO to tidy the code. TBR=darin TEST=none BUG=none Review URL: http://codereview.chromium.org/360030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31040 0039d316-1c4b-4281-b951-d872f2087c98
* Fix theme install crasher.mirandac@chromium.org2009-11-041-1/+2
| | | | | | | | BUG= 26704 TEST= change themes. browser does not crash. Review URL: http://codereview.chromium.org/366015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31036 0039d316-1c4b-4281-b951-d872f2087c98
* Only send renderer resize messages for RWHV sizing caused bytony@chromium.org2009-11-043-16/+14
| | | | | | | | | | | | | | | | TCV's size allocate message. This avoids a spurious size-allocate being sent to the renderers when creating a new tab. The extra size-allocate is called by the build-in GtkFixed's size allocate method. Another way to think of this is that we only size our RWH directly and decouple it's sizing from the GTK+ widget's sizing. BUG=26495 Review URL: http://codereview.chromium.org/363012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31031 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that report bug dialog is centered when it opens.mirandac@chromium.org2009-11-041-1/+3
| | | | | | | | BUG= 26689 TEST= none Review URL: http://codereview.chromium.org/362012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31030 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a memory leak in ExtensionMessageService.mpcomplete@chromium.org2009-11-042-7/+10
| | | | | | | | | | Also grasp at straws trying to fix a crash bug. BUG=21201 Review URL: http://codereview.chromium.org/345058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31024 0039d316-1c4b-4281-b951-d872f2087c98
* Restoring r29827. The skia file is new to this attempt, and may be what was ↵pamg@google.com2009-11-0411-132/+319
| | | | | | | | | | | | | | | causing a unit test to crash last time. Refactor security-icon code to a more general form, also more consistent with the Windows implementation, in preparation for implementing page actions. Review URL: http://codereview.chromium.org/264037 BUG=14899, 22922, 12281 TEST=unit tests included Review URL: http://codereview.chromium.org/348069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31023 0039d316-1c4b-4281-b951-d872f2087c98
* Grouping the extensions and calling out the disabledfinnur@chromium.org2009-11-043-45/+73
| | | | | | | | | | | | | | | | | | | | | | ones more prominently. Also added an unused string for 'getting more extensions', so we can translate. Converted 'Developer Tools' references to 'Developer Mode', to avoid confusion with Chrome's developer tools. TEST=Load extension b_foo through --load-extension. Open chrome://extensions/ and notice extension b_foo is on top, even though another extension a_foo normally would appear at the top due to alphabetical sorting. Then disable an extension and notice it should turn all gray. Enable, and it should no longer be gray. BUG=http://crbug.com/26699, http://crbug.com/25850 Review URL: http://codereview.chromium.org/365008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31021 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: use /proc/pid/statm to get memory stats when /proc/pid/smaps is ↵thestig@chromium.org2009-11-041-7/+7
| | | | | | | | | | unavailable. BUG=23258 TEST=We get approximate memory usage in about:memory for sandboxed renderers. Review URL: http://codereview.chromium.org/365007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31019 0039d316-1c4b-4281-b951-d872f2087c98
* SetVolume and GetVolume take one volume instead of separate left and right ↵fbarchard@chromium.org2009-11-043-21/+19
| | | | | | | | | | | volumes. BUG=26660 TEST=no visible difference. Make sure volume still works. Code size should go down marginally. Review URL: http://codereview.chromium.org/357004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31018 0039d316-1c4b-4281-b951-d872f2087c98
* Continue to remove CHROME_FRAME_BUILD define from code that goes into ↵robertshield@chromium.org2009-11-044-1/+25
| | | | | | | | | | | | | | | | | | | | | chrome.dll. This reworks the browser distribution code to use the ChromeFrameBrowserDistribution iff --chrome-frame is present on the command line. Also, * At startup, chrome.exe now uses the BrowserDistribution code to determine where the Chromium version key resides (instead of hard coding it). * The installer now propagates the presence of --verbose-logging to uninstalls. * The chrome_launcher now allows the --chrome-frame switch through to chrome. * The installer now accepts a --chrome-frame switch. * Remove almost all occurences of the CHROME_FRAME_BUILD define from the installer. BUG=26012, 26603 TEST=Chrome Frame still builds and runs correctly. Chrome Frame builds built without 'branding'='Chrome' now install correctly. Review URL: http://codereview.chromium.org/345021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31015 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the sync error button from the Linux bookmark bar.nick@chromium.org2009-11-042-10/+0
| | | | | | | | | | | | It wasn't wired up to any errors yet, it wasn't hidden by default, it created an unnecessary horizontal space, and it would DCHECK (or worse) when that space was clicked. BUG=26595 TEST=Displayed the bookmarks bar, verified that the gap to the left of "Other Bookmarks" went away and that it was no longer clickable. R=estade Review URL: http://codereview.chromium.org/360024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31011 0039d316-1c4b-4281-b951-d872f2087c98
* Stop each ChromeThread before nulling out the entry in chrome_threads_. ↵jam@chromium.org2009-11-041-0/+5
| | | | | | | | | This allows DCHECKs that the code is running on the correct thread to succeed. BUG=26714 Review URL: http://codereview.chromium.org/363010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31010 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Fix a couple minor popup window icon menu bugs.estade@chromium.org2009-11-042-4/+4
| | | | | | | | BUG=26265,26268 Review URL: http://codereview.chromium.org/360023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31009 0039d316-1c4b-4281-b951-d872f2087c98
* Implement cancel() API on a Notification object so that script can cancel or ↵johnnyg@chromium.org2009-11-0414-14/+102
| | | | | | | | | | | tear down a toast. BUG=26360 TEST=cancel a notification Review URL: http://codereview.chromium.org/363003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31004 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Convert tabcontentscontainer to use a vbox instead of a fixed. The"tony@chromium.org2009-11-043-11/+53
| | | | | | | | | | | | | | This reverts commit r30843. This broke the findbar/download shelf animation optimization. I originally was doing this as part of fixing issue 26495, but I found a different way. TBR=estade Review URL: http://codereview.chromium.org/366009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31003 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up bookmark_editor_controller to so that is closes consistently as ↵dmaclach@chromium.org2009-11-043-78/+87
| | | | | | | | | | | | | | both a standard window and as a sheet. Get rid of an unneeded member variable. Clean up unittest to use new CocoaTest, and to clean up its windows properly. BUG=none TEST=Open the bookmark editing window and edit bookmarks. Make sure to test with both OK and Cancel. Review URL: http://codereview.chromium.org/361011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31000 0039d316-1c4b-4281-b951-d872f2087c98
* Shifted patterns in tabs and background pattern over so that patterns line ↵dmaclach@chromium.org2009-11-042-12/+19
| | | | | | | | | | | | | up correctly with the browser window. BUG=18548 TEST=Open window with Legal Pad theme from the them gallery and make sure the red lines line up. Review URL: http://codereview.chromium.org/351010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30998 0039d316-1c4b-4281-b951-d872f2087c98
* Back out r30033 which broke drag scrolling in web pages until we have a ↵pinkerton@chromium.org2009-11-041-2/+1
| | | | | | | | | | better solution. BUG=22199 TEST=dragging to scroll in web pages should again work. Review URL: http://codereview.chromium.org/367001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30983 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for flaky browser tests as done by twiz and reviewed here:mad@chromium.org2009-11-042-8/+9
| | | | | | | | | | http://codereview.chromium.org/346044 BUG=26599 TEST=extension_popup_apitest.cc git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30982 0039d316-1c4b-4281-b951-d872f2087c98
* Mark BlockedPopupContainerInteractiveTest.DontSpawnEndlessPopups as FLAKY.phajdan.jr@chromium.org2009-11-041-1/+2
| | | | | | | | | TEST=none BUG=26692 Review URL: http://codereview.chromium.org/363004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30981 0039d316-1c4b-4281-b951-d872f2087c98