summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* Change the default number of proxy resolver threads used for evaluating PAC ↵eroman@chromium.org2010-07-102-0/+5
| | | | | | | | | | | scripts from 1 to 4. Also adds a command line flag to override the default: --num-pac-threads=X BUG=11079 Review URL: http://codereview.chromium.org/2893005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52046 0039d316-1c4b-4281-b951-d872f2087c98
* NetworkStateNotifier that sends notification when network stat has changed.oshima@chromium.org2010-07-101-0/+6
| | | | | | | | | | | This will be used to implement 3605. I created separate notification as we're planning to port to other platfrom. BUG=chromium-os:3605 TEST=added browser test Review URL: http://codereview.chromium.org/2913001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52028 0039d316-1c4b-4281-b951-d872f2087c98
* Removed some unused code. We were adding some data to std::set objects that ↵ziadh@chromium.org2010-07-101-7/+5
| | | | | | | | | | never get read from again. r=jar Review URL: http://codereview.chromium.org/2925006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52026 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a new param_trait type for gpu info in order to send it from the gpu ↵rlp@chromium.org2010-07-092-0/+67
| | | | | | | | | | | process to the browser process. BUG=38736 TEST=unittest added Review URL: http://codereview.chromium.org/2805029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52020 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid preconnect (and pre-resolution) when proxy MIGHT be presentjar@chromium.org2010-07-092-1/+6
| | | | | | | | | | | | | | | | | | | This change detects if there is a chance that a proxy MIGHT be used to perform a connection, and if so, it avoids doing any speculative preconnections, or speculative DNS pre-resolution. For testing purposes, a flag is provided to avoid this probe for proxy status. If you enable --preconnect-despite-proxy then preconnection will take place (as appropriate) even if there is a chance that a proxy might be used for connections to some hosts. BUG=47906 r=eroman Review URL: http://codereview.chromium.org/2871038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52016 0039d316-1c4b-4281-b951-d872f2087c98
* Made chrome: schema savable. Reenabled print context menu that was ↵zelidrag@chromium.org2010-07-092-0/+3
| | | | | | | | | | | previously disabled in ChromeOS. BUG=chrome-os:4073 TEST=open about:system, right mouse click and pick Save As menu item Review URL: http://codereview.chromium.org/2880009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51998 0039d316-1c4b-4281-b951-d872f2087c98
* Try to cut down Browser/TabContents header dependencies.erg@chromium.org2010-07-094-11/+17
| | | | | | | | | | | | | - Forward declare printing::PrintViewManager in TabContents - tab_contents.h shouldn't depend on autocomplete_edit.h - Pull logging out of Browser through PageTransitionTypes BUG=none TEST=none Review URL: http://codereview.chromium.org/2934004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51995 0039d316-1c4b-4281-b951-d872f2087c98
* Add --allow-scripting-gallery command line switch to allow extensionssdoyon@chromium.org2010-07-092-0/+6
| | | | | | | | | | | | | | | and scripts to run on the Chrome Extensions Gallery site. There are security concerns in enabling this and so it remains off by default, but this is needed for automation testing of the gallery. Cleanup: Have UserScriptSlave::InjectScripts() return void instead of a bogus bool. TEST=Visit http://chrome.google.com/extensions, check that content scripts work when the command-line switch is given, and are not injected when the switch is not given. BUG=none Review URL: http://codereview.chromium.org/2912002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51977 0039d316-1c4b-4281-b951-d872f2087c98
* Restore the bookmark manager favicon.tony@chromium.org2010-07-092-0/+7
| | | | | | | | | | | | | | The favicon used to be loaded from a png file in the resources directory. Since the file is gone, this no longer works. Instead, check for the bookmark manager extension earlier and load the image from the pak file. BUG=48218 Review URL: http://codereview.chromium.org/2960002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51975 0039d316-1c4b-4281-b951-d872f2087c98
* Some cleanup of the extensions context menu API. asargent@chromium.org2010-07-094-161/+20
| | | | | | | | | | | | | | | | | | This CL contains the following: -Use lower case names for enum values in the create/update properties (eg 'page' instead of 'PAGE') -Make the top-level API name plural (contextMenus instead of contextMenu) -Don't fire onclick handlers for a parent menu item when one of its children is clicked on. -Remove the enabledContexts property for now, to eventually be replaced with a way to programmatically enable/disable. There are a few more things in the bug that I'll be doing in subsequent CL's. BUG=48198 TEST=Extensions using the context menu API should work with the changes described above. Review URL: http://codereview.chromium.org/2887013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51970 0039d316-1c4b-4281-b951-d872f2087c98
* Moving gpu_info to common so that it can be used by param traits. Pulling ↵rlp@chromium.org2010-07-092-0/+90
| | | | | | | | | | | the collection out into a separate class. BUG=38736 TEST=existing unittests Review URL: http://codereview.chromium.org/2914001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51967 0039d316-1c4b-4281-b951-d872f2087c98
* Work around an grit ID collision by forcingtony@chromium.org2010-07-081-1/+1
| | | | | | | | | | common_resources.grd to start at ID 1000. TBR=pkasting Review URL: http://codereview.chromium.org/2895005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51913 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up .grds, step 1: Alphabetize.pkasting@chromium.org2010-07-081-3/+3
| | | | | | | BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51906 0039d316-1c4b-4281-b951-d872f2087c98
* Add boilerplate text pointing to the experimental API instructions.kathyw@chromium.org2010-07-082-1/+15
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2947001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51904 0039d316-1c4b-4281-b951-d872f2087c98
* Add a note that the code sample is broken until the bug is fixed.kathyw@chromium.org2010-07-082-0/+12
| | | | | | | | | BUG=41024 TEST=none Review URL: http://codereview.chromium.org/2880021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51854 0039d316-1c4b-4281-b951-d872f2087c98
* base: Add SetEnv() to EnvVarGetter class and get rid of the some ifdefs.tfarina@chromium.org2010-07-081-13/+3
| | | | | | | | | | | (Note: This was a TODO) BUG=None TEST=included Review URL: http://codereview.chromium.org/2843048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51840 0039d316-1c4b-4281-b951-d872f2087c98
* Implement new Chromium IPCs for copying/dragging.dcheng@chromium.org2010-07-072-0/+19
| | | | | | | | | | | A new ClipboardDispatcher interface has been added to handle the IPC calls. The new methods don't really belong on the existing Clipboard class, since that class deals with only copy and paste. On Windows and Mac, ClipboardDispatcher will share logic for copy/paste and drag/drop. GTK will have to use two separate code paths. BUG=31037 TEST=none Review URL: http://codereview.chromium.org/2842016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51790 0039d316-1c4b-4281-b951-d872f2087c98
* Arne's patch to make the extension OAuth library work in M5 (which allowskurrik@chromium.org2010-07-072-23/+67
| | | | | | | | | | | | redirects to "chrome-extension://" pages) and mine to make it work in M6 (which fires an update event when "chrome.tabs.create" is called). BUG=none TEST=none Review URL: http://codereview.chromium.org/2800034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51754 0039d316-1c4b-4281-b951-d872f2087c98
* Put Chromoting plugin behind a flag.ajwong@chromium.org2010-07-071-10/+13
| | | | | | | | | BUG=48093 TEST=tested that plugin doesn't load w/o --enable-chromoting. Review URL: http://codereview.chromium.org/2818043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51738 0039d316-1c4b-4281-b951-d872f2087c98
* Autocomplete and AutoFill entries are shown combined in the suggestions popup.dhollowa@chromium.org2010-07-071-7/+0
| | | | | | | | | | | These changes merge popup menu suggestions for Autocomplete and AutoFill. Suggestions are collected from both sources and returned to the renderer as a single list. This combined list is given to WebKit to display in the suggestions popup. When the user selects an item in the popup the appropriate result gets filled in the fields. BUG=41328 TEST=AutoFillManagerTest.* Review URL: http://codereview.chromium.org/2878020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51736 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ThumbnailStore - replaced by TopSites.nshkrob@chromium.org2010-07-071-4/+0
| | | | | | | | | BUG=none TEST=open New Tab page, see thumbnails. Same with chrome --top-sites. Review URL: http://codereview.chromium.org/2815045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51728 0039d316-1c4b-4281-b951-d872f2087c98
* chrome://favicon -> chrome://favicon/kathyw@chromium.org2010-07-072-4/+4
| | | | | | | | | BUG=48227 TEST=none Review URL: http://codereview.chromium.org/2888005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51725 0039d316-1c4b-4281-b951-d872f2087c98
* Move default_plugin from webkit/ to chrome/thakis@chromium.org2010-07-072-2/+2
| | | | | | | | | | | Second try, first try at http://codereview.chromium.org/2803035 . Also contains http://codereview.chromium.org/2838044 , changes to DEPS files (mostly cleanups), and a change to webkit/glue/plugins/webplugin_delegate_impl_win.cc . BUG= 48419 TEST=everything still builds Review URL: http://codereview.chromium.org/2813047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51692 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 51681 - Move default_plugin out of webkit.thakis@chromium.org2010-07-072-2/+2
| | | | | | | | | | | BUG=48419 Review URL: http://codereview.chromium.org/2803035 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/2819043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51684 0039d316-1c4b-4281-b951-d872f2087c98
* Move default_plugin out of webkit.thakis@chromium.org2010-07-072-2/+2
| | | | | | | | BUG=48419 Review URL: http://codereview.chromium.org/2803035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51681 0039d316-1c4b-4281-b951-d872f2087c98
* Add IssueAuthToken and unit tests to GaiaAuthenticator2.chron@chromium.org2010-07-065-81/+276
| | | | | | | | | | | GaiaAuthConsumer pure virtuals now optional since you can choose to not listen to ClientLogin subscriptions. Renamed ClientLoginError to a general GaiaAuthError. BUG=47093 TEST=Unit tests included Review URL: http://codereview.chromium.org/2834042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51678 0039d316-1c4b-4281-b951-d872f2087c98
* Spelling correction: s/nonexistant/nonexistent. And trigger buildbots.viettrungluu@chromium.org2010-07-062-8/+8
| | | | | | | | TBR=viettrungluu@chromium.org Review URL: http://codereview.chromium.org/2630003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51668 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: add stub for HTTP-based remote debugger interface.pfeldman@chromium.org2010-07-062-0/+4
| | | | | | Review URL: http://codereview.chromium.org/2802032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51661 0039d316-1c4b-4281-b951-d872f2087c98
* ibus-hangul: Use Ctrl+Alt+F9 as a Hanja hot-key instead of F9.yusukes@google.com2010-07-062-0/+3
| | | | | | | | | | | Since F9 is reserved by the window manager on Chrome OS. BUG=chromium-os:4319 TEST=manually Review URL: http://codereview.chromium.org/2800039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51654 0039d316-1c4b-4281-b951-d872f2087c98
* Moved common parts of ChildProcessHost into chrome/common and created a ↵sanjeevr@chromium.org2010-07-032-0/+254
| | | | | | | | | | | BrowserChildProcessHost with browser-specific implementation. This is in preparation of creating a ServiceChildProcessHost. BUG=None TEST=Test for regressions . Review URL: http://codereview.chromium.org/2885017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51593 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove about:network.eroman@chromium.org2010-07-032-2/+0
| | | | | | | | | | | | | This about page was only being enabled for non-official windows builds as its UI wasn't cross platform. Its functionality is now superceded by about:net-internals (which works cross platform and is enabled for all builds). In fact at some point we might consider renaming about:net-internals to about:network. BUG=25557 Review URL: http://codereview.chromium.org/2814047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51583 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 51572 - Clean up .grds, step 1: Alphabetize.pkasting@chromium.org2010-07-021-3/+3
| | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2838041 TBR=pkasting@chromium.org Review URL: http://codereview.chromium.org/2864039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51575 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up .grds, step 1: Alphabetize.pkasting@chromium.org2010-07-021-3/+3
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2838041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51572 0039d316-1c4b-4281-b951-d872f2087c98
* Moving mediaplayer and filebrowser behind a preference. This just adds the ↵dhg@chromium.org2010-07-022-1/+12
| | | | | | | | | | | preference and sets its default value to false. After this we'll have to add the UI to set it. BUG=4362 TEST=none Review URL: http://codereview.chromium.org/2873032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51563 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the --enable-in-memory-url-index switch to gate creation and use of the ↵rohitrao@chromium.org2010-07-022-0/+5
| | | | | | | | | | InMemoryURLIndex. BUG=19736 TEST=No change in behavior when flag is not used. Should not crash when flag is used. Review URL: http://codereview.chromium.org/2861041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51555 0039d316-1c4b-4281-b951-d872f2087c98
* Store blocked and accessed cookies in the tab contents.jochen@chromium.org2010-07-021-0/+9
| | | | | | | | | | | This will enable chrome to display all cookies used/blocked on the current site to the user instead of just the information that something was blocked. The cookies are collected in data structures suitable for displaying them using the cookies tree model. BUG=45230 TEST=none Review URL: http://codereview.chromium.org/2370001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51545 0039d316-1c4b-4281-b951-d872f2087c98
* Allow Pepper plugins to make requests with relative urls. Also allow ↵jam@chromium.org2010-07-022-0/+4
| | | | | | | | | bundled Pepper plugins to specify file extensions. BUG=48140 Review URL: http://codereview.chromium.org/2806049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51542 0039d316-1c4b-4281-b951-d872f2087c98
* Show a warning message if the cache might not be cleared between runs.mlloyd@chromium.org2010-07-021-0/+14
| | | | | | | | | BUG=None. TEST=Unit tests pass. Review URL: http://codereview.chromium.org/2819037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51541 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for omnibox.onInputStarted and onInputCancelled.mpcomplete@chromium.org2010-07-023-2/+76
| | | | | | | | | | | | Also fix a bug where we'd keep an extension's old keyword even if it changed on upgrade/reload. BUG=46475 BUG=48091 Review URL: http://codereview.chromium.org/2807033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51540 0039d316-1c4b-4281-b951-d872f2087c98
* Remove abonded privacy blacklist implementation.jochen@chromium.org2010-07-027-17/+0
| | | | | | | | | BUG=16932 TEST=compiles Review URL: http://codereview.chromium.org/2862041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51525 0039d316-1c4b-4281-b951-d872f2087c98
* Add a "session only" policy to the content settings.jochen@chromium.org2010-07-021-0/+1
| | | | | | | | | | | session only is treated as allow, but the cookies will expire after this session (the actual code to expire non-html cookies will follow). BUG=47049 TEST=none Review URL: http://codereview.chromium.org/2858018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51522 0039d316-1c4b-4281-b951-d872f2087c98
* Implement limited paged media support for win.hamaji@chromium.org2010-07-021-1/+6
| | | | | | | | | BUG=47277 TEST=none Review URL: http://codereview.chromium.org/2859040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51501 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up extension docs to include latest changes to how file URLs work withmpcomplete@chromium.org2010-07-022-8/+95
| | | | | | | | content scripts. Review URL: http://codereview.chromium.org/2864035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51467 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a temporary switch --enable-glsl-translator which gman@chromium.org2010-07-022-0/+4
| | | | | | | | | | | | | | | turns on the OpenGL ES GLSL -> OpenGL GLSL translator in WebGL. This will be removed in a few weeks it becomes the default but we need it now for testing. TEST=hand tested BUG=none Review URL: http://codereview.chromium.org/2815008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51466 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the old 'customize sync' panel from win/mac/linux. And a little bit ↵dantasse@chromium.org2010-07-011-1/+0
| | | | | | | | | | | of leftover references to "merge and sync." BUG=48125 TEST=Start up sync, change data types, stop sync, etc, nothing should break. Review URL: http://codereview.chromium.org/2843019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51462 0039d316-1c4b-4281-b951-d872f2087c98
* Add pref name for default notification content setting.thakis@chromium.org2010-07-012-0/+3
| | | | | | | | | | | Not used yet. BUG=45547 TEST=none Review URL: http://codereview.chromium.org/2806048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51454 0039d316-1c4b-4281-b951-d872f2087c98
* Split Gaia auth out into common/net. This is in preparation for creating a ↵chron@chromium.org2010-07-015-0/+757
| | | | | | | | | | | | | | | | | new Auth service which will issue auth tokens. I'd like to get it in and continue hacking on it so I can stop colliding so badly with merges. I've ported over the existing unit tests. Eventually gaia_authenticator.cc is going away. For the time being, i'll be number two. This is now done, with a pile of unit tests. I am trying to run the interactive tests but I was getting numerous unrelated failures and need to resync ChromiumOS to a working build. TEST=unit tests, manually log in, out, enter wrong password. BUG=47091 Review URL: http://codereview.chromium.org/2801015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51437 0039d316-1c4b-4281-b951-d872f2087c98
* Add notifications content settings type.thakis@chromium.org2010-07-011-0/+1
| | | | | | | | | | | Not used anywhere yet, no functionality change. BUG=45547 TEST=none Review URL: http://codereview.chromium.org/2815042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51432 0039d316-1c4b-4281-b951-d872f2087c98
* Bring in latest PPAPI headers and implement IsFullFrame.jam@chromium.org2010-07-012-1/+22
| | | | | | Review URL: http://codereview.chromium.org/2866039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51429 0039d316-1c4b-4281-b951-d872f2087c98
* Loosen permission on extension temp dir when a flag is used.skerner@chromium.org2010-07-013-2/+25
| | | | | | | | | | | | | | | | | | | Issue 35198 can not be reproduced locally. To enable users to do experiments, three command line flags are added to chrome: --issue35198-crxdir-browser: Have the browser process create the directory in which the extension will be unzipped. --issue35198-logging: Enable log messages from directory creation in the utility process to be moved to the browser process. --issue35198-permission: Use the most permissive file permissions possible on the extension unpack directory. BUG=35198 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51231 Review URL: http://codereview.chromium.org/2802018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51416 0039d316-1c4b-4281-b951-d872f2087c98