summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* WebUI: Fix random variations of DOMUI.tfarina@chromium.org2011-02-131-1/+1
| | | | | | | | | | | | This was found with: $ git gs "[Dd][Oo][Mm][Uu][Ii]" BUG=59945 TEST=trybots Review URL: http://codereview.chromium.org/6518001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74773 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Get rid of more references to DOMUI in the rest of the directories.tfarina@chromium.org2011-02-133-5/+5
| | | | | | | | | BUG=59945 TEST=trybots Review URL: http://codereview.chromium.org/6513010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74771 0039d316-1c4b-4281-b951-d872f2087c98
* Updated about_flags and command-line switch handling for prerender/prefetchgavinp@chromium.org2011-02-122-16/+18
| | | | | | | | | | | | | | | The second half of http://codereview.chromium.org/6410082/ , which cbentzel suggested be landed in two halves. This upload addresses comments from that review (improved description, unified options, no more contradictory option possibilities). BUG=70610 TEST=lots of manual testing, http://browserspy.dk/prefetch.php Review URL: http://codereview.chromium.org/6480002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74740 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the XSS auditor by defaultabarth@chromium.org2011-02-122-4/+4
| | | | | | | | | | | The XSS auditor is still experimental, but the new design seems to be working well in the WebKit nightlies. This patch enables the feature in Chromium to gather wider feedback. If you'd like to provide feedback, please file a bug at https://bugs.webkit.org/ and add the XSSAuditor keyword. Review URL: http://codereview.chromium.org/6507010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74720 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 73977 - Apply a sanity check on gfx::Size deserialization so we can ↵cevans@chromium.org2011-02-121-2/+0
| | | | | | | | | | | | | | | | | be confident there are no width * height * bpp problems. BUG=72615 TEST=none TBR=jschuh Review URL: http://codereview.chromium.org/6413013 TBR=cevans@chromium.org Review URL: http://codereview.chromium.org/6513004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74719 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "indexeddb: make setVersion fire blocked event if other connections ↵dgrogan@chromium.org2011-02-121-6/+0
| | | | | | | | are open" This reverts commit 46cd3aa22b003111d0ed1999094eff3aa25132f4. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74713 0039d316-1c4b-4281-b951-d872f2087c98
* indexeddb: make setVersion fire blocked event if other connections are opendgrogan@chromium.org2011-02-121-0/+6
| | | | | | | | | BUG=64049 TEST= Review URL: http://codereview.chromium.org/6513002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74711 0039d316-1c4b-4281-b951-d872f2087c98
* Add --debug-views-paint switch that shows damaged rectangles in redoshima@google.com2011-02-122-0/+10
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6489015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74706 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Get rid of references to DOMUI in comments. The last part.tfarina@chromium.org2011-02-125-9/+9
| | | | | | | | | BUG=59945 TEST=trybots Review URL: http://codereview.chromium.org/6509004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74705 0039d316-1c4b-4281-b951-d872f2087c98
* Run pre-classification checks in the browser before starting client-side ↵bryner@chromium.org2011-02-111-0/+4
| | | | | | | | | | | | | | | | | phishing detection. This CL just adds a framework for running these checks, and adjusts the renderer-side logic to delay phishing classification until the browser has sent an IPC signaling that it should run. Future CL's will add the actual checks, which will include a whitelist lookup, intranet hostname checks, and per-day ping limit. BUG=none TEST=updated existing tests Review URL: http://codereview.chromium.org/6398001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74698 0039d316-1c4b-4281-b951-d872f2087c98
* Make the implementation .cc files go away, instead have the authors give us ↵tsepez@chromium.org2011-02-112-0/+61
| | | | | | | | a header only. Review URL: http://codereview.chromium.org/6410007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74637 0039d316-1c4b-4281-b951-d872f2087c98
* Extend Mac popup to handle more directionality.avi@chromium.org2011-02-111-4/+12
| | | | | | | | | BUG=71326 TEST=verify popup is correct with test page noted in bug writeup. Review URL: http://codereview.chromium.org/6410125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74622 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Improve fullscreen RenderWidgetHostViewGtk.derat@chromium.org2011-02-111-2/+1
| | | | | | | | | | | | | | | | | | | | This was previously using the same code as for popup windows (i.e. <select> and autocomplete), which creates an override-redirect/popup window and grabs the pointer and keyboard. This is the wrong way to make a window fullscreen: since the window is override-redirect, the window manager will ignore the fullscreen request, and since the input is grabbed, other X clients' key grabs (such as Alt-Tab) won't work. This change makes us instead open a regular toplevel window. BUG=chromium-os:11545 TEST=checked that brightness and volume keys work while Pepper Flash is fullscreen and that <select> popups still work Review URL: http://codereview.chromium.org/6462017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74534 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Add more conversions to Value for sync typesakalin@chromium.org2011-02-103-48/+200
| | | | | | | | | | | | | | This is a prerequisite for exposing some functions to chrome://sync-internals. Cleaned up some test code also. BUG=69500 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=74489 Review URL: http://codereview.chromium.org/6476016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74521 0039d316-1c4b-4281-b951-d872f2087c98
* Plumbing for the IDBObjectStore::clear() method.jochen@chromium.org2011-02-101-0/+7
| | | | | | | | | BUG=71102 TEST=layout test storage/indexeddb/objecstore-basics.html Review URL: http://codereview.chromium.org/6469023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74519 0039d316-1c4b-4281-b951-d872f2087c98
* Use a struct instead of a union for SandboxInterfaceInfocpu@chromium.org2011-02-101-6/+15
| | | | | | | | | | BUG=72496 TEST=see bug Review URL: http://codereview.chromium.org/6483006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74514 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74489 - [Sync] Add more conversions to Value for sync typesakalin@chromium.org2011-02-103-200/+48
| | | | | | | | | | | | | | | This is a prerequisite for exposing some functions to chrome://sync-internals. Cleaned up some test code also. BUG=69500 Review URL: http://codereview.chromium.org/6476016 TBR=akalin@chromium.org Review URL: http://codereview.chromium.org/6487014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74509 0039d316-1c4b-4281-b951-d872f2087c98
* Adding support for JavaScript internationalization API as V8 extension. See ↵cira@chromium.org2011-02-102-0/+4
| | | | | | | | | | | | | | | | | proposal at http://wiki.ecmascript.org/doku.php?id=strawman:i18n_api. V8 hosts the actual extension code under src/extensions/experimental/i18n-extension.{cc,h}. This CL passes command line switches to WebKit (disabled by default) and test shell (enabled by default), using WebRuntimeFeatures. It also sets some gyp variables to point to ICU source path, and defines a guard for a new feature. It should be submitted only after corresponding WebKit CL (https://bugs.webkit.org/show_bug.cgi?id=49414) lands. BUG=28604 TEST=LayoutTests/fast/js/i18n-bindings-locale.html Review URL: http://codereview.chromium.org/6366021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74491 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Add more conversions to Value for sync typesakalin@chromium.org2011-02-103-48/+200
| | | | | | | | | | | | This is a prerequisite for exposing some functions to chrome://sync-internals. Cleaned up some test code also. BUG=69500 Review URL: http://codereview.chromium.org/6476016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74489 0039d316-1c4b-4281-b951-d872f2087c98
* Stats tables are only used for debugging at this point, and when I turnmbelshe@chromium.org2011-02-101-1/+1
| | | | | | | | | | | | | | on full dom tracing, I need larger names and more of them. Increase the counter limit and the size per name. This only has effect when the user is using --enable-stats-table BUG=none TEST=none Review URL: http://codereview.chromium.org/6474008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74481 0039d316-1c4b-4281-b951-d872f2087c98
* Improve readability for events & methods nested into typescaseq@google.com2011-02-107-60/+30
| | | | | | | | | | | | | | - add name of parent type to headers of event and methods sections - increase bottom margins for top-level apiItem to 2em - set h3 font size for nested sections to 110% (same as parent, was 120%) - don't display parameters for methods with no parameters BUG=none TEST=none Review URL: http://codereview.chromium.org/6476032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74457 0039d316-1c4b-4281-b951-d872f2087c98
* Set the hardware keyboard layout based on startup_manifest.json.satorux@chromium.org2011-02-102-0/+5
| | | | | | | | | | | | | For instance, if initial_locale in startup_manifest.json is set to "fr", we'll set up the hardware keyboard to French, and use it in the OOBE screen. BUG=chromium-os:10964 TEST=manually on the netbook. Confirm that French keyboard layout is enabled by default by putting startup_manifest.json with initial_locale set to "fr". Review URL: http://codereview.chromium.org/6463018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74416 0039d316-1c4b-4281-b951-d872f2087c98
* Added an new argument to chrome.experimental.bookmarkManager.paste so that ↵mad@chromium.org2011-02-101-1/+9
| | | | | | | | | | we can insert the pasted bookmarks after the selection. BUG=49362 TEST=Make sure that pasting Bookmarks in the BookmarkManager view makes sense. Review URL: http://codereview.chromium.org/6460011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74383 0039d316-1c4b-4281-b951-d872f2087c98
* Really don't show the set Adobe Reader by default infobar. Also don't show ↵jam@chromium.org2011-02-092-0/+4
| | | | | | | | it again if the user clicks No. Review URL: http://codereview.chromium.org/6476001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74346 0039d316-1c4b-4281-b951-d872f2087c98
* chrome.management.launchApp() should choose the window type for the app ↵skerner@chromium.org2011-02-091-1/+5
| | | | | | | | | | | based on user prefs. BUG=70191 TEST=ExtensionManagementApiTest.Launch*App Review URL: http://codereview.chromium.org/6368139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74297 0039d316-1c4b-4281-b951-d872f2087c98
* Make proxy settings one atomic dictionary in the PrefStores such that ↵battre@chromium.org2011-02-094-22/+9
| | | | | | | | | | | modifications are atomic. BUG=67779,70904 TEST=none Review URL: http://codereview.chromium.org/6240013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74284 0039d316-1c4b-4281-b951-d872f2087c98
* Make "Learn More" link in the outdated plug-in infobar work.bauerb@chromium.org2011-02-092-4/+9
| | | | | | | | | BUG=54831 TEST=see description Review URL: http://codereview.chromium.org/6312184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74280 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Turn on tab overview mode by default.thakis@chromium.org2011-02-092-4/+0
| | | | | | | | | BUG=50307,72362 TEST=three-finger-swipe down and Window->Tab Overview both open tab overview mode Review URL: http://codereview.chromium.org/6459009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74236 0039d316-1c4b-4281-b951-d872f2087c98
* Misc. cleanup bits I missed in my last pass.pkasting@chromium.org2011-02-091-1/+1
| | | | | | | | | | I apparently forgot to convert an automation message declaration from int to size_t, not sure how everything compiled cleanly everywhere... BUG=none TEST=none Review URL: http://codereview.chromium.org/6465003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74217 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74118 - Remove wstring from RVH's run Javascript command.avi@chromium.org2011-02-081-8/+8
| | | | | | | | | | | | BUG=23581 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6312154 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/6459002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74158 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed the "My Bookmarks" sample extension.kurrik@chromium.org2011-02-083-3/+3
| | | | | | | | | | | | | | | | Stopped referencing a broken jqueryui URL for css and started using a resource hosted at ajax.googleapis.com. Also replaced some single quotes with double quotes. This was causing a parse error since the single quotes where inside another string delineated with single quotes. Patch from Sam McDonald <sam@sammcd.com> BUG=70072 TEST=Load bookmarks extension into a browser. Check that no errors appear in inspector. Click edit on a bookmark to makes sure UI css looks right. Review URL: http://codereview.chromium.org/6447010 Patch from Sam McDonald <sam@sammcd.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74137 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some ToWStringHack()s that are in Windows-only code.evan@chromium.org2011-02-081-11/+8
| | | | | | | | BUG=69467 Review URL: http://codereview.chromium.org/6286156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74122 0039d316-1c4b-4281-b951-d872f2087c98
* Remove wstring from RVH's run Javascript command.avi@chromium.org2011-02-081-8/+8
| | | | | | | | | BUG=23581 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6312154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74118 0039d316-1c4b-4281-b951-d872f2087c98
* Save web page doesn't remember preferred format.tfarina@chromium.org2011-02-082-0/+5
| | | | | | | | | BUG=67135 TEST=see bug Review URL: http://codereview.chromium.org/6410013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74111 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup:pkasting@chromium.org2011-02-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | * Change int to size_t in a few APIs. * Rename infobar_delegate_count() to infobar_count() in preparation for TabContents owning InfoBars rather than InfoBarDelegates. * Move some code from PluginInstallerInfoBarDelegate to PluginObserver since it's more related to who's instantiating the infobar(delegate)s. * Unify InfoBarDelegate behavior by making no delegates auto-add themselves to tabs (callers now all do this explicitly). * Eliminate unused member TabContentsSSLHelper::SSLAddCertData::handler_. * De-inline a couple classes. * Make more functions private. * Add some consts. * Change DCHECK() to DCHECK_EQ() where possible. * Rename the delegates in plugin_observer.cc to have "Delegate" in the names. * Remove unnecessary qualifiers. * Simplify. * Misc. style issues, naming issues, etc. BUG=none TEST=none Review URL: http://codereview.chromium.org/6250172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74086 0039d316-1c4b-4281-b951-d872f2087c98
* First crack at FileSystemURLRequestJob for handling filesystem: URLs.adamk@chromium.org2011-02-084-0/+6
| | | | | | | | Disabled behind a switch, "--enable-filesystem-url-scheme". Review URL: http://codereview.chromium.org/6262015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74082 0039d316-1c4b-4281-b951-d872f2087c98
* More out-of-lining of test code, along with a bunch of GMOCK objects.erg@google.com2011-02-082-2/+12
| | | | | | | | | | | Most notably, rename various mock_objects.h files in remoting/ because after deinlining, there were compile failures. This fixes Windows compiling because you can't have two implementation files with the same name in a project, even if they are in different directories. (The output from one compile will clobber the others!) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6250198 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74059 0039d316-1c4b-4281-b951-d872f2087c98
* Apply a sanity check on gfx::Size deserialization so we can be confident therecevans@chromium.org2011-02-071-0/+2
| | | | | | | | | | | | are no width * height * bpp problems. BUG=none TEST=none TBR=jschuh Review URL: http://codereview.chromium.org/6413013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73977 0039d316-1c4b-4281-b951-d872f2087c98
* Revert all the reverts and partial re-lands of r73427. Fix the startup perf ↵brettw@google.com2011-02-062-106/+92
| | | | | | | | regression from that patch by properly using the command line switch for enabling NaCl. Review URL: http://codereview.chromium.org/6334141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73957 0039d316-1c4b-4281-b951-d872f2087c98
* Fix regression caused by r73784, add regression test andaa@chromium.org2011-02-062-3/+8
| | | | | | | | | | | do some minor test organization. BUG=57263,71955 TEST=Install https://chrome.google.com/webstore/detail/odmpalfplhaahlgnkkonchfhpegdcgjm and a few apps from the web store. Open popup. Popup should contain icons for each app and should not crash. Review URL: http://codereview.chromium.org/6410088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73956 0039d316-1c4b-4281-b951-d872f2087c98
* Add check for NaCl being enabled which got lost in my refactoring of thebrettw@chromium.org2011-02-061-1/+2
| | | | | | | | PluginRegistry and is likely the cause of the startup regressions. Review URL: http://codereview.chromium.org/6413011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73944 0039d316-1c4b-4281-b951-d872f2087c98
* Part 3 of re-landing r73427. This moves the built-in plugin computation to a ↵brettw@google.com2011-02-062-96/+84
| | | | | | | | static funciton and combines the extra and internal plugins. Review URL: http://codereview.chromium.org/6334140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73943 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land more changes from r73427 where we set the name for each module in ↵brettw@google.com2011-02-052-29/+25
| | | | | | | | the constructor (checking for perf regressions). Review URL: http://codereview.chromium.org/6312177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73934 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the build, previous patch had a typo.brettw@chromium.org2011-02-051-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73933 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land part of r73427 where the plugin info and internal plugin info are ↵brettw@google.com2011-02-052-31/+20
| | | | | | | | unified (checking for perf regressions). Review URL: http://codereview.chromium.org/6413009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73932 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 73427 (set the name of the PPAPI plugin correcetly) and 73916 (minor ↵brettw@google.com2011-02-052-158/+199
| | | | | | | | | bugfix) to see if it is responsible for the startup performance regression. TEST=startup perf XP Review URL: http://codereview.chromium.org/6368120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73931 0039d316-1c4b-4281-b951-d872f2087c98
* Remove double-initialization for plugin modules.brettw@google.com2011-02-051-2/+0
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/6250179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73916 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Task Manager to correctly display network usage of plug-in processes.ajwong@chromium.org2011-02-054-9/+11
| | | | | | | | | | | | BUG=chromium-os:2954 TEST=Run Chrome and open Task Manager, then play a video in YouTube and check whether the Network usage is correctly reported against the plug-in. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=73884 Review URL: http://codereview.chromium.org/6328010 Patch from James Weatherall <wez@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73915 0039d316-1c4b-4281-b951-d872f2087c98
* Fix content settings exceptions page url creation.estade@chromium.org2011-02-052-0/+2
| | | | | | | | | BUG=none TEST=manual Review URL: http://codereview.chromium.org/6368117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73894 0039d316-1c4b-4281-b951-d872f2087c98
* Change includes of gfx/* to ui/gfx/*sail@chromium.org2011-02-0522-29/+29
| | | | | | | | | BUG=71063 TEST=compiled Review URL: http://codereview.chromium.org/6312156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73890 0039d316-1c4b-4281-b951-d872f2087c98