summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Enable basic saving/restoring window placements on Mac.rohitrao@chromium.org2009-05-1412-122/+337
| | | | | | | | | | | | Refactors the existing WindowSizer code to move platform-specific code into separate files. Future CLs will add Mac support for muliple monitors. TEST=Browser windows should remember their position on Mac. The corresponding behavior on Windows should not have changed. Review URL: http://codereview.chromium.org/113286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16056 0039d316-1c4b-4281-b951-d872f2087c98
* Makes it so that os_exchange_data_gtk is only compiled if views issky@chromium.org2009-05-141-4/+6
| | | | | | | | | | | defined. BUG=none TEST=none Review URL: http://codereview.chromium.org/115340 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16055 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing ALLOW_THIS_IN_INITIALIZER_LIST...phajdan.jr@chromium.org2009-05-141-1/+3
| | | | | | | | TBR=jcampan Review URL: http://codereview.chromium.org/113398 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16054 0039d316-1c4b-4281-b951-d872f2087c98
* Extract Windows-specific parts of TaskManager.phajdan.jr@chromium.org2009-05-148-519/+623
| | | | | | | | | | | | | | - task_manager.cc compiles on POSIX - task_manager_unittest.cc passes on Linux - stub TaskManagerViewImpl for Linux (so that the unit test can pass) TEST=Task manager should not be obviously broken on Windows. http://crbug.com/11461 Review URL: http://codereview.chromium.org/115295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16053 0039d316-1c4b-4281-b951-d872f2087c98
* Remove bad DCHECK.abarth@chromium.org2009-05-141-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16050 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix.abarth@chromium.org2009-05-143-14/+8
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16049 0039d316-1c4b-4281-b951-d872f2087c98
* Factor SSLPolicyBackend out of SSLManager.abarth@chromium.org2009-05-1411-274/+364
| | | | | | | | | | | This reduces the complexity of SSLManager. The idea is eventually to be able to test SSLPolicy by substituting a fake SSLPolicyBackend. TBR=jcampan TEST=No behavior changes. Review URL: http://codereview.chromium.org/113395 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16048 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit 16044 with typo fixed.abarth@chromium.org2009-05-144-42/+40
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16046 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 16044abarth@chromium.org2009-05-144-40/+42
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16045 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanup of SSL UI code.abarth@chromium.org2009-05-144-42/+40
| | | | | | | | | TBR=jcampan TEST=No functionality change. Review URL: http://codereview.chromium.org/113392 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16044 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor the inner classes from SSLManager to their own files to reduce the ↵abarth@chromium.org2009-05-1413-3273/+3362
| | | | | | | | | | | | complexity of SSLManager. Heading towards unit testability of this code. TBR=jcampan TEST=No functionality change. Review URL: http://codereview.chromium.org/113391 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16041 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Delay the deletion of the RWHVGtk object.willchan@chromium.org2009-05-144-25/+7
| | | | | | | | | | | This object may be deleted within a signal handler for its widget, which causes a DCHECK. Fix by using MessageLoop::DeleteSoon() instead. BUG=http://www.crbug.com/11847 TEST=Open browser, navigate to www.google.com. Navigate to www.yahoo.com. This will delete the old RWHV. It shouldn't crash. Review URL: http://codereview.chromium.org/113316 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16039 0039d316-1c4b-4281-b951-d872f2087c98
* Clean-up of the accelerator code.jcampan@chromium.org2009-05-147-36/+40
| | | | | | | | | | | | | | | The View::CanProcessTabKeyEvents and View::ShouldLookUpAccelerator have both been replaced with a new method, SkipDefaultKeyEventProcessing. This new method provides for a view that has focus a way to prevent a key event from being processed for tab traversal or accelerators. Also, fixed a regression where the Ctrl-Tab accelerator was not working anymore when the omnibox was focused. BUG=11538 TEST=Thoroughly test accelerators, making sure they work when the page, the omnibox and the find-bar text-field have focus. Also test that tab traversal still work as expected in the browser and in the option dialog. Review URL: http://codereview.chromium.org/113307 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16037 0039d316-1c4b-4281-b951-d872f2087c98
* Check in missing html.jam@chromium.org2009-05-141-0/+37
| | | | | | Review URL: http://codereview.chromium.org/115339 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16034 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert "implemented extensions api windows.update().""aa@chromium.org2009-05-147-10/+193
| | | | | | | | | | This reverts commit 81242e3b9c6e6fbc42ccf5f973b27ed4cf4401d6. This wasn't the cause of the breakage. Review URL: http://codereview.chromium.org/115337 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16032 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "implemented extensions api windows.update()."aa@chromium.org2009-05-147-193/+10
| | | | | | | | This reverts commit f2d9a44f3886aeab1378c8dbc1ce445202bc0ca5. Review URL: http://codereview.chromium.org/115335 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16030 0039d316-1c4b-4281-b951-d872f2087c98
* implemented extensions api windows.update().rafaelw@chromium.org2009-05-147-10/+193
| | | | | | | | | | | | | currently only supports {left, top, width, height}. Also, added extensions_api_client_unittest tests for CreateWindow, UpdateWindow & RemoveWindow BUG=11200 R=mpComplete Review URL: http://codereview.chromium.org/115316 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16029 0039d316-1c4b-4281-b951-d872f2087c98
* Make WidgetWin redraw child windows that are in a different process ↵jam@chromium.org2009-05-141-0/+22
| | | | | | | | | | | asynchronously. This helps with jank (i.e. bug 11701 which I couldn't repro with this) and also with deadlocks (fixes 11421 for painting). BUG=11421,11701 Review URL: http://codereview.chromium.org/115216 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16027 0039d316-1c4b-4281-b951-d872f2087c98
* Retry r16006.estade@chromium.org2009-05-141-1/+1
| | | | | | Review URL: http://codereview.chromium.org/113369 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16025 0039d316-1c4b-4281-b951-d872f2087c98
* Add GTK options window (no options actually configurable yet.)evan@chromium.org2009-05-146-3/+211
| | | | | | | | | BUG=11507 Review URL: http://codereview.chromium.org/113377 Patch from Matt Mueller <mattm@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16023 0039d316-1c4b-4281-b951-d872f2087c98
* Undo 16020glen@chromium.org2009-05-1415-324/+65
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16021 0039d316-1c4b-4281-b951-d872f2087c98
* Allow the new tab page to be themed (you may want to review DOMUIThemeSource ↵glen@chromium.org2009-05-1415-65/+324
| | | | | | | | | | | | | as a whole and not just these changes). Change global std::strings to chars* in browser theme provider. Add ability for ReplaceStringPlaceHolder to take up to 9 replacements. BUG=11235,11685 Review URL: http://codereview.chromium.org/115172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16020 0039d316-1c4b-4281-b951-d872f2087c98
* Handle log report events so that reliability_tests.exe isn't inturrupted by ↵ace@google.com2009-05-141-0/+11
| | | | | | | | dcheck failures when running page load tests with --enable-dcheck. Review URL: http://codereview.chromium.org/113314 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16019 0039d316-1c4b-4281-b951-d872f2087c98
* Add a 48x48 chromium icon for Linux.mmoss@chromium.org2009-05-131-0/+0
| | | | | | | | | This was requested for Ubuntu packaging. Review URL: http://codereview.chromium.org/115332 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16018 0039d316-1c4b-4281-b951-d872f2087c98
* Add another known crash for reliability tests.aa@chromium.org2009-05-131-0/+1
| | | | | | Review URL: http://codereview.chromium.org/113373 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16017 0039d316-1c4b-4281-b951-d872f2087c98
* Add comment about our SSL UI notifications as requested by wtc.abarth@chromium.org2009-05-131-0/+16
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16016 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that IO thread is not called in last actions by SDCH shutdownjar@chromium.org2009-05-132-2/+13
| | | | | | | | | | | | | Unregister the sdch_dictionary_fetcher so that it destroys any pending URLFetcher instances when we are nearing shutdown time. Dictionaries are only *potentially* useful (and not needed) for future SDCH fetches, so abandoning any pending items is safe and harmless. b=9669 r=wtc Review URL: http://codereview.chromium.org/113235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16015 0039d316-1c4b-4281-b951-d872f2087c98
* Fix valigrind complaint about invalid file descriptor on close.shess@chromium.org2009-05-131-12/+32
| | | | | | | | | | Fixes FileDescriptorSet.BasicAddAndClose and FileDescriptorSet.SetDescriptors. http://crbug.com/11724 Review URL: http://codereview.chromium.org/115326 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16014 0039d316-1c4b-4281-b951-d872f2087c98
* Save/restore the focused subview.avi@google.com2009-05-134-14/+27
| | | | | | | | http://crbug.com/9420 Review URL: http://codereview.chromium.org/100358 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16013 0039d316-1c4b-4281-b951-d872f2087c98
* Stubs out OSExchangeData for views on gtk.sky@chromium.org2009-05-135-8/+17
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/113321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16012 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a comment referencing tab contents type switching.brettw@chromium.org2009-05-131-3/+1
| | | | | | Review URL: http://codereview.chromium.org/99047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16009 0039d316-1c4b-4281-b951-d872f2087c98
* revert r16006 due to msvc warning.estade@chromium.org2009-05-131-1/+1
| | | | | | | | TBR=playmobil Review URL: http://codereview.chromium.org/113367 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16007 0039d316-1c4b-4281-b951-d872f2087c98
* Properly convert from UTF8 to UTF16 in WebTextInputImpl.estade@chromium.org2009-05-131-1/+1
| | | | | | | | | String util changes by darin@chromium.org. BUG=11699 Review URL: http://codereview.chromium.org/115215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16006 0039d316-1c4b-4281-b951-d872f2087c98
* Hide the "show full history" link when editing the thumbnails.arv@chromium.org2009-05-131-1/+1
| | | | | | | | | | | BUG=11330 TEST=Go to the NTP and click "Remove thumbnails". This should hide the "Show full history" link. Review URL: http://codereview.chromium.org/112020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16004 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some issues with the omnibox2 popup:beng@google.com2009-05-132-7/+13
| | | | | | | | | | | - turn off transparency when glass isn't active - make transparency when glass is active more opaque - decrease the size of text to match the current omnibox popup - make dim text in highlighted rows invert. Review URL: http://codereview.chromium.org/113242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16003 0039d316-1c4b-4281-b951-d872f2087c98
* remove chrome.gyp cruftestade@chromium.org2009-05-131-3/+0
| | | | | | | | TBR=thestig Review URL: http://codereview.chromium.org/115324 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16000 0039d316-1c4b-4281-b951-d872f2087c98
* Redirecting chrome.sln to the new vcproj locations spit out by gyp.bradnelson@chromium.org2009-05-131-2/+2
| | | | | | | | Oversight in a previous change. Review URL: http://codereview.chromium.org/115321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15998 0039d316-1c4b-4281-b951-d872f2087c98
* Re-do r15244 again.darin@chromium.org2009-05-133-34/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Originally reviewed at http://codereview.chromium.org/100353 Eliminate webkit/glue/webhistoryitem* in favor of adding a NavigateBackForwardSoon method WebViewDelegate. This moves all of the hacky details of how we intercept "history.{back, forward,go}" into the webkit layer. My eventual plan is to teach WebCore how to make this not hacky. In this version of the CL, TestWebViewDelegate performs the back/forward navigation directly in NavigateBackForwardSoon instead of using PostTask to delay it. I'm doing this to minimize regressions so that I can hopefully get the rest of this CL landed. I also already made the changes to WebKit to force history. {back,forward,go} to be processed asynchronously. Finally, it was necessary to move DumpBackForwardList out of webkit_glue.cc since it was using itemAtIndex to generate those results, and now that we return synthetic URLs for that function, the results were very wrong. The fix is to move DumpBackForwardList into TestShell so that it can more directly inspect the TestNavigationController. Now, it is necessary for webkit_glue.h to expose a function to dump a content state string (aka a WebCore::HistoryItem). BUG=11423 R=mpcomplete Review URL: http://codereview.chromium.org/113328 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15997 0039d316-1c4b-4281-b951-d872f2087c98
* Added more installer tests. Here is the list:anantha@chromium.org2009-05-135-57/+165
| | | | | | | | | | | | | | | | | 1. Install latest dev/beta channel build. 2. Install latest stable build. 3. Install latest dev/beta channel build at System level. 4. Install latest stable build at system level. 5. Install latest dev/beta full installer over previous dev/beta full installer. 6. Install latest stable full installer over previous stable full installer. 7. Install latest dev/beta diff installer over previous dev/beta full installer. 8. Install latest stable diff installer over previous stable full installer. 9. Install latest stable full installer over ChromeSetup.exe 10. Install latest beta full installer over beta ChromeSetup.exe Review URL: http://codereview.chromium.org/115159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15994 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak comment as requested by wtc.abarth@chromium.org2009-05-131-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15993 0039d316-1c4b-4281-b951-d872f2087c98
* Re-add tabstrip background rendering with support for themed backgrounds.jhawkins@chromium.org2009-05-133-5/+19
| | | | | | Review URL: http://codereview.chromium.org/115313 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15991 0039d316-1c4b-4281-b951-d872f2087c98
* Propagate intrinsic width notification over IPC in all cases (not just ↵pinkerton@chromium.org2009-05-1315-20/+93
| | | | | | | | extensions) to the TabContentsView. Enable the zoom button on Mac to utilize it. Ensure we only send the IPC notification when the value changes, as WebCore tends to over-report that it has changed. Fix const-ness in delegate API where it's not necessary. Review URL: http://codereview.chromium.org/115138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15988 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 15986.michaeln@google.com2009-05-138-223/+3
| | | | | | Review URL: http://codereview.chromium.org/113359 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15987 0039d316-1c4b-4281-b951-d872f2087c98
* CPAPI gears drag drop and renderer IPC....michaeln@google.com2009-05-138-3/+223
| | | | | | | | | | | | | | | | | | | | | | CPAPI (0.10) functions for gears drag drop; one to extract the drag type/data given an NPObject *event, one to override the drop effect (drag cursor). Gears drag drop API receives a browser event as an NPObject* so the event is untrusted. Provide IPC calls to the renderer so gears can pass the event to renderer/V8 for checking, prior to drag type/data extraction, or the setting of the drop effect. V8 event checking is a TODO(noel), http://mondrian/10947778 for the CPAPI (0.10) change submitted to gears. BUG=7995 Original patch by Noel Gordon via: http://codereview.chromium.org/99240 Review URL: http://codereview.chromium.org/115280 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15986 0039d316-1c4b-4281-b951-d872f2087c98
* metrics: don't record metrics unless user has opted-in.evan@chromium.org2009-05-131-3/+3
| | | | | | | | | | This worked before, but regressed for Chromium builds. BUG=2278 Review URL: http://codereview.chromium.org/113350 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15985 0039d316-1c4b-4281-b951-d872f2087c98
* Move tree-related classes that Linux code depends on from views/ to app/phajdan.jr@chromium.org2009-05-1314-54/+56
| | | | | | | | | | TEST=If it compiles and unit_tests pass, it's ok. Just moving files around. http://crbug.com/11066 Review URL: http://codereview.chromium.org/115185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15982 0039d316-1c4b-4281-b951-d872f2087c98
* Moving all the breakpad stuff to: src/breakpadbradnelson@chromium.org2009-05-131-2/+2
| | | | | | | | (out of build/temp_gyp) Review URL: http://codereview.chromium.org/113352 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15980 0039d316-1c4b-4281-b951-d872f2087c98
* Making navigate, back, forward, and reloadhuanr@chromium.org2009-05-136-56/+96
| | | | | | | | synchronous in automated ui test. Review URL: http://codereview.chromium.org/115279 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15978 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 15965. I wasn't supposed to check that in since it still doesn't ↵maruel@chromium.org2009-05-1336-105/+76
| | | | | | | | | compile on linux and mac! TBR=sky Review URL: http://codereview.chromium.org/113351 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15967 0039d316-1c4b-4281-b951-d872f2087c98
* Remove even more ATL dependencies.maruel@chromium.org2009-05-1336-76/+105
| | | | | | Review URL: http://codereview.chromium.org/115309 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15965 0039d316-1c4b-4281-b951-d872f2087c98