summaryrefslogtreecommitdiffstats
path: root/chrome/browser
Commit message (Collapse)AuthorAgeFilesLines
* Enable the new layer animation framework.vollick@chromium.org2011-10-286-579/+2
| | | | | | | | | | | Depends on http://codereview.chromium.org/8247009/ BUG=None TEST=None Review URL: http://codereview.chromium.org/8362006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107715 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] Make login screen take whole screen in case of Aura.nkostylev@chromium.org2011-10-281-1/+1
| | | | | | | | | BUG=100874 TEST=Manual. Launched login screen on Aura. Review URL: http://codereview.chromium.org/8402026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107710 0039d316-1c4b-4281-b951-d872f2087c98
* Exempt component and policy-installed extensions from policy blacklist check.mnissler@chromium.org2011-10-285-10/+110
| | | | | | | | | | | | Component extensions and policy-installed extensions shouldn't be affected by the policy blacklist: The former are considered internal UI that happens to be part of an extension, and they should have first-class policy knobs if we want to disable them. For the latter, the admin specifying them is enough indication that they should be installed, and requiring them to explicitly white-listed in some cases is redundant. BUG=chromium-os:16702, chromium-os:21281 TEST=On ChromeOS, configure ExtensionInstallBlacklist = * and load chrome://bookmarks Review URL: http://codereview.chromium.org/8380006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107707 0039d316-1c4b-4281-b951-d872f2087c98
* Use system_request_context in TranslateManager instead of ↵joaodasilva@chromium.org2011-10-281-2/+2
| | | | | | | | | | | | Profile::GetDefaultRequestContext. BUG=89396 TEST=The translate features work as usual Review URL: http://codereview.chromium.org/8365033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107706 0039d316-1c4b-4281-b951-d872f2087c98
* Adding CookieSettings for storing cookie content settings.marja@chromium.org2011-10-2834-574/+839
| | | | | | | | | | | | | | | | Moving cookie-spesific logic from HostContentSettingsMap to CookieSettings. Making it explicit that the "is cookie session only" decision only depends on the primary url. Also removes the migration code for the obsolete kCookieBehavior preference. BUG=93335 TEST=CookieSettings.* Review URL: http://codereview.chromium.org/8383004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107705 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 107689 - Speak a message when accessibility is on and the network ↵zork@chromium.org2011-10-283-49/+0
| | | | | | | | | | | | | | | | state changes R=dmazzoni@chromium.org BUG=chromium-os:21760 TEST=Change the network state with a11y turned on Review URL: http://codereview.chromium.org/8402023 TBR=zork@chromium.org Review URL: http://codereview.chromium.org/8400057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107702 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor the "spell-checker options" submenu.hbono@chromium.org2011-10-286-101/+288
| | | | | | | | | | | This change adds a SpellCheckSubMenuObserver class and move code of the "spell-checker options" submenu there. BUG=93746 TEST=none Review URL: http://codereview.chromium.org/8363042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107698 0039d316-1c4b-4281-b951-d872f2087c98
* Add a couple of notifications related settings to app/extensions sync:munjal@chromium.org2011-10-2810-28/+243
| | | | | | | | - Whether notifications setup is done once already. - Whether the user has disabled notifications. Review URL: http://codereview.chromium.org/8399022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107692 0039d316-1c4b-4281-b951-d872f2087c98
* Speak a message when accessibility is on and the network state changeszork@chromium.org2011-10-283-0/+49
| | | | | | | | | | | R=dmazzoni@chromium.org BUG=chromium-os:21760 TEST=Change the network state with a11y turned on Review URL: http://codereview.chromium.org/8402023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107689 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Make GetFirstChildId return a flag indicating successakalin@chromium.org2011-10-2812-120/+214
| | | | | | | | | | | | | | Propagate that flag up a few levels and add CHECKs. Since the old code crashed, CHECKing is no worse. Rename some functions to add *ForTest suffixes. BUG=100907 TEST= Review URL: http://codereview.chromium.org/8402014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107686 0039d316-1c4b-4281-b951-d872f2087c98
* Make user remove button focusable, and set up the correct tab order.zork@chromium.org2011-10-283-8/+20
| | | | | | | | | | BUG=chromium-os:20044 TEST=Add two or more users. Check that you can tab to all users and remove buttons, and that you can remove users. Review URL: http://codereview.chromium.org/8396032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107683 0039d316-1c4b-4281-b951-d872f2087c98
* Share an instance of the ibus factory between all ibus engines.zork@chromium.org2011-10-281-4/+15
| | | | | | | | | | R=penghuang@chromium.org BUG=chromium-os:22107 TEST=Install two IME extensions, and ensure that they both work. Review URL: http://codereview.chromium.org/8393038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107682 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce visibility of methods in AutofillManager and AutofillDownload.isherman@chromium.org2011-10-285-138/+76
| | | | | | | | | | | | Also remove some obsolete code and simplify some of the code's expectations. BUG=none TEST=none Review URL: http://codereview.chromium.org/8351027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107680 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 107669 (Looks to have caused bot failures) - Register the ↵eroman@chromium.org2011-10-281-34/+25
| | | | | | | | | | | | | | | | | RenderViewHost instance created when a desktop notification bubble is displayed in CF with the AutomationResourceMessagefilter. This ensures that any HTTP requests issued by this bubble go through the host network stack implemenation. Fixes bug http://code.google.com/p/chromium/issues/detail?id=64251 BUG=64251 Review URL: http://codereview.chromium.org/8414005 TBR=ananta@chromium.org Review URL: http://codereview.chromium.org/8416031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107678 0039d316-1c4b-4281-b951-d872f2087c98
* Mark CacheHitAfterRedirect as flaky.eroman@chromium.org2011-10-281-1/+2
| | | | | | | BUG=102030 Review URL: http://codereview.chromium.org/8400052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107677 0039d316-1c4b-4281-b951-d872f2087c98
* Collect some histograms about signed binary downloads.bryner@chromium.org2011-10-2813-236/+576
| | | | | | | | | | | | | | This hooks up the DownloadProtectionService to run after a download finishes. For now, this does not send a download pingback since the flag defaults to off. TEST=DownloadProtectionServiceTest BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107528 Review URL: http://codereview.chromium.org/8345033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107674 0039d316-1c4b-4281-b951-d872f2087c98
* Register the RenderViewHost instance created when a desktop notification ↵ananta@chromium.org2011-10-281-25/+34
| | | | | | | | | | | | | | bubble is displayed in CF with the AutomationResourceMessagefilter. This ensures that any HTTP requests issued by this bubble go through the host network stack implemenation. Fixes bug http://code.google.com/p/chromium/issues/detail?id=64251 BUG=64251 Review URL: http://codereview.chromium.org/8414005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107669 0039d316-1c4b-4281-b951-d872f2087c98
* Fix problem where app notification sync tests sometimes cant't delete temp dirasargent@chromium.org2011-10-281-1/+3
| | | | | | | | | | | | | BUG=101963 TEST=Running unit_tests --gtest_filter=AppNotificationManagerSyncTest.* should not leave around any empty temp directories (and there should be no error log messages from ScopedTempDir's desctructor about being unable to delete the underlying temp dir). Review URL: http://codereview.chromium.org/8415004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107667 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent extension and bookmark popups from interfering with close window/tab ↵isherman@chromium.org2011-10-282-41/+27
| | | | | | | | | | | | | | shortcuts. When a balloon popup is open, the target of the close window/tab keyboard shortcut is still the main browser window. Update our custom menu item rejiggering code to pay attention to the main window, rather than to the popup window, when a popup is open. BUG=95169 TEST=(see bug) Review URL: http://codereview.chromium.org/8302021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107666 0039d316-1c4b-4281-b951-d872f2087c98
* Handle additional feedback from http://codereview.chromium.org/8395038/.jam@chromium.org2011-10-2826-79/+64
| | | | | | | | | | | -rename URLFetcherFactory to URLFetcherImplFactory -rename GetUrl to GetURL and GetOriginalUrl to GetOriginalURL -get rid of request_type in TestURLFetcher's constructor BUG=98716 Review URL: http://codereview.chromium.org/8416020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107665 0039d316-1c4b-4281-b951-d872f2087c98
* Change string16 to std::string in the gfx::Font() interface.erg@chromium.org2011-10-277-11/+11
| | | | | | | | | | | | Most consumers on all platforms (including windows!) were converting the font family/GetFontName() result to UTF8. (Windows was still having to convert for the SkTypeface calls.) On Linux, we're performing a UTF16ToUTF8 on each string print (and this is showing up in pprof output.) BUG=100803 TEST=none Review URL: http://codereview.chromium.org/8392017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107659 0039d316-1c4b-4281-b951-d872f2087c98
* HistoryBackend: Fix a crash in BroadcastNotification.jhawkins@chromium.org2011-10-271-2/+4
| | | | | | | | | | | | | | This happens when the HistoryService starts closing the backend, and the ExpireHistoryBackend then tries to notify HistoryBackend of a deletion. BUG=101999 TEST=none R=brettw@chromium.org Review URL: http://codereview.chromium.org/8341087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107658 0039d316-1c4b-4281-b951-d872f2087c98
* Make Background pages highlightedyoshiki@chromium.org2011-10-271-1/+1
| | | | | | | | | | BUG=chromium-os:21732 TEST=manual Review URL: http://codereview.chromium.org/8341046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107657 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Fix dcheck when setting sync encryption.zea@chromium.org2011-10-271-2/+3
| | | | | | | | | | | | | It's valid to call SetEncryptEverything after turning on encryption as long as you're not trying to turn it off. BUG=none TEST=set a custom passphrase after turning on encryption Review URL: http://codereview.chromium.org/8416008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107650 0039d316-1c4b-4281-b951-d872f2087c98
* Enable BookmarkContextMenuControllerTest.CutCopyPasteNode for aura builds.jennyz@chromium.org2011-10-271-8/+1
| | | | | | | | | | BUG=100347 TEST=NONE Review URL: http://codereview.chromium.org/8416009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107649 0039d316-1c4b-4281-b951-d872f2087c98
* Enable BookmarkUtilsTest.CopyPaste() test case for aura builds.jennyz@chromium.org2011-10-271-3/+0
| | | | | | | | | | BUG=100348 TEST=NONE Review URL: http://codereview.chromium.org/8343034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107648 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 107645 (To see if it was responsible for increase in static ↵eroman@chromium.org2011-10-275-74/+92
| | | | | | | | | | | | | | | | initializers) - Fix test snapshotting on linux by creating a separate automation path for snapshots outside of the thumbnail generator. BUG=69370,66371,63022 TEST=none Review URL: http://codereview.chromium.org/8294030 TBR=kkania@chromium.org Review URL: http://codereview.chromium.org/8416022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107647 0039d316-1c4b-4281-b951-d872f2087c98
* Fix test snapshotting on linux by creating a separate automation path forkkania@chromium.org2011-10-275-92/+74
| | | | | | | | | | | snapshots outside of the thumbnail generator. BUG=69370,66371,63022 TEST=none Review URL: http://codereview.chromium.org/8294030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107645 0039d316-1c4b-4281-b951-d872f2087c98
* Flipping the order of BackgroundModeManager and StatusTray members so that ↵rlp@chromium.org2011-10-271-2/+2
| | | | | | | | | | | the StatusTray is not deleted before the BackgroundModeManager. Technically this should not be an issue, but it can occur if the NOTIFICATION_APP_TERMINATING notification is not sent. BUG=101082 TEST=passes existing, but there are no repro steps for the crash to test Review URL: http://codereview.chromium.org/8393028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107644 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome OS: Attach bluetooth UI to device discovery APIvlaviano@chromium.org2011-10-273-9/+162
| | | | | | | | | | | | BUG=chromium-os:22140 TEST=Visit system settings page, click "Find devices" button, observe UI and read chrome logs. Change-Id: Idb0aa1650663f9c95d4c44194d6fa3b7e660d668 Review URL: http://codereview.chromium.org/8233042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107640 0039d316-1c4b-4281-b951-d872f2087c98
* LocationBarView: Add a CHECK to help debug a crash.jhawkins@chromium.org2011-10-271-0/+3
| | | | | | | | | | | BUG=101994 TEST=none R=sky@chromium.org Review URL: http://codereview.chromium.org/8418010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107637 0039d316-1c4b-4281-b951-d872f2087c98
* Hack to fix Panel focus issues on Mac.dcheng@chromium.org2011-10-271-0/+11
| | | | | | | | | | | | This is just a temporary workaround for dogfood. BUG=97831 TEST=test app on crbug.com/101413 Review URL: http://codereview.chromium.org/8393014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107634 0039d316-1c4b-4281-b951-d872f2087c98
* Remove references to NewRunnableFunction.atwilson@chromium.org2011-10-272-6/+7
| | | | | | | | | BUG=98347 TEST=none Review URL: http://codereview.chromium.org/8400032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107633 0039d316-1c4b-4281-b951-d872f2087c98
* Adding flag for turning on the Media Source APIacolwell@chromium.org2011-10-271-0/+7
| | | | | | | | | | BUG=86536 TEST=None Review URL: http://codereview.chromium.org/8395053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107632 0039d316-1c4b-4281-b951-d872f2087c98
* Mark CrossPlatformWebpageAccessibility as flaky, since it has been failing ↵eroman@chromium.org2011-10-271-1/+2
| | | | | | | | | on the Vista Debug bot. BUG=101984 Review URL: http://codereview.chromium.org/8400042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107628 0039d316-1c4b-4281-b951-d872f2087c98
* Move cloud_print_class_mac files from content/common to ↵jam@chromium.org2011-10-271-4/+4
| | | | | | | | | chrome/common/cloud_print. They don't belong in content. TBR=abodenha Review URL: http://codereview.chromium.org/8341079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107626 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Use scoped_ptr for CrosDBusService.satorux@chromium.org2011-10-272-11/+7
| | | | | | | | | | | | This was just an oversight. Along the way, update comments in dbus_thread_manager.h about callbacks. TEST=none BUG=none Review URL: http://codereview.chromium.org/8341073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107624 0039d316-1c4b-4281-b951-d872f2087c98
* Call VerifyCleanExit in TerminateBrowser.achuith@chromium.org2011-10-272-2/+0
| | | | | | | | BUG=101390 TEST=ui tests continue to pass. Review URL: http://codereview.chromium.org/8390041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107622 0039d316-1c4b-4281-b951-d872f2087c98
* OmniboxView: Attempt to fix a crash in GetSelectedText().jhawkins@chromium.org2011-10-271-0/+5
| | | | | | | | | | | BUG=101938 TEST=none R=pkasting@chromium.org Review URL: http://codereview.chromium.org/8417004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107620 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Add a stub implementation for SensorsSource.satorux@chromium.org2011-10-279-131/+160
| | | | | | | | | | | | Along the way, rename the class to SensorsClient, to be consistent with other classes in the directory, and do some minor cleanup. BUG=none TEST=none Review URL: http://codereview.chromium.org/8400034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107619 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a smart pointer leak.backer@chromium.org2011-10-271-1/+1
| | | | | | | | | | R=ben BUG=run out of VRAM TEST=open and close many tabs on touch device; VRAM should remain roughly constant Review URL: http://codereview.chromium.org/8411002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107618 0039d316-1c4b-4281-b951-d872f2087c98
* Added logic that will retry to reload+reconnect the mobile payment portal ↵zelidrag@chromium.org2011-10-276-101/+281
| | | | | | | | | | | | page 5 times before it eventually gives up and shows service unavailable error. Expanded frame sniffer to send an event when a frame which is being watched gets finally loaded. From the sent error (or its absence) and this new event, we can finally reconstruct on the browser side if a given iframe was loaded successfully or not. BUG=chromium-os:20525, chromium-os:21738 TEST=tricky one to test since it repros on 3g network flakyness. one can edit /usr/lib/cromo/config/madison.ini and put a bad value for olp_root there to trigger this. Review URL: http://codereview.chromium.org/8341037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107613 0039d316-1c4b-4281-b951-d872f2087c98
* Change internal name and visible name for settings to disable panels.jennb@chromium.org2011-10-271-1/+1
| | | | | | | | | BUG=None TEST=Look at about:flags and see 'Disable Panels'. Should be off by default. Review URL: http://codereview.chromium.org/8416003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107609 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug where Navigation Timing reports negative load time when redirecting tosimonjam@chromium.org2011-10-272-2/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a cached page. The problem is that the same ResourceLoadTiming struct is re-used for each redirect. So, we record the deltas for connect time, headers, send request, etc., for each redirect. But, after the last redirect, we simply have a cache hit. So, the base_time is updated for that cache hit, but the deltas are still relative to the old base_time value. When we apply the old deltas to the new base_time, we end up with a time in the future. To fix this, I clear ResourceLoadTimingInfo after each redirect. I've added a UI test for this. I could've done a unit test, but we have no end- to-end Navigation Timing tests and it'd be easy for this to be broken by some unrelated change to NetLog and redirects, so I prefer having this test be a safe guard. On a related note, I noticed that LoadTimingObserver::OnAddURLRequestEntry() is called at least twice for each source.id. Once for the normal URLRequest, and once for the AppCacheURLRequest. Fortunately, they're only 100 ns apart, so it doesn't screw up the times. But, it was a surprise to me. Perhaps we should ignore the AppCache requests? BUG=None TEST=ui_tests Review URL: http://codereview.chromium.org/8336012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107604 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing FileManagerDialogBrowserTestkaznacheev@chromium.org2011-10-271-1/+4
| | | | | | | | | | | | | Commented out a line that reliably fails the tests, although the real cause seems to be chromium:101665. BUG= TEST= Review URL: http://codereview.chromium.org/8363054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107588 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Initialize Widget to avoid a crash when showing bubbles.sadrul@chromium.org2011-10-271-2/+11
| | | | | | | | | BUG=97248 TEST=manually Review URL: http://codereview.chromium.org/8402031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107586 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing visibility transitions for Instantshishir@chromium.org2011-10-273-0/+58
| | | | | | | | | | BUG=101593 TEST=instant_browsertest Review URL: http://codereview.chromium.org/8373010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107585 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] Don't succeed if user has default profile picturewqavayvod@chromium.org2011-10-278-2/+138
| | | | | | | | | | R=ivankr@chromium.org BUG=chromium-os:22125 TEST=Verify that for users with default profile picture it's not downloaded and shown on image screen or change picture page. Review URL: http://codereview.chromium.org/8399005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107584 0039d316-1c4b-4281-b951-d872f2087c98
* Fix flakiness in NewTab() calls of AppApiTest browser_test.creis@chromium.org2011-10-271-20/+39
| | | | | | | | | BUG=88316 TEST=AppApiTest.{AppProcess,AppProcessInstances} not flaky Review URL: http://codereview.chromium.org/8401023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107582 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Avoid resizing when dragging top of browser frame.derat@chromium.org2011-10-271-1/+3
| | | | | | | | | | | | | | | | This makes BrowserNonClientFrameViewAura act as if it has a zero-height top resize border to avoid weird resizing when dragging that region up or down. In the longer term, this change should be reverted and the Aura shell should instead be responsible for disabling resizes (and preventing the cursor from changing as well, I suppose). BUG=101830 TEST=manual: checked that dragging the top of the frame only moves the window instead of resizing it Review URL: http://codereview.chromium.org/8400011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107579 0039d316-1c4b-4281-b951-d872f2087c98