summaryrefslogtreecommitdiffstats
path: root/chrome/browser
Commit message (Collapse)AuthorAgeFilesLines
* Breakpad Linux: Fix crash handler writing to disk on the wrong thread.thestig@chromium.org2011-02-172-46/+84
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6538033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75325 0039d316-1c4b-4281-b951-d872f2087c98
* views: Do not show up a tooltip when hovering on the magnifying glass on NTP.tfarina@chromium.org2011-02-173-1/+15
| | | | | | | | | BUG=73252 TEST=see bug Review URL: http://codereview.chromium.org/6539013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75323 0039d316-1c4b-4281-b951-d872f2087c98
* Disable "Reset to Default theme"/"Use classic theme" correctly.erg@google.com2011-02-173-4/+13
| | | | | | | | | | | | | The theme on the gallery that corresponds to classic has a real extension id that we need to detect. By the time the BrowserThemeProvider can detect it, it has already been unpacked so just hard code the extension ID into chrome. BUG=67751 TEST=Install a theme, verify that 'use classic theme' is enabled, install Default theme, verify that 'use classic theme' is disabled Review URL: http://codereview.chromium.org/6532033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75321 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Do not show up a tooltip when hovering on the magnifying glass on NTP.tfarina@chromium.org2011-02-171-0/+9
| | | | | | | | | BUG=73252 TEST=see bug Review URL: http://codereview.chromium.org/6507043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75316 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. ↵tfarina@chromium.org2011-02-1715-40/+40
| | | | | | | | | | | Part 2. BUG=59945, 59946 TEST=trybots Review URL: http://codereview.chromium.org/6531028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75315 0039d316-1c4b-4281-b951-d872f2087c98
* Begin the DCHECK() cleanup. Starting off with /src/chrome/a* and ↵rsesek@chromium.org2011-02-1721-45/+45
| | | | | | | | | | | /src/chrome/browser/a* BUG=58409 Review URL: http://codereview.chromium.org/6539002 Patch from Kushal Pisavadia <kushi.p@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75314 0039d316-1c4b-4281-b951-d872f2087c98
* sync: rewrite DataTypeManagerImpl without pause/resume logic.tim@chromium.org2011-02-174-0/+881
| | | | | | | | | | | | Simpler! -=150 lines :) Need this to be able to use SyncerThread2. BUG=26339 TEST=DataTypeManagerImpl2Test Review URL: http://codereview.chromium.org/6528042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75308 0039d316-1c4b-4281-b951-d872f2087c98
* Made activate/buy button show consistently on network list and details pages.zelidrag@chromium.org2011-02-176-33/+77
| | | | | | | | | BUG=chromium-os:10937 TEST=make sure [Activate] button does not show in connection details if the device is already activated Review URL: http://codereview.chromium.org/6516019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75304 0039d316-1c4b-4281-b951-d872f2087c98
* Print Preview: Hook up the print button to initiate a normal print operation.thestig@chromium.org2011-02-175-0/+20
| | | | | | | | BUG=none TEST=Enable print preview on Mac, make sure print button in print preview works. Review URL: http://codereview.chromium.org/6479004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75302 0039d316-1c4b-4281-b951-d872f2087c98
* Intergration of the client-side phishing detection.noelutz@google.com2011-02-1710-23/+561
| | | | | | | | | | | | | | | If the client-side phishing detection classifies a page as phishing it will send back a ping to Google to verify whether or not the page is really phishing. If the server also classifies the site as phishing we may show a phishing interstitial if it is enabled. BUG= TEST= Review URL: http://codereview.chromium.org/6014003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75299 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 75287 - [Sync] Initial support for encrypting any datatype (no UI ↵zea@chromium.org2011-02-1733-1600/+210
| | | | | | | | | | | | | | hookup yet). BUG=59242 TEST=unit,sync_unit,sync_integration Review URL: http://codereview.chromium.org/6465005 TBR=zea@chromium.org Review URL: http://codereview.chromium.org/6537027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75297 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 75262: "Use xmpp.google.com instead of talk.google.com"akalin@chromium.org2011-02-171-2/+2
| | | | | | | | | | | | 75262 breaks sync for non-@gmail.com accounts. Will revert until that is sorted out. BUG=73067 TBR=hclam Review URL: http://codereview.chromium.org/6519058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75296 0039d316-1c4b-4281-b951-d872f2087c98
* Remove FLAKY for test PrintPreviewUITest.PrintCommandDisabled (rebooting the ↵joi@chromium.org2011-02-171-2/+1
| | | | | | | | | | | builder per thestig's suggestion fixed the flakiness). BUG=69389 TEST=none Review URL: http://codereview.chromium.org/6289002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75291 0039d316-1c4b-4281-b951-d872f2087c98
* Restart named testing channel on disconnect when using the named testing ↵dtu@chromium.org2011-02-173-1/+29
| | | | | | | | | | | interface. BUG=chromium-os:8514 TEST=manual Review URL: http://codereview.chromium.org/6515016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75290 0039d316-1c4b-4281-b951-d872f2087c98
* Allow dragging and dropping of URLs to any portion of the toolbar view.rogerta@chromium.org2011-02-1710-89/+219
| | | | | | | | | | | | BUG=9181 TEST=Drag a URL or ay text to the toolbar area, including back/forward/reload buttons, and the browser action/menu area. This should not interfere with dragging and dropping of browser actions. Test that browser actions behave as they should (i.e. should be able to change their order in the toolbar). Review URL: http://codereview.chromium.org/6462009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75288 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Initial support for encrypting any datatype (no UI hookup yet).zea@chromium.org2011-02-1733-210/+1600
| | | | | | | | | BUG=59242 TEST=unit,sync_unit,sync_integration Review URL: http://codereview.chromium.org/6465005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75287 0039d316-1c4b-4281-b951-d872f2087c98
* Enable back DevToolsSanityTest.TestScriptsTabIsPopulatedOnInspectedPageRefreshmnaganov@chromium.org2011-02-171-2/+1
| | | | | | | | | | | | Should pass after the last WK roll (r75275). TBR=podivilov@chromium.org TEST=DevToolsSanityTest.TestScriptsTabIsPopulatedOnInspectedPageRefresh BUG=73289 Review URL: http://codereview.chromium.org/6531030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75284 0039d316-1c4b-4281-b951-d872f2087c98
* Move ui::gfx::Image out of the ui namespace to be just gfx::Image.rsesek@chromium.org2011-02-172-6/+6
| | | | | | | | | | | | Having namespaces ui::gfx and just gfx are causing compiler disambiguation problems. This will resolve that. BUG=carnitas TEST=compiles and gfx_unittests Review URL: http://codereview.chromium.org/6533013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75283 0039d316-1c4b-4281-b951-d872f2087c98
* HSTS: add net-internals UI.agl@chromium.org2011-02-175-1/+288
| | | | | | | | | | | | | | This change adds a simple DOMUI interface to the HSTS list. Since the list is stored, hashed in memory and on disk, there's no list of entries. But the set can be queried and we can provide insertion and deletion. BUG=none TEST=Open about:net-internals, goto HSTS tab. Review URL: http://codereview.chromium.org/6500010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75282 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the target locator commands for ChromeDriver.kkania@chromium.org2011-02-172-0/+21
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6507015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75279 0039d316-1c4b-4281-b951-d872f2087c98
* Mark DevToolsSanityTest.TestScriptsTabIsPopulatedOnInspectedPageRefresh as ↵mnaganov@chromium.org2011-02-171-2/+2
| | | | | | | | | disabled, as it timeouts, not fails. BUG=73289 TEST=DevToolsSanityTest.TestScriptsTabIsPopulatedOnInspectedPageRefresh git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75274 0039d316-1c4b-4281-b951-d872f2087c98
* Mark DevToolsSanityTest.TestScriptsTabIsPopulatedOnInspectedPageRefresh as ↵mnaganov@chromium.org2011-02-171-1/+2
| | | | | | | | | failing after WK roll. BUG=73289 TEST=DevToolsSanityTest.TestScriptsTabIsPopulatedOnInspectedPageRefresh git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75265 0039d316-1c4b-4281-b951-d872f2087c98
* Mark UILayoutTest.MediaUILayoutTest as failing after WK roll.mnaganov@chromium.org2011-02-171-1/+2
| | | | | | | BUG=73287 TEST=UILayoutTest.MediaUILayoutTest git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75264 0039d316-1c4b-4281-b951-d872f2087c98
* New policy protobuf protocol.jkummerow@chromium.org2011-02-1729-1106/+1669
| | | | | | | | | | | | | | | (Third attempt to land http://codereview.chromium.org/6409040/ -- now without memory leaks) - cloud_policy.proto autogenerated from policy_templates.json - C++ method decoding the protobuf also autogenerated from policy_templates.json - changed policy fetching mechanism to fetch new-style policy protobufs BUG=68309, chromium-os:11253, chromium-os:11255 TEST=CloudPolicyCacheTest.*; also manual test against python testserver Review URL: http://codereview.chromium.org/6532019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75259 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB: Allow injection of keys into values via key path.hans@chromium.org2011-02-177-27/+225
| | | | | | | | | BUG=70118 TEST=browser_tests Review URL: http://codereview.chromium.org/6529021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75258 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] Perform a clean sign out when restart requested on about:flags.nkostylev@chromium.org2011-02-171-0/+7
| | | | | | | | | BUG=chromium-os:11782 TEST=manual. Review URL: http://codereview.chromium.org/6507039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75256 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the DownloadDirectory policy.pastarmovj@chromium.org2011-02-1714-9/+93
| | | | | | | | | | | | | | | This policy allows for locking the user to download files only to the specified location. When the policy is set the UI elements should be inactive and the save dialog should never appear. Changes in the Preferences.xib file only wire the enabled status of the download location and save prompt checkbox elements to a variable that tracks the managed state of the DefaultDownloadDir pref. No UI elements were harmed in this change. BUG=59768 TEST=All old download manager tests shouldn't break. UI should behave correctly when policy is set. Review URL: http://codereview.chromium.org/6525054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75255 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Start moving a couple of files from chrome/browser/dom_ui to ↵tfarina@chromium.org2011-02-1714-32/+32
| | | | | | | | | | | chrome/browser/webui. BUG=59946, 59945 TEST=trybots Review URL: http://codereview.chromium.org/6539004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75252 0039d316-1c4b-4281-b951-d872f2087c98
* Enhance search for SINGLETON_TAB in case of ignore_path flag.dilmah@chromium.org2011-02-172-9/+47
| | | | | | | | | | | | If we are ignoring path then it makes sense to ignore also a Query part. If there are several matches: prefer currently selected tab. BUG=chromium-os:11047 TEST=Manual Review URL: http://codereview.chromium.org/6489002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75245 0039d316-1c4b-4281-b951-d872f2087c98
* Adding callbacks to `chrome.cookies.{set,remove}`.jochen@chromium.org2011-02-172-28/+46
| | | | | | | | | | | | | | | | | | | Currently, neither `.set` nor `.remove` give the user the ability to take action after the asynchronous cookie monster does its thing in the background. One can listen for events, but can't distinguish between events generated from one's own code, and events generated through normal interaction with the web. This makes infinite loops much easier to write than they should be. Callbacks make that class of problem simpler to deal with. BUG=70102 TEST=Check that `.set` and `.remove` callbacks are triggered. Review URL: http://codereview.chromium.org/6525016 Patch from Mike West <mkwst@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75242 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor EnableInputMethods() and remove SortInputMethodIdsByNames().satorux@chromium.org2011-02-173-116/+36
| | | | | | | | | | | | | We no longer need to sort input method IDs by names in EnableInputMethods() as the input method IDs returned from GetInputMethodIdsFromLanguageCode() are sorted per the whitelist.txt. BUG=chromium-os:12252 TEST=keyboard switching on the login screen works as before Review URL: http://codereview.chromium.org/6532016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75239 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the one-shot timer from input_method_library.cc.yusukes@google.com2011-02-171-20/+3
| | | | | | | | | | | This change depends on http://codereview.chromium.org/6528043/. BUG=chromium-os:11479 TEST=manual Review URL: http://codereview.chromium.org/6526042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75237 0039d316-1c4b-4281-b951-d872f2087c98
* OS X: Add metrics to temporarily count use of Hunspell vs OS X's native ↵jeremy@chromium.org2011-02-172-6/+47
| | | | | | | | | | | | | | spellchecker. * Fix bug where Polish would always use Hunspell, even when the OS X native dictionary already has Polish support. * Spruce up comments in spell_checker_mac.cc BUG=69944 TEST=None Review URL: http://codereview.chromium.org/6515001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75236 0039d316-1c4b-4281-b951-d872f2087c98
* Fix desktop notification test failure.jam@chromium.org2011-02-173-9/+17
| | | | | | | TBR=brettw Review URL: http://codereview.chromium.org/6534014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75234 0039d316-1c4b-4281-b951-d872f2087c98
* Do not enable keyboard layouts when it's unnecessary.satorux@chromium.org2011-02-174-12/+36
| | | | | | | | | | | | When it's necessary, we should use SwitchLanguageAndEnableKeyboardLayouts() instead of SwitchLanguage(). BUG=chromium-os:12049 TEST=confirm that keyboard layouts are enabled as before on the login screen. Review URL: http://codereview.chromium.org/6480110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75233 0039d316-1c4b-4281-b951-d872f2087c98
* Set Ctrl+Alt+/ and Ctrl+Alt+? for showing the new verrsion of Keyboard Overlay.mazda@chromium.org2011-02-171-3/+2
| | | | | | | | | | | This is one of the patches for replacing Keyboard Overlay with new one. BUG=chromium-os:6268,chromium-os:12111 TEST=manually on the netbook Review URL: http://codereview.chromium.org/6529015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75232 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug in TestingAutomationProvider from my recent autocompletesky@chromium.org2011-02-171-2/+2
| | | | | | | | | | | patch. BUG=73200 TEST=none Review URL: http://codereview.chromium.org/6534009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75230 0039d316-1c4b-4281-b951-d872f2087c98
* Update the keyboad overlay data.mazda@chromium.org2011-02-171-138/+135
| | | | | | | | | | | This change brings in the recent changes of the key positions and sizes. BUG=chromium-os:6268 TEST=manually on the netbook Review URL: http://codereview.chromium.org/6529045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75229 0039d316-1c4b-4281-b951-d872f2087c98
* Make TabContentsObserver handle registration automatically, as well as ↵jam@chromium.org2011-02-1743-284/+273
| | | | | | | | exposing getters for TC, routing_id, and sending messages. Review URL: http://codereview.chromium.org/6537004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75226 0039d316-1c4b-4281-b951-d872f2087c98
* Bookmarks item of menubar didn't have following features on each folder,mrossetti@chromium.org2011-02-176-17/+230
| | | | | | | | | | | | - Open All Bookmarks - Open All Bookmarks in New Window - Open All Bookmarks in Incognito Window BUG=56106 TEST=modify and add new tests into unit_tests. changes pass unit_tests Review URL: http://codereview.chromium.org/6508017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75223 0039d316-1c4b-4281-b951-d872f2087c98
* Use class instead of attribute for hide-menuestade@chromium.org2011-02-173-7/+10
| | | | | | | | | | | Works around webkit bug 12519 BUG=73047 TEST=manual Review URL: http://codereview.chromium.org/6507019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75221 0039d316-1c4b-4281-b951-d872f2087c98
* Add the quota::SpecialStoragePolicy interface and an implementation that grantsmichaeln@google.com2011-02-174-0/+304
| | | | | | | | | | | 'protected' and 'unlimited' storage rights to chrome extensions and applications. BUG=52357 TEST=extension_special_storage_policy_unittest.cc Review URL: http://codereview.chromium.org/6299012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75216 0039d316-1c4b-4281-b951-d872f2087c98
* Implement overlay.nduca@chromium.org2011-02-173-0/+264
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6334067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75215 0039d316-1c4b-4281-b951-d872f2087c98
* Sync: Cleanup the gaia login class names.jhawkins@chromium.org2011-02-172-59/+45
| | | | | | | | | BUG=72363 TEST=none Review URL: http://codereview.chromium.org/6537008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75213 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up Autofill address code.isherman@chromium.org2011-02-176-193/+57
| | | | | | | | | | | | | * Merge HomeAddress into Address, since there are no other subclasses. * Eliminate unhelpful wrapper functions * Get rid of Apartment Number code, since we always store that as generic line 2 data. BUG=none TEST=none Review URL: http://codereview.chromium.org/6533011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75207 0039d316-1c4b-4281-b951-d872f2087c98
* Fix case where we don't show no data left notification because we don't have ↵chocobo@chromium.org2011-02-172-38/+39
| | | | | | | | | | any plans when the last plan expires. BUG=chromium-os:9945 TEST=When cellular data plan runs out, make sure that the no data left notification appears. Review URL: http://codereview.chromium.org/6526057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75206 0039d316-1c4b-4281-b951-d872f2087c98
* NTP: Fix issue with keyboard navigation of the context menuarv@chromium.org2011-02-161-5/+4
| | | | | | | | | | | | | | | We need to use the hidden property/attribute to get keyboard navigation working. This regressed in r66954 BUG=None TEST=On NTP Right click one of the Apps Press down/up keys it should select the next/previous menu item. Review URL: http://codereview.chromium.org/6528026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75205 0039d316-1c4b-4281-b951-d872f2087c98
* Show settings/personal when attempting to call ShowLoginDialog for ChromeOS.stevenjb@google.com2011-02-161-2/+5
| | | | | | | | | BUG=chromium-os:12187 TEST=See issue Review URL: http://codereview.chromium.org/6526039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75200 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: shorten.pkasting@chromium.org2011-02-161-42/+31
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6531001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75199 0039d316-1c4b-4281-b951-d872f2087c98
* DOMUI: Make the password lists support multiple selection.jhawkins@chromium.org2011-02-161-4/+0
| | | | | | | | | BUG=73093 TEST=none Review URL: http://codereview.chromium.org/6538001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75196 0039d316-1c4b-4281-b951-d872f2087c98