summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Revert 77296 - zea@chromium.org2011-03-0832-252/+367
| | | | | | | | | | | | | | | Convert autofill messages to use the new IPC macros. This requires changing the FormField class to a struct with publically-visible members, which was what should have been done in the first place, instead of the trivial setters/getters which are accessed in various combinations independently of each other throughout the code. Review URL: http://codereview.chromium.org/6633001 TBR=tsepez@chromium.org Review URL: http://codereview.chromium.org/6623086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77298 0039d316-1c4b-4281-b951-d872f2087c98
* Enable download protection by default and convert the enable switch to ↵lzheng@chromium.org2011-03-085-13/+18
| | | | | | | | | | | | | | | disable switch. Since currently on download url is checked, this only enables download url checks. Because the safe browsing server used by safe_browsing_test.cc does not understand the new list for safebrowsing download, we have to disable the download protect in that test. TEST=safe browsing related tests stay green. BUG=60822 Review URL: http://codereview.chromium.org/6611006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77297 0039d316-1c4b-4281-b951-d872f2087c98
* Convert autofill messages to use the new IPC macros. This requirestsepez@chromium.org2011-03-0832-367/+252
| | | | | | | | | | | changing the FormField class to a struct with publically-visible members, which was what should have been done in the first place, instead of the trivial setters/getters which are accessed in various combinations independently of each other throughout the code. Review URL: http://codereview.chromium.org/6633001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77296 0039d316-1c4b-4281-b951-d872f2087c98
* Rename IndexOfChild to GetIndexOf. Part 1tfarina@chromium.org2011-03-0828-84/+84
| | | | | | | | | | | | This is part of a serie of patches to make the TreeNode more closer to style used in the Views Tree API (see views/view.h for reference). BUG=None TEST=None Review URL: http://codereview.chromium.org/6623037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77295 0039d316-1c4b-4281-b951-d872f2087c98
* Add cmdline switch for folks that really did want to run as root.mbelshe@chromium.org2011-03-082-1/+5
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6621045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77292 0039d316-1c4b-4281-b951-d872f2087c98
* Marking BrowserTest.ThirtyFourTabs as flaky on Windows.robertshield@chromium.org2011-03-081-1/+11
| | | | | | | | | | BUG=75274 TEST=NONE TBR=erg,zea,andreip Review URL: http://codereview.chromium.org/6626074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77289 0039d316-1c4b-4281-b951-d872f2087c98
* Lands http://code.google.com/p/chromium/issues/detail?id=71571 forsky@chromium.org2011-03-0826-244/+1347
| | | | | | | | | | | | | | | | | | | | | | | Moved the page and icon mapping from URLDatabase to ThumbnailDatabase. a. Created a new table icon_mappings in ThumbnailDatabase. b. Migrated the mapping data during the upgrade. c. Provided the new interface to access the icon_mapping data. d. Removed the API to access the faviconID field in url database. Support IconType. a. Added additional column icon_type in favicons table. b. Provided the APIs to access the icon_type field. c. Currently hard-code all icon_type as FAV_ICON in history backend. BUG=71571 TEST=new testcases in thumbnail_database_unittest.cc, and the existent tests in history_backend_unittest.cc, history_unitest.cc, bookmark_html_writer_unittest.cc etc. Review URL: http://codereview.chromium.org/6620001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77288 0039d316-1c4b-4281-b951-d872f2087c98
* Dump version information into policy_templates.zipgfeher@chromium.org2011-03-081-1/+12
| | | | | | | | | BUG=71558 TEST=A file named VERSION should show up in policy_templates.zip Review URL: http://codereview.chromium.org/6596071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77287 0039d316-1c4b-4281-b951-d872f2087c98
* Remove IDBCallbacks::OnSucess(IDBObjectStore*)andreip@chromium.org2011-03-083-13/+0
| | | | | | | | | | | | | The corresponding WebKit-side changed is https://bugs.webkit.org/show_bug.cgi?id=55777 BUG=70845 TEST=none Review URL: http://codereview.chromium.org/6624092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77281 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 696.0 to 697.0chrome-release@google.com2011-03-081-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77274 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup the candidate window earlier in the destruction processzork@chromium.org2011-03-081-1/+3
| | | | | | | | | BUG=chromium-os:12715 TEST=Manual Review URL: http://codereview.chromium.org/6621064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77260 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsoleted interface for fallback font selection on Linux.kochi@chromium.org2011-03-081-13/+0
| | | | | | | | | | | | | | | | Old interface is obsoleted by https://bugs.webkit.org/show_bug.cgi?id=55453 This is a sequel of the change: http://src.chromium.org/viewvc/chrome?view=rev&revision=77118 Pass around preferred language to font fallback selection. For Fixing chinese font issue. BUG=chromium-os:11699 TEST=manually Review URL: http://codereview.chromium.org/6626050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77259 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory corruption, take 2. InfoBarView::Close() needs to call ↵pkasting@chromium.org2011-03-082-18/+22
| | | | | | | | | | | | | InfoBarContainer::RemoveInfoBar() instead of calling parent()->RemoveChildView() directly, so that the container knows the infobar is gone. (The container was trying to access deleted infobars because it never saw them go away.) Unlike the first version of this patch, we don't try to deref a NULLed |container_| in the middle of Close(). This also removes the "if (container_)" conditional in Close() because it cannot be called with a NULL |container_|, and opportunistically makes it private. BUG=75021 TEST=none TBR=sky Review URL: http://codereview.chromium.org/6623075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77258 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium icon updatessail@chromium.org2011-03-0822-289/+111
| | | | | | | | | | | This change updates the app icons for chromium. BUG=None TEST=Ran on Mac and Linux. Verified that the app icon and the About dialog look ok. Windows build pending. Review URL: http://codereview.chromium.org/6628068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77254 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 695.0 to 696.0chrome-release@google.com2011-03-081-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77253 0039d316-1c4b-4281-b951-d872f2087c98
* Only select untyped portion of previewed autofill suggestions.isherman@chromium.org2011-03-082-3/+10
| | | | | | | | | BUG=74894 TEST=browser_tests --gtest_filter=FormManagerTest.FillFormNonEmptyField Review URL: http://codereview.chromium.org/6635028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77251 0039d316-1c4b-4281-b951-d872f2087c98
* Move ChildThread and ChildProcess to content. Also move remaining code that ↵jam@chromium.org2011-03-0866-1675/+61
| | | | | | | | they depend on and which depends on them.TBR=avi Review URL: http://codereview.chromium.org/6628071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77249 0039d316-1c4b-4281-b951-d872f2087c98
* Support mixed allocation in browser vs subprocessesjar@chromium.org2011-03-081-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [This is a re-landing of CL 6623059, which broke the shared library build on windows in revision 77207. An ifdef has been added to avoid the unresolved variable when allocator_shim.cc is never even compiled] Continue to support selection of a browser allocator selection via the environment variable CHROME_ALLOCATOR, and also add CHROME_ALLOCATOR_2 that can select the allocator to use in subprocesses, such as a renderer. Temporarilly set the browser default to the default windows heap allocator, and the subprocess allocator to TCMalloc to help detect memory corruption in a cannary for a few days. This may illuminate some flakiness in the tree, as double frees (hidden by races) may cause crashes. Add minor cleanup (removing reserved word "override" etc.). BUG=74901 TBR=mbelshe Review URL: http://codereview.chromium.org/6623072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77245 0039d316-1c4b-4281-b951-d872f2087c98
* Force sync integration try jobs on patches that touch sync dependenciesrsimha@chromium.org2011-03-081-0/+13
| | | | | | | | | | | | | | | | | Chrome sync is dependent on other areas of chrome, and patches committed to these areas could potentially break sync. In the past, we have seen sync integration test failures caused by patches to chrome/common/net. This patch adds a PRESUBMIT.py file to this directory, that will cause the sync integration tests to be run on any code that touches the directory as part of their try runs. BUG=70311 TEST=modify something under chrome/common/net and do a "git try" or "gcl try" Review URL: http://codereview.chromium.org/6624087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77244 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 77235 - Fix memory corruption. InfoBarView::Close() needs to call ↵cmp@chromium.org2011-03-082-19/+18
| | | | | | | | | | | | | | | | InfoBarContainer::RemoveInfoBar() instead of calling parent()->RemoveChildView() directly, so that the container knows the infobar is gone. (The container was trying to access deleted infobars because it never saw them go away.) This also removes the "if (container_)" conditional in Close() because it cannot be called with a NULL |container_|, and opportunistically makes it private. BUG=75021 TEST=none TBR=sky Review URL: http://codereview.chromium.org/6627069 TBR=pkasting@chromium.org Review URL: http://codereview.chromium.org/6624088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77243 0039d316-1c4b-4281-b951-d872f2087c98
* NTP: Move Chrome logo from lower right to lower leftarv@chromium.org2011-03-081-15/+10
| | | | | | | | | | BUG=None TEST=Go to NTP. The logo should be in the lower left corner. Also close some of the sections. The should now be right aligned. Review URL: http://codereview.chromium.org/6623062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77237 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory corruption. InfoBarView::Close() needs to call ↵pkasting@chromium.org2011-03-082-18/+19
| | | | | | | | | | | | | InfoBarContainer::RemoveInfoBar() instead of calling parent()->RemoveChildView() directly, so that the container knows the infobar is gone. (The container was trying to access deleted infobars because it never saw them go away.) This also removes the "if (container_)" conditional in Close() because it cannot be called with a NULL |container_|, and opportunistically makes it private. BUG=75021 TEST=none TBR=sky Review URL: http://codereview.chromium.org/6627069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77235 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed failing Autofill tests for PyAuto.dyu@chromium.org2011-03-083-6/+3
| | | | | | | | | | | -Tests were failing due to the new country drop-down list field. -The dictionary entry for ADDRESS_HOME_COUNTRY were no longer matching the country name within profiles due to casing mismatch. BUG=74843 TEST=none Review URL: http://codereview.chromium.org/6624084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77234 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup /home/chronos before every pyauto tests on chromeosnirnimesh@chromium.org2011-03-081-1/+5
| | | | | | | | | | | Cleanup files in /home/chronos not just /home/chronos/user BUG= TEST= Review URL: http://codereview.chromium.org/6625073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77231 0039d316-1c4b-4281-b951-d872f2087c98
* Change prerender control group to be ↵cbentzel@chromium.org2011-03-081-8/+17
| | | | | | | | | | | | | observe-prefetch-without-actually-prefetching. Also, drop prefetch probability to 0%. BUG=None TEST=None Review URL: http://codereview.chromium.org/6621044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77230 0039d316-1c4b-4281-b951-d872f2087c98
* Clarify/fix fullscreen semantics, and add GetScreenSizepiman@google.com2011-03-083-14/+11
| | | | | | | | | BUG=none TEST=youtube, nba, amazon Review URL: http://codereview.chromium.org/6625034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77229 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r76840 with fix for webkit_gpu dependencies.apatrick@chromium.org2011-03-0818-1032/+19
| | | | | | | | | | | | | | Removed GPU plugin. Pepper 3D v2 does not use the GPU plugin. It is integrated with the accelerated compositor. TEST=PPAPI 3D v2 still works, trybots BUG=none Review URL: http://codereview.chromium.org/6635026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77228 0039d316-1c4b-4281-b951-d872f2087c98
* mac: UI tweaks to tab overview modethakis@chromium.org2011-03-082-10/+56
| | | | | | | | | BUG=50307 TEST=tab overview mode looks different Review URL: http://codereview.chromium.org/6621056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77227 0039d316-1c4b-4281-b951-d872f2087c98
* Print Preview: Generate the print preview after the print preview renderer ↵thestig@chromium.org2011-03-084-4/+24
| | | | | | | | | | has loaded. BUG=74088 TEST=see bug. Review URL: http://codereview.chromium.org/6623061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77226 0039d316-1c4b-4281-b951-d872f2087c98
* Make OwnedWidgetGtk automatically destroy its widget.estade@chromium.org2011-03-082-8/+9
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6633002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77222 0039d316-1c4b-4281-b951-d872f2087c98
* Remove wstrings from ui/base/text_elider.h functions.tony@chromium.org2011-03-089-16/+16
| | | | | | | | | | | The last param is for languages, which is already a std::string in most places. BUG=23581 Review URL: http://codereview.chromium.org/6627061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77219 0039d316-1c4b-4281-b951-d872f2087c98
* Rename BrowserBubbleGtk/Win::Show to ShowAndActivate.thakis@chromium.org2011-03-082-4/+4
| | | | | | | | | | | | | This makes it clear that it's not an override of WidgetGtk::Show No intended functionality change. BUG=70465,72205 TEST=none Review URL: http://codereview.chromium.org/6635031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77216 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Store file extensions and description on a per-mime-type basis.viettrungluu@chromium.org2011-03-082-15/+21
| | | | | | | | | | | | Also eliminate stupid and unnecessary conversion of data to a big string, only to be parsed back. BUG=none TEST=everything still works Review URL: http://codereview.chromium.org/6635009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77215 0039d316-1c4b-4281-b951-d872f2087c98
* Make the toast more reliable and less dangerouscpu@chromium.org2011-03-084-6/+35
| | | | | | | | | | | | | | | | | | | | | | The current toast (re-activation) experiment suffers from the following problems: 1- False negative: the toast can be triggered even if chrome is being used 2- Nested message loop crash: If chrome tries to run while the toast is being shown, it crashes This change addresses both conditions. Before running the toast we leverage the process_singleton to detect another instance. If so we abort with "no thanks". When showing the toast and its nested message loop we take the process_singleton lock which inhibits dispatch of the wm_copydata message which spawns new tabs in the current process if we try to span a new tab while in the nested message loop we crash. BUG=32026 TES=see bug Review URL: http://codereview.chromium.org/6625037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77214 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for autofill DCHECKgeorgey@chromium.org2011-03-082-3/+25
| | | | | | | | BUG=74492 TEST=unit-tested Review URL: http://codereview.chromium.org/6621004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77213 0039d316-1c4b-4281-b951-d872f2087c98
* Convert ChromeDriver to use only the JSON automation interface.kkania@chromium.org2011-03-0816-356/+1334
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6614023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77212 0039d316-1c4b-4281-b951-d872f2087c98
* Slight cleanup to get rid of unneeded registry access and silence a warning ↵grt@chromium.org2011-03-083-48/+42
| | | | | | | | | | | for a state that wasn't bad. BUG=none TEST=installation and uninstallation still work Review URL: http://codereview.chromium.org/6625063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77210 0039d316-1c4b-4281-b951-d872f2087c98
* Move the common child process messages into their own file.jam@chromium.org2011-03-077-46/+17
| | | | | | | TBR=nduca Review URL: http://codereview.chromium.org/6625064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77209 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 77207 - Support mixed allocation in browser vs subprocessesjar@chromium.org2011-03-071-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Continue to support selection of a browser allocator selection via the environment variable CHROME_ALLOCATOR, and also add CHROME_ALLOCATOR_2 that can select the allocator to use in subprocesses, such as a renderer. Temporarilly set the browser default to the default windows heap allocator, and the subprocess allocator to TCMalloc to help detect memory corruption in a cannary for a few days. Add minor cleanup (removing reserved word "override" etc.). r=mbelshe bug=74901 Review URL: http://codereview.chromium.org/6623059 TBR=jar@chromium.org Review URL: http://codereview.chromium.org/6623069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77208 0039d316-1c4b-4281-b951-d872f2087c98
* Support mixed allocation in browser vs subprocessesjar@chromium.org2011-03-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | Continue to support selection of a browser allocator selection via the environment variable CHROME_ALLOCATOR, and also add CHROME_ALLOCATOR_2 that can select the allocator to use in subprocesses, such as a renderer. Temporarilly set the browser default to the default windows heap allocator, and the subprocess allocator to TCMalloc to help detect memory corruption in a cannary for a few days. Add minor cleanup (removing reserved word "override" etc.). r=mbelshe bug=74901 Review URL: http://codereview.chromium.org/6623059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77207 0039d316-1c4b-4281-b951-d872f2087c98
* Mac/Linux proxy fix.scottbyer@chromium.org2011-03-071-0/+5
| | | | | | | | | | | | | | | On Mac/Linux we keep the socket open, so don't get an OnChannelConnected message when a new Chromium launches and connects to the service, so we weren't properly marking ourselves as having a client connected. When the service was disable and Chromium exited, it meant we weren't properly exiting immediately. This is only a partial fix for the bug. BUG=74983 TEST=Start Chromium, enable the proxy, quit Chromium, start Chromium, disable the proxy, quit Chromium. With this fix the service process immediately exits. Review URL: http://codereview.chromium.org/6635023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77206 0039d316-1c4b-4281-b951-d872f2087c98
* wstring removal fix.avi@chromium.org2011-03-072-8/+6
| | | | | | | | | BUG=23581 TEST=No visible change. Review URL: http://codereview.chromium.org/6626054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77205 0039d316-1c4b-4281-b951-d872f2087c98
* Update translations using strings from launchpad.net r144tony@chromium.org2011-03-071-0/+1
| | | | | | | | (incl. the full Uyghur translations) Review URL: http://codereview.chromium.org/6628062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77203 0039d316-1c4b-4281-b951-d872f2087c98
* Fix fix to remove RLZ-related registry values at uninstall; see r76915.grt@chromium.org2011-03-071-1/+2
| | | | | | | | | BUG=3486114 TEST=install then uninstall and see that you don't pop into the debugger. Review URL: http://codereview.chromium.org/6628061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77202 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Use more specific friend struct / make destructors non-public for ↵thestig@chromium.org2011-03-0715-25/+44
| | | | | | | | | | classes with DeleteOnFooThread trait. BUG=none TEST=none Review URL: http://codereview.chromium.org/6627007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77201 0039d316-1c4b-4281-b951-d872f2087c98
* Removing dead code.grt@chromium.org2011-03-071-37/+0
| | | | | | Review URL: http://codereview.chromium.org/6628060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77200 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Update the references of notification includes to the new content ↵tfarina@chromium.org2011-03-0759-159/+159
| | | | | | | | | | | location. BUG=None TEST=None Review URL: http://codereview.chromium.org/6628058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77199 0039d316-1c4b-4281-b951-d872f2087c98
* Move WindowDelegate and NonClientView creation and management to Window.ben@chromium.org2011-03-0721-67/+68
| | | | | | | | | | | This makes WindowGtk/WindowWin a little uglier for now, will improve with consolidation of more functions into Window. BUG=72040 TEST=none Review URL: http://codereview.chromium.org/6621033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77194 0039d316-1c4b-4281-b951-d872f2087c98
* Put file_system messages in their own file and move them to content, in ↵jam@chromium.org2011-03-0710-244/+35
| | | | | | | | | preparation of moving child_thread. TBR=avi Review URL: http://codereview.chromium.org/6624066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77193 0039d316-1c4b-4281-b951-d872f2087c98
* Rename clear_browsing_data and clear_browsing_data_view to match the objects ↵zea@chromium.org2011-03-079-717/+713
| | | | | | | | | | | within. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6627018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77192 0039d316-1c4b-4281-b951-d872f2087c98