summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* GTTF: Use FRIEND_TEST_ALL_PREFIXES some more.phajdan.jr@chromium.org2010-07-262-5/+6
| | | | | | | | | TEST=compile BUG=44549 Review URL: http://codereview.chromium.org/3032025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53706 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 53641 - Landing OEM customization CL for Denisasargent@chromium.org2010-07-262-0/+12
| | | | | | | | | | | | | | | | | | | | | Original CL http://codereview.chromium.org/3026006 Fixed problems with initial locale change freezing Chrome OS on the device. Added creation of /home/chronos/.oobe_completed flag file. Removed command line switches for testing customization manifests. Added StringFetcher class implementation - URL fetcher that downloads content into std::string. Refactored services customization integration. Removed sample manifests from Chrome repository. They are submitted into Chromium OS repository at chromeos/src/platform/assets/oem_customization. BUG=http://crosbug.com/1888 TEST=Manual. Changes to OEM customization manifests on partner partition, namely the initial locale, time zone, and startup page attributes should change OOBE UX accordingly. Review URL: http://codereview.chromium.org/3064002 TBR=dpolukhin@chromium.org Review URL: http://codereview.chromium.org/3030020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53662 0039d316-1c4b-4281-b951-d872f2087c98
* Landing OEM customization CL for Denisdpolukhin@chromium.org2010-07-262-12/+0
| | | | | | | | | | | | | | | | | | Original CL http://codereview.chromium.org/3026006 Fixed problems with initial locale change freezing Chrome OS on the device. Added creation of /home/chronos/.oobe_completed flag file. Removed command line switches for testing customization manifests. Added StringFetcher class implementation - URL fetcher that downloads content into std::string. Refactored services customization integration. Removed sample manifests from Chrome repository. They are submitted into Chromium OS repository at chromeos/src/platform/assets/oem_customization. BUG=http://crosbug.com/1888 TEST=Manual. Changes to OEM customization manifests on partner partition, namely the initial locale, time zone, and startup page attributes should change OOBE UX accordingly. Review URL: http://codereview.chromium.org/3064002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53641 0039d316-1c4b-4281-b951-d872f2087c98
* Added --bwsi flag and handling of --login-user=incognito to support BWSI ↵avayvod@chromium.org2010-07-262-0/+5
| | | | | | | | | | | | mode with sync and extensions disabled. BUG=http://crosbug.com/4420 TEST=With latest session manager click on BWSI mode or just run Chrome with --login-user=incognito and --bwsi. Sync and extensions should be disabled. Review URL: http://codereview.chromium.org/2873047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53617 0039d316-1c4b-4281-b951-d872f2087c98
* Surface the "Set up sync" button on ChromiumOS when sync is stopped permanently.skrul@chromium.org2010-07-232-0/+5
| | | | | | | | | | I need this to be LGTMed again since the last time I tried to commit this it caused a gitsplosion. BUG=49402 Review URL: http://codereview.chromium.org/3033025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53552 0039d316-1c4b-4281-b951-d872f2087c98
* Windows: Add --organic flag to simulate an organic install for testing purposes.estade@chromium.org2010-07-232-0/+4
| | | | | | | | | BUG=none TEST=run with --organic --first-run Review URL: http://codereview.chromium.org/3047011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53546 0039d316-1c4b-4281-b951-d872f2087c98
* TBR: revert r53542. It was committed with the wrong commit message.estade@chromium.org2010-07-232-4/+0
| | | | | | TBR=asargent git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53544 0039d316-1c4b-4281-b951-d872f2087c98
* First cut at content settings exceptions lists.estade@chromium.org2010-07-232-0/+4
| | | | | | | | | | | This only shows the existing exceptions (doesn't allow you to add or remove them). It also only works for image exceptions. It always shows the exceptions, instead of hiding/showing them when you press the exceptions button. BUG=48862 TEST=manual Review URL: http://codereview.chromium.org/2856058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53542 0039d316-1c4b-4281-b951-d872f2087c98
* Green Tree Tactical Force: Revert skrul's bad commits (probably a git-cl bug).phajdan.jr@chromium.org2010-07-234-10/+0
| | | | | | | | TBR=skrul Review URL: http://codereview.chromium.org/2847072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53529 0039d316-1c4b-4281-b951-d872f2087c98
* Surface the "Set up sync" button on ChromiumOS when sync is stopped permanently.skrul@chromium.org2010-07-232-0/+5
| | | | | | | | BUG=49402 Review URL: http://codereview.chromium.org/3041016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53527 0039d316-1c4b-4281-b951-d872f2087c98
* fake libcrosskrul@chromium.org2010-07-232-0/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53516 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: test server cleanup:phajdan.jr@chromium.org2010-07-231-19/+12
| | | | | | | | | | | | | - simplify the public interface - remove unneeded methods - make it easier to understand TEST=none BUG=49680 Review URL: http://codereview.chromium.org/2881028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53509 0039d316-1c4b-4281-b951-d872f2087c98
* Update chrome/common/DEPS now that we broke the dependency on chrome/app.thestig@chromium.org2010-07-231-1/+0
| | | | | | | | | BUG=46666 TEST=none TBR=maruel Review URL: http://codereview.chromium.org/3044016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53439 0039d316-1c4b-4281-b951-d872f2087c98
* Random bits of header and whitespace cleanup.thestig@chromium.org2010-07-231-3/+6
| | | | | | | | BUG=none TEST=noe Review URL: http://codereview.chromium.org/3062003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53437 0039d316-1c4b-4281-b951-d872f2087c98
* Continual header pruningerg@google.com2010-07-222-6/+8
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3029019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53391 0039d316-1c4b-4281-b951-d872f2087c98
* Few TranslateManager changes:jcivelli@chromium.org2010-07-222-0/+6
| | | | | | | | | | | | | - Always show a "translating..." infobar when initiating a translation from the context menu, or when the translation is automatic (always translate option). It does not make sense not to show one, as translation may take several seconds and no having any feedback during that time is confusing (also this is what translate in toolbar does). - Don't enable the translate context menu until we get the page language. This is an effort to ensure the translate infobar delegate always get an original language. - Makes the translate manager deals correctly with unknown languages to avoid a crasher (bug 49018) BUG=49018 TEST=See bug. And also, start a translation from the context menu, while the page is being translated a "translating..." infobar should be shown. Also, tests that when a language was selected for "always translate", navigating to a page in that language triggers a "translating..." infobar. Review URL: http://codereview.chromium.org/3026002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53384 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper stream-to-file plumbing.darin@chromium.org2010-07-226-11/+31
| | | | | | | | | | | | This just hooks up the renderer side of the IPC. R=brettw BUG=49789 TEST=none Review URL: http://codereview.chromium.org/3053009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53378 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 53342 - Switch back to disabling Core Animation for Flash (for branch ↵stuartmorgan@chromium.org2010-07-222-4/+4
| | | | | | | | | | | | | | | | merge). This goes back to the M5 logic for managing Flash model negotiation on the Mac. BUG=49169 TEST=Flash should not negotation Core Animation mode unless --enable-flash-core-animation is passed. White flickering shouldn't happen, find bar and full screen UI should show. Review URL: http://codereview.chromium.org/3044015 TBR=viettrungluu@chromium.org Review URL: http://codereview.chromium.org/2832074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53351 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Record whether the user initiated the form submission and don't ↵jhawkins@chromium.org2010-07-221-0/+2
| | | | | | | | | | | save form data if the form was not user-submitted. BUG=48225 TEST=none Review URL: http://codereview.chromium.org/2842062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53350 0039d316-1c4b-4281-b951-d872f2087c98
* Switch back to disabling Core Animation for Flash (for branch merge).stuartmorgan@chromium.org2010-07-222-4/+4
| | | | | | | | | | | This goes back to the M5 logic for managing Flash model negotiation on the Mac. BUG=49169 TEST=Flash should not negotation Core Animation mode unless --enable-flash-core-animation is passed. White flickering shouldn't happen, find bar and full screen UI should show. Review URL: http://codereview.chromium.org/3044015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53342 0039d316-1c4b-4281-b951-d872f2087c98
* Add --enable-device-orientation switch and set ENABLE_DEVICE_ORIENTATION=1hans@chromium.org2010-07-222-0/+4
| | | | | | | | | | | | | | | Flip the compile-time enable switch for device orientation to on, and add a command-line switch to put the functionality behind. The command-line flag will be used both on the Chromium side, and in WebKit via WebRuntimeFeatures. BUG=44654 TEST=browser_tests --gtest_filter=DeviceOrientationEnableSwitchTest.* Review URL: http://codereview.chromium.org/3042009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53317 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled zoom controls in the browser when displaying PDF using the internal ↵sanjeevr@chromium.org2010-07-221-0/+4
| | | | | | | | | | | | PDF plugin. We want to persist zoom state for PDF separately from the zoom state for other content. As a stopgap measure, disabled all browser zoom controls in that scenario. BUG=None TEST=Test zooming when displaying a PDF using the Chrome PDF plugin. Then load or switch to another page (non-PDF) and check that zoom works. Review URL: http://codereview.chromium.org/3007009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53294 0039d316-1c4b-4281-b951-d872f2087c98
* Adding some sample code showing usage of contextMenu API.asargent@chromium.org2010-07-213-0/+77
| | | | | | | | | | BUG=49687 TEST=none TBR=rafaelw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53258 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Mark CheckFalseTest.CheckFails as FAILS.thestig@chromium.org2010-07-211-0/+3
| | | | | | | | BUG=49838 TEST=none Review URL: http://codereview.chromium.org/2870063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53257 0039d316-1c4b-4281-b951-d872f2087c98
* Start trimming headers included in the slowest to compile files.erg@google.com2010-07-211-1/+0
| | | | | | | | | | | Big chunk in the automation code. BUG=none TEST=none Review URL: http://codereview.chromium.org/3056007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53246 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for: State in small letters should be auto-filled from the profile.jhawkins@chromium.org2010-07-211-0/+4
| | | | | | | | | | | BUG=38222 TEST=in the bug Patch by George Yakovleg <georgey@chromium.org> Review URL: http://codereview.chromium.org/2832064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53234 0039d316-1c4b-4281-b951-d872f2087c98
* Attemp 2 at:sky@chromium.org2010-07-212-5/+0
| | | | | | | | | | | | | | | | Makes the toolbar visible for apps again. Here's the set of patches I reverted: 49016, 47119, 47177, 46930, 46775, and the UI changes for 45566) If you see anything missing, please let me know. Also, there are some grd strings no longer necessary. I'll nuke those separately. BUG=49013 TEST=none TBR=finnur Review URL: http://codereview.chromium.org/3056003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53204 0039d316-1c4b-4281-b951-d872f2087c98
* LoadTimingObserver: only send timing struct over IPC if necessary. + Added ↵pfeldman@chromium.org2010-07-211-16/+25
| | | | | | | | unit tests. Review URL: http://codereview.chromium.org/3057001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53176 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Move net/socket/ssl_test_util to net/test/test_serverphajdan.jr@chromium.org2010-07-211-1/+1
| | | | | | | | | | | This is a first step to make test server easier to use and more reliable. TEST=none BUG=49680 Review URL: http://codereview.chromium.org/3040011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53137 0039d316-1c4b-4281-b951-d872f2087c98
* Forward declare more param traits in common_param_traits.erg@google.com2010-07-203-88/+115
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2805088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53115 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Break another common->app dependency.thestig@chromium.org2010-07-204-2/+98
| | | | | | | | BUG=46666 TEST=none Review URL: http://codereview.chromium.org/3007008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53113 0039d316-1c4b-4281-b951-d872f2087c98
* Disallow syncing of extensions with third-party update URLs or plugins.akalin@chromium.org2010-07-202-3/+6
| | | | | | | | | BUG=49346,46516 TEST=new unit tests, manual Review URL: http://codereview.chromium.org/2884025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53102 0039d316-1c4b-4281-b951-d872f2087c98
* Moved code that generates APP_TERMINATING notification into BrowserList so ↵atwilson@chromium.org2010-07-203-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | it can be used on all platforms. Updated observers (ExtensionProcessManager, BackgroundContents) to listen for APP_TERMINATING instead of listening for BROWSER_CLOSED on some platforms. APP_TERMINATING is now sent just before the main message loop exits rather than just after, but no code depends on this timing. Updated Mac code to always call BrowserList::CloseAllBrowsers() even if there are no open browsers, to ensure that APP_TERMINATING is always fired. Changed BackgroundContentsService to keep the browser process alive when there are BackgroundContents running and updated the unit tests. Renamed BrowserList::IsInPersistentMode() => WillShutdownWhenLastBrowserCloses() and AllBrowsersClosed() => AllBrowsersClosedAndAppExiting() to more precisely indicate their true functions. Exposed BrowserProcess::ModuleRefCount() so BrowserList can determine when the application is going to exit so the right notifications/callbacks can be generated. Updated background-auto-update-restart code to use new BrowserList APIs to determine whether the application is running "in the background". Added code to cancel shutdown on all plaforms if the user selects cancel in an onbeforeunload dialog. BUG=45275 TEST=RunInBackgroundTest (ui_test) Review URL: http://codereview.chromium.org/2866034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53092 0039d316-1c4b-4281-b951-d872f2087c98
* Remove <iostream> where possible.erg@google.com2010-07-201-1/+0
| | | | | | | | | | | | | <iostream> creates a static initializer. Most people don't need <iostream> anyway--they really need <ostream> for operator<< overloads. <iostream> should *never* be included in a header file; <iosfwd> exists for that purpose. BUG=none TEST=none Review URL: http://codereview.chromium.org/3014015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53083 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 53062 - Makes the toolbar visible for apps again. Here's the set of ↵pinkerton@chromium.org2010-07-202-0/+5
| | | | | | | | | | | | | | | | | | patches I reverted: 49016, 47119, 47177, 46930, 46775, and the UI changes for 45566. If you see anything missing, please let me know. Also, there are some grd strings no longer necessary. I'll nuke those separately. BUG=49013 TEST=none Review URL: http://codereview.chromium.org/2888020 TBR=sky@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53073 0039d316-1c4b-4281-b951-d872f2087c98
* Makes the toolbar visible for apps again. Here's the set of patches Isky@chromium.org2010-07-202-5/+0
| | | | | | | | | | | | | | reverted: 49016, 47119, 47177, 46930, 46775, and the UI changes for 45566. If you see anything missing, please let me know. Also, there are some grd strings no longer necessary. I'll nuke those separately. BUG=49013 TEST=none Review URL: http://codereview.chromium.org/2888020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53062 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent NotificationRegistrar from pulling in platform threading stuff.erg@chromium.org2010-07-202-14/+14
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3013018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53055 0039d316-1c4b-4281-b951-d872f2087c98
* Add "settings.language.preferred_languages" for Chromium OS's Languages and ↵satorux@chromium.org2010-07-202-1/+7
| | | | | | | | | | | | | | | Input dialog. Before this change, we used to get the list of preferred languages based on the active input methods. This is tricky. Having a preference for the value is simpler, and makes it easier for us to implement the DOM UI version. BUG=none TEST=manually Review URL: http://codereview.chromium.org/3012012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53035 0039d316-1c4b-4281-b951-d872f2087c98
* NTP: Use the store as the last thumbnail in case we have no apps installed.arv@chromium.org2010-07-202-4/+0
| | | | | | | | | | | | | 1. If no apps are installed we add an item for the store to the most visited section. 2. No longer hide the most visited by default. 3. This removes the default apps on non ChromeOS BUG=46028, 47700 TEST=With a clean profile without any apps installed you should see the store thumbnail unless you blacklist it or pin 8 ohter pages. Review URL: http://codereview.chromium.org/3001003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52998 0039d316-1c4b-4281-b951-d872f2087c98
* Add bookmark promo to NTP on first run.mirandac@google.com2010-07-202-0/+6
| | | | | | | | | BUG=49328 TEST=First tip seen on import to empty profile is import bookmarks promo. This promo appears on the first 5 browser restarts, unless bookmarks are imported. Review URL: http://codereview.chromium.org/2805089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52993 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the page and app menus.pkasting@chromium.org2010-07-202-4/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3033007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52985 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Fix for a bug where extensions were not being notified when no window ↵andybons@chromium.org2010-07-201-0/+5
| | | | | | | | | | was in focus on the mac. BUG=32932 TEST=check bug. Review URL: http://codereview.chromium.org/2847062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52981 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some issues with extensions:mpcomplete@chromium.org2010-07-206-41/+62
| | | | | | | | | | | | | | | - Default to Allow file permissions for unpacked extensions. - Fix incognito warning display when extensions are reshuffled. - Remove SCHEMES_ALL BUG=48124 BUG=48526 BUG=49243 TEST=no Review URL: http://codereview.chromium.org/3039005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52974 0039d316-1c4b-4281-b951-d872f2087c98
* Created a host for running the utility process as a child of the service ↵sanjeevr@chromium.org2010-07-204-0/+175
| | | | | | | | | | | process. This is used for rendering PDFs to a metafile in a sandbox for the Cloud Print proxy on Windows. BUG=None TEST=Test Windows Cloud Print proxy Review URL: http://codereview.chromium.org/2917013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52970 0039d316-1c4b-4281-b951-d872f2087c98
* Let PaintAtAck send an int tag instead of the TransportDIB handle.thakis@chromium.org2010-07-191-3/+7
| | | | | | | | | | | TransportDIB handles are file descriptors on mac, which are duped when sent over IPC. Hence, they change their value, and the handle that comes back over IPC is not the same that was originally sent -- so they can't be used as map keys. BUG=none TEST=none Review URL: http://codereview.chromium.org/3037006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52925 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce "--enable-memory-info" command-line flag to enable reportingmnaganov@chromium.org2010-07-193-1/+7
| | | | | | | | | | | | of JS heap size via "console.memory" (for now) and "webkitPerformance.memory" (having Web Timing enabled). BUG=43281 TEST=none Review URL: http://codereview.chromium.org/3017007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52886 0039d316-1c4b-4281-b951-d872f2087c98
* Compress and checksum pending logs that are going to be persisted. Persisted ↵ziadh@chromium.org2010-07-192-11/+10
| | | | | | | | | | | | | | | | logs now have the following format: [list_size, log1, log2, ..., log_n, checksum]. where each log is bzipped before being written. Upon reading the logs from disk, we verify the data and register whether we faced corruptions or not. r=jar Review URL: http://codereview.chromium.org/2936005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52885 0039d316-1c4b-4281-b951-d872f2087c98
* Adding gpu_info to the breakpad info collection before sending off a crash.rlp@chromium.org2010-07-194-0/+70
| | | | | | | | | BUG=38737 TEST=none Review URL: http://codereview.chromium.org/3034004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52884 0039d316-1c4b-4281-b951-d872f2087c98
* Remove incorrect usages of USE_SYSTEM_SQLITE.tfarina@chromium.org2010-07-194-33/+4
| | | | | | | | | | | | | Currently we don't provide any support to the system sqlite. BUG=None TEST=trybots Signed-off-by: Thiago Farina <tfarina@chromium.org> Review URL: http://codereview.chromium.org/3049001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52879 0039d316-1c4b-4281-b951-d872f2087c98
* When Chrome translates a page, the translate server might detect that the ↵jcivelli@chromium.org2010-07-191-0/+2
| | | | | | | | | | | | | | page is in a different language than the one Chrome detected. If that language is not in the list of languages that Chrome supports for translation, then we do not know what to show and we were crashing. This CL makes it so that we show an error infobar instead. Note that in the future we should improve the "after translate" infobar to support showing the original language as unknown. (http://crbug.com/9390) BUG=48918 TEST=Not sure how to test without changing the code. Review URL: http://codereview.chromium.org/3011008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52876 0039d316-1c4b-4281-b951-d872f2087c98