summaryrefslogtreecommitdiffstats
path: root/chrome/browser
Commit message (Collapse)AuthorAgeFilesLines
* This fixes a fairly obscure bug in the plugin selection policy code.gspencer@chromium.org2011-04-122-5/+18
| | | | | | | | | BUG=64384 TEST=Ran new unit test. Review URL: http://codereview.chromium.org/6713042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81276 0039d316-1c4b-4281-b951-d872f2087c98
* Disable InstantTest.DownloadOnEnter on Linux, as it's crashing.siggi@chromium.org2011-04-121-2/+2
| | | | | | | | | TBR=sky@chromium.org BUG=77168 TEST=none Review URL: http://codereview.chromium.org/6821080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81275 0039d316-1c4b-4281-b951-d872f2087c98
* Implement easy GPU feature status summary.nduca@chromium.org2011-04-1213-162/+412
| | | | | | | | | | The associated bug shows screenshots of about:gpu with this cl applied. BUG=75719 Review URL: http://codereview.chromium.org/6712048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81273 0039d316-1c4b-4281-b951-d872f2087c98
* Add cert fingerprints to the cert chain dialog, bringing it more inline with thecevans@chromium.org2011-04-121-1/+29
| | | | | | | information available in the Windows system dialog. Review URL: http://codereview.chromium.org/6822041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81272 0039d316-1c4b-4281-b951-d872f2087c98
* Remove "https://" prefix from proxies and clear proxy settings if fields are ↵dtu@chromium.org2011-04-122-8/+8
| | | | | | | | | | | | | blank. Currently the schema for HTTPS proxies is set to HTTPS, which causes net-internals to prepend "https://" for display. Also, setting both the URL and port of a proxy to blank doesn't properly clear the proxy setting. BUG=chromium-os:13953 TEST=Manual. Review URL: http://codereview.chromium.org/6822037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81271 0039d316-1c4b-4281-b951-d872f2087c98
* Disable SettingsWebUITest.TestSetBooleanPrefTriggers on Mac, where it seems ↵siggi@chromium.org2011-04-121-1/+8
| | | | | | | | | | | to be crashing. TBR=dtseng@chromium.org BUG=79181 TEST=none Review URL: http://codereview.chromium.org/6822057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81270 0039d316-1c4b-4281-b951-d872f2087c98
* Renames TabStripModel and Browser's selected_index tosky@chromium.org2011-04-1236-190/+183
| | | | | | | | | | | | | active_index. I plan on renaming more, but wanted to start with this one. BUG=none TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/6823064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81268 0039d316-1c4b-4281-b951-d872f2087c98
* [ChromeOS] Append a "Managed by DOMAIN" text to version label on login screen.xiyuan@chromium.org2011-04-124-13/+119
| | | | | | | | | BUG=chromium-os:12558 TEST=Verify fix for chromium-os:12558 after chromium-os:11033 is done. Review URL: http://codereview.chromium.org/6803018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81266 0039d316-1c4b-4281-b951-d872f2087c98
* Add documentation for why tests are disabled per siggi@chromium.org2011-04-121-0/+3
| | | | | | | | | | http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/handling-a-failing-test BUG=79164 TEST=none Review URL: http://codereview.chromium.org/6825077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81264 0039d316-1c4b-4281-b951-d872f2087c98
* [Chrome OS] Add setting for enabling whitelisting to device policy protocmasone@chromium.org2011-04-121-2/+28
| | | | | | | | | | | | | | | | Today, we allow users to specify a whitelist but not enforce it. I can see an argument for changing this semantic...but in M13 :-) Add a field to the device policy proto buffer so that we can avoid changing the UI right now. BUG=13230 TEST=build chrome R=jkummerow@chromium.org,gfeher@chromium.org Review URL: http://codereview.chromium.org/6825078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81263 0039d316-1c4b-4281-b951-d872f2087c98
* a Downloaded or retrieved favicon and touch in FaviconHelper.michaelbai@google.com2011-04-1211-134/+1121
| | | | | | | | | | | | | b.ViewHostMsg_UpdateFaviconURL can update multiple icon urls BUG=71571 TEST=Tested with existing unit test and add 2 new unit tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81158 Review URL: http://codereview.chromium.org/6672065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81258 0039d316-1c4b-4281-b951-d872f2087c98
* When two extension sources request the same extension, the source with ↵skerner@chromium.org2011-04-124-88/+306
| | | | | | | | | | | | higher priority wins. BUG=61000 TEST=ExtensionSourcePriorityTest.*,ExtensionTest.LocationPriorityTest Review URL: http://codereview.chromium.org/6693097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81255 0039d316-1c4b-4281-b951-d872f2087c98
* Disable crashing tests, my previous checkin to mark them flaky did not help.siggi@chromium.org2011-04-121-3/+4
| | | | | | | | | BUG=79164 TEST=none TBR=joi@chromium.org Review URL: http://codereview.chromium.org/6823079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81250 0039d316-1c4b-4281-b951-d872f2087c98
* Disable flaky browser tests.siggi@chromium.org2011-04-121-3/+3
| | | | | | | | BUG=79164 TEST=none Review URL: http://codereview.chromium.org/6820068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81249 0039d316-1c4b-4281-b951-d872f2087c98
* Added EditBookmarksEnabled policy.joaodasilva@chromium.org2011-04-126-4/+20
| | | | | | | | | | | This just adds the policy and the preference, and some utility functions. BUG=49604 TEST=None Review URL: http://codereview.chromium.org/6825071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81246 0039d316-1c4b-4281-b951-d872f2087c98
* Replacing base::DIR_TEMP with ScopedTempDir when appropriate.mkwst@chromium.org2011-04-1218-181/+124
| | | | | | | | | | BUG=73854 TEST=unit_tests Review URL: http://codereview.chromium.org/6793008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81245 0039d316-1c4b-4281-b951-d872f2087c98
* Grid component - list with multiple columns.dgozman@chromium.org2011-04-123-83/+496
| | | | | | Review URL: http://codereview.chromium.org/6691060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81243 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 83482:83570caseq@google.com2011-04-121-1/+1
| | | | | | | | | | | | | Also fixed build failure due to changed interface in WebKit r83545. BUG=none TEST=none TBR=abarth,dglazkov Review URL: http://codereview.chromium.org/6825067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81242 0039d316-1c4b-4281-b951-d872f2087c98
* Now that we have Help Center redirects in place we can point users to them.finnur@chromium.org2011-04-121-4/+4
| | | | | | | | | TBR=huanr BUG=67897 TEST=This should be tested at the same time (and using the same instructions) as for my previous blacklist change (contact me for details). Review URL: http://codereview.chromium.org/6820064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81241 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old ScopedUserPrefUpdatebattre@chromium.org2011-04-127-72/+15
| | | | | | | | | BUG=77914, 58489 TEST=none, tree remains green Review URL: http://codereview.chromium.org/6823037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81232 0039d316-1c4b-4281-b951-d872f2087c98
* Handle the PasswordManagerAllowShowPasswords preference in the options webui.joaodasilva@chromium.org2011-04-124-12/+75
| | | | | | | | | BUG=59773 TEST=Set the policy, and the password manager won't show passwords. Review URL: http://codereview.chromium.org/6770012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81229 0039d316-1c4b-4281-b951-d872f2087c98
* Rework the in-browser thumbnailing by doing everything in ThumbnailGenerator.satorux@chromium.org2011-04-122-281/+51
| | | | | | | | | | | | | | | | | | | | | | | Before this change, the thumbnail generation occurred when a tab received page contents from from a renderer (in TabContents::OnPageContents), but this is not the right place to do so (ex. the page may not be yet fully loaded, the tab may be hidden, etc.) After this change, the thumbnail generation will be done based on heuristics implemented in ThumbnailGenerator. The current heuristics is as simple as attempting to update thumbnails when a renderer is about to be hidden, but it's just a starting point. We can tweak heuristics to get better quality thumbnails. Along the way, remove the complicated logic in ThumbnailGenerator that was used for the overview mode on Chrome OS. We no longer use have that feature. BUG=65936 TEST=run chrome with --enable-in-browser-thumbnailing and confirm that thumbnails are updated as intended. Review URL: http://codereview.chromium.org/6810044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81224 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] Adding mobile connection "security" tab (change RequirePin ↵nkostylev@chromium.org2011-04-1211-32/+330
| | | | | | | | | | | | | | | pref/change PIN, GSM only). Hide "Plan" tab for GSM networks. Ask user to Enter PIN when changing RequirePin pref (reusing SIM unlock dialog). Add strings for 3G data notification. BUG=chromium-os:12007 TEST=manual Review URL: http://codereview.chromium.org/6693065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81222 0039d316-1c4b-4281-b951-d872f2087c98
* Add TopSites::GetTemporaryThumbnailScore().satorux@chromium.org2011-04-124-4/+31
| | | | | | | | | | | | | This will make the in-browser thumbnailing more efficient. Before this change, we regenerated a thumbnail even when we had a good thumbnail, if it's not yet saved (this occurred when the top site list was not yet full) BUG=65936 TEST=confirm that the in-browser thumbnailing doesn't regenerate a thumbnail when we already have one. Review URL: http://codereview.chromium.org/6813040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81216 0039d316-1c4b-4281-b951-d872f2087c98
* Show the translated title in the file browser for the Downloads directory.satorux@chromium.org2011-04-122-1/+8
| | | | | | | | | BUG=chromium-os:13381 TEST=Hit ctrl-o to open the Downloads pop-up and check the title in non-US language. Review URL: http://codereview.chromium.org/6824036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81211 0039d316-1c4b-4281-b951-d872f2087c98
* Added mount change notification event to extension API: zelidrag@chromium.org2011-04-129-351/+358
| | | | | | | | | | | | chrome.fileBrowserPrivate.onChanged.addListener(function(mountDirUrl) { ... }); BUG=chromium-os:13025 TEST=none Review URL: http://codereview.chromium.org/6749024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81208 0039d316-1c4b-4281-b951-d872f2087c98
* PyAuto automation hook: Connect to hidden wifi network.dtu@chromium.org2011-04-127-27/+146
| | | | | | | | | | | Adds Python function ConnectToHiddenWifiNetwork() that allows a PyAuto test to connect to a network by SSID. Additional code review at http://codereview.chromium.org/6825046/. BUG=chromium-os:12727 TEST=Manual. Review URL: http://codereview.chromium.org/6815025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81206 0039d316-1c4b-4281-b951-d872f2087c98
* Update the keyboard layout js file to support US Colemak.zork@chromium.org2011-04-121-96/+257
| | | | | | | | | | | This also contains the recent update to ko. BUG=chromium-os:10398 TEST=Switch to the US Colemak layout. Bring up the keyboard layout. Check that it's correct. Review URL: http://codereview.chromium.org/6826033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81201 0039d316-1c4b-4281-b951-d872f2087c98
* make ntp4 more presentableestade@chromium.org2011-04-126-25/+49
| | | | | | | | | | | | | 1. fix google_chrome/product_logo.png (similar to r79357, but for google chrome instead of chromium) 2. tweak footer appearance 3. give apps pages names BUG=none TEST=manual Review URL: http://codereview.chromium.org/6822035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81200 0039d316-1c4b-4281-b951-d872f2087c98
* Add alt attribute to Autofill credit card iconsisherman@chromium.org2011-04-126-9/+34
| | | | | | | | | BUG=77713 TEST=none Review URL: http://codereview.chromium.org/6825025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81198 0039d316-1c4b-4281-b951-d872f2087c98
* Close the keyboard overlay with Ctrl+Alt+/.mazda@chromium.org2011-04-122-2/+8
| | | | | | | | | BUG=chromium-os:12920 TEST=manually on the chrome notebook Review URL: http://codereview.chromium.org/6824033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81197 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clang build.johnnyg@chromium.org2011-04-122-6/+10
| | | | | | Review URL: http://codereview.chromium.org/6821061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81196 0039d316-1c4b-4281-b951-d872f2087c98
* Add NTP4 owners file.estade@chromium.org2011-04-121-0/+1
| | | | | | | | | | | | | For now, it's just me. Eventually csilv, rbyers will be added. (OWNERS are of course hierarchical, so arv's browser/resources/ ownership applies here as well) BUG=none TEST=none Review URL: http://codereview.chromium.org/6823056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81192 0039d316-1c4b-4281-b951-d872f2087c98
* Horizontal scrolling on NTP4.estade@chromium.org2011-04-121-1/+45
| | | | | | | | | | | This attempts to feel good with both a wheel and a trackpad. BUG=none TEST=manual Review URL: http://codereview.chromium.org/6816041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81190 0039d316-1c4b-4281-b951-d872f2087c98
* Add a path for a web page to request the enumeration of a directory. This, ↵johnnyg@chromium.org2011-04-122-38/+135
| | | | | | | | | | together with a WebKit change, will allow a drag-and-drop on a Directory Upload control (<input type=file webkitdirectory>) which provides only the path to the renderer, to correctly populate the control as if the user had selected that directory in a file picker. BUG=58977 TEST=drag-and-drop on directory upload control (with upstream change) Review URL: http://codereview.chromium.org/6623015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81183 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 81175 since as kbr pointed out, this would break GPU in the meantime ↵jam@chromium.org2011-04-111-4/+2
| | | | | | | | | | since an errory reply would be sent. I'll wait a week before relanding this. Reland r79470 and disable the failing GPU test (and prerendering tests that use GPU) for now, so we don't get any more deadlock regressions.TBR=brettwReview URL: http://codereview.chromium.org/6822034 TBR=jam@chromium.org Review URL: http://codereview.chromium.org/6824062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81182 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ExtensionWebRequestApiTest.WebRequestEvents to be not flaky.mpcomplete@chromium.org2011-04-111-2/+1
| | | | | | | | BUG=79081 TEST=no TBR=mkwst git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81178 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r79470 and disable the failing GPU test (and prerendering tests that ↵jam@chromium.org2011-04-111-2/+4
| | | | | | | | | use GPU) for now, so we don't get any more deadlock regressions. TBR=brettw Review URL: http://codereview.chromium.org/6822034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81175 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Implement rough global menu support behind an about:flags flag.erg@google.com2011-04-115-0/+360
| | | | | | | | | | | | | | | This is a super early first cut of global menu support. It works by creating a GtkMenuBar inside chrome, attaching it to the widget hierarchy and then never showing it. This is sufficient for global menu support to detect the menu, at least on the Natty betas. There's a lot to do before this is considered done. I haven't added Bookmark and History menus, which will need custom handling to keep state up to date with the main window. Some items may need to be moved from one menu to another to fit with Linux conventions. Contains a bunch of new strings for global menu support. These need to go in before the M12 branch point. (I can iterate on the design afterwards; strings need translation.) BUG=30213 TEST=Open a window on Unity. A minimal menu is in the menu bar. Review URL: http://codereview.chromium.org/6812037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81170 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 81158 due to memory bots - a Downloaded or retrieved favicon and ↵erg@google.com2011-04-1111-1116/+134
| | | | | | | | | touch in FaviconHelper.b.ViewHostMsg_UpdateFaviconURL can update multiple icon urlsBUG=71571TEST=Tested with existing unit test and add 2 new unit testsReview URL: http://codereview.chromium.org/6672065 TBR=michaelbai@google.com Review URL: http://codereview.chromium.org/6820054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81167 0039d316-1c4b-4281-b951-d872f2087c98
* Add type 'panel' to chrome.windows.create.jennb@chromium.org2011-04-114-0/+28
| | | | | | | | | BUG=None TEST=New extension API test. Review URL: http://codereview.chromium.org/6740030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81165 0039d316-1c4b-4281-b951-d872f2087c98
* sync: fix test-only race in SyncerThread2Test.*Coalescing*tim@chromium.org2011-04-111-11/+7
| | | | | | | | | | | | | These tests would schedule a nudge in the future, and then two immediate ones in the hopes of hitting the coalesce code path. I switched it to use TestTimeouts and a longer delay, and only have two nudges. BUG=74663 TEST=SyncerThread2Test.*Coalescing* Review URL: http://codereview.chromium.org/6824055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81163 0039d316-1c4b-4281-b951-d872f2087c98
* Only strip separators from credit card numbers when implicitly learning or ↵isherman@chromium.org2011-04-116-16/+38
| | | | | | | | | | | | | filling. Preserve whatever the user typed. BUG=78844 TEST=unit_tests --gtest_filter=*CreditCard* Review URL: http://codereview.chromium.org/6821021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81162 0039d316-1c4b-4281-b951-d872f2087c98
* Connect the right metafiles for print preview on Linux and Windows.vandebo@chromium.org2011-04-114-24/+19
| | | | | | | | | | | | | | + Remove the NativeMetafileFactory since we can't just use preview flag. + Update each Metafile constructor site to use PreviewMetafile or NativeMetafileImpl. + Fix misc. problems blocking pdf generation on Windows. + Rename the metafile interface. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6826027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81161 0039d316-1c4b-4281-b951-d872f2087c98
* File Manager: Add 'New Folder' button, fix sorting, assorted polishrginda@chromium.org2011-04-117-137/+331
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | file_manager.css: * Smaller margin in header to account for buttons. * No padding on sort image for the 'icon type' column. * Add icon for folders file_manager.js: * Cache data for the sort column *just* before sorting. * Scan DOM for 'visibleif' attributes to control visibility of DialogType specific elements. * Add 'New Folder' functionality. * Add new 'Icon Type' column so that files can be sorted by type. This column is a slightly special case because it has no label. * Scroll selected items back into view after a sort. * Remove leading '/' in virtual path passed in to selectFile(s). mock_chrome.js: * Remove unused strings. * Add new strings. util.js: * Refactor FileError.p.toString code so that callers can get a error mnemonic without the surrounding '[object ...]' string. main.html: * Add 'New folder' button. * Switch filename label/input to use visibleif attribute. generated_resources.grd: * Update strings extension_file_browser_private_api.cc: * Update strings. * Add local macro to reduce copy-pasta overload. BUG=chromium-os:14011 TEST=manual testing in harness and chromeos-chrome build Review URL: http://codereview.chromium.org/6827001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81160 0039d316-1c4b-4281-b951-d872f2087c98
* Rename TabContentsViewWin to TabContentsViewViewsben@chromium.org2011-04-118-88/+88
| | | | | | | | | BUG=72040 TEST=none TBR=sky Review URL: http://codereview.chromium.org/6820046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81159 0039d316-1c4b-4281-b951-d872f2087c98
* a Downloaded or retrieved favicon and touch in FaviconHelper.michaelbai@google.com2011-04-1111-134/+1116
| | | | | | | | | | | b.ViewHostMsg_UpdateFaviconURL can update multiple icon urls BUG=71571 TEST=Tested with existing unit test and add 2 new unit tests Review URL: http://codereview.chromium.org/6672065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81158 0039d316-1c4b-4281-b951-d872f2087c98
* Minor html fix and changed the size of the control links in interim login screenrharrison@chromium.org2011-04-112-3/+4
| | | | | | | | | | | | | | I have been having issues with clicking the targets on this page during development do to other issues. Since this is not intended to be the final screen I just increased the size of the text so I don't accidentally click the wrong link. This caused it to be obvious that one of my divs wasn't closed correctly, so I fixed that also. Patch from Ryan Harrison <rharrison@chromium.org> BUG=none TEST=manual Review URL: http://codereview.chromium.org/6801048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81155 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Refactor ChromeInvalidationClient and InvalidationNotifierakalin@chromium.org2011-04-116-134/+165
| | | | | | | | | | | | | | | | | | Use InvalidationClient's session state to determine whether notifications are on/off, instead of just the XMPP connection state. Combine ChromeInvalidationClient::Listener's invalidation methods into one. Push the cached registered types state from InvalidationNotifier into ChromeInvaildationClient. BUG= TEST= Review URL: http://codereview.chromium.org/6820022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81152 0039d316-1c4b-4281-b951-d872f2087c98
* We've finished testing with the cwnd fixed at 32, it is clearly worse.mbelshe@chromium.org2011-04-111-2/+2
| | | | | | | | | | Remove that test and replace it with cwnd10, which fixes the cwnd at 10. BUG=none TEST=this is the test Review URL: http://codereview.chromium.org/6792026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81149 0039d316-1c4b-4281-b951-d872f2087c98