| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=100677
TEST=Manual test in ppapi/examples/mouse_lock; enter full screen and mouse lock; prompts should appear only first time.
R=jochen@chromium.org, pkasting@chromium.org, yzshen@chromium.org
Review URL: http://codereview.chromium.org/8354026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106821 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is ok if another thread holds the lock; what we want to assert is
that this thread doesn't hold it.
BUG=NONE
TEST=NONE
Review URL: http://codereview.chromium.org/8342071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106512 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
callers to use it. Move the implementation to content/browser. Stop creating it in all child processes since it's only used in the browser.
BUG=98716
Review URL: http://codereview.chromium.org/8342048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106403 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
setting UI.
If an extension sets a (wildcard, wildcard) content setting, disable the default
setting UI and display a banner.
BUG=NONE
TEST=manual
Review URL: http://codereview.chromium.org/8333015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106289 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for plug-ins.
We now check in the renderer if a plug-in is allowed by default, which is the case if the matching patterns are wildcards.
BUG=100581
TEST=see bug
Review URL: http://codereview.chromium.org/8334020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106270 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
put it into the content namespace.
BUG=98716
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106203 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
content/public/browser.
This patch got way bigger than I wanted, but once I moved NotificationDetails, I figured I might as well mvoe the others since they're in the same files. In hindsight, I should have converted a subset of files at a time by leaving a using statement in the header.
BUG=98716
TBR=joi
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106196 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=99949
TEST=no dcheck in ssl client certificate selection
Review URL: http://codereview.chromium.org/8283034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106052 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
identifiers.
BUG=100273
TEST=content setting exceptions work
Review URL: http://codereview.chromium.org/8274033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105809 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=NONE
TEST=NONE
Review URL: http://codereview.chromium.org/8314020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105792 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unify the logic behind HostContentSettingsMap::GetSettingsForOneType
and HostContentSettingsMap::GetContentSetting.
BUG=63656
TEST=NONE
Review URL: http://codereview.chromium.org/7982028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105781 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OriginIdentifierValueMap::EntryMapKey::operator<
Originally reported by viva64 using PVS Studio ( http://www.viva64.com/en/b/0113/ Fragment N8)
BUG=100213
TEST=none
Review URL: http://codereview.chromium.org/8273023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105763 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a site enters fullscreen a bubble should appear, both to give the user the option to exit fullscreen and to inform them that the site has entered fullscreen. This patch implements that behaviour on Windows and Mac.
XIB changes: (FullScreenExitBubble.xib)
* Added explanatory text field.
* Added "allow" and "deny" buttons.
* Changed from View into Window.
BUG=73923
TEST=
Review URL: http://codereview.chromium.org/7740044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105649 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
BUG=98716
Review URL: http://codereview.chromium.org/8277018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105389 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Plug-in specific content settings can only be set via the extension API. The --enable-resource-content-settings switch enables them in user preferences.
BUG=78428
TEST=none
Review URL: http://codereview.chromium.org/8202004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105358 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
provider map.
linked_ptr isn't thread safe, and we don't really need the automatic destruction.
BUG=100020
TEST=no race condition
Review URL: http://codereview.chromium.org/8245002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105135 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
holding its lock.
This causes a problem when another provider is listening to the notifications and notifying
the upper layer. The upper layer then queries settings from the original PrefProvider which
is holding the lock.
BUG=chromiumos:17760
TEST=PrefProviderTest.Deadlock
Review URL: http://codereview.chromium.org/8233005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105071 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also shows the "managed-by-admin" banner when JavascriptEnabled is forced to
false.
The pyauto test for JavascriptEnabled has been enabled again.
Did some cleanups on content_settings/ while fixing this.
BUG=97754,97749
TEST=policy_prefs_ui.py passes
Review URL: http://codereview.chromium.org/8236001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104995 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a DefaultProvider for user default settings and integrate the DefaultPolicyProvider into the PolicyProvider.
The real work was done by markusheintz@chromium.org and the original CL is
http://codereview.chromium.org/7976032/
BUG=63656
TEST=host_content_settings_map_unittest.cc,
content_settings_policy_provider_unittest.cc,
content_settings_default_provider_unittest.cc
Review URL: http://codereview.chromium.org/8137024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104704 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It used to send out notifications while holding its lock, and the upper layer called its
getters when receiving the notification -> deadlock. This was recently exposed by my
change (revision 103260) which made the UI listen to these notifications.
BUG=99315
TEST=Manual; see bug
Review URL: http://codereview.chromium.org/8171007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104450 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
list to a map.
BUG=63656
TEST=OriginIdentifierValueMapTest.{IterateEmpty, IterateNonempty}, existing tests: OriginIdentifierValueMapTest.*, PrefProviderTest.*, PolicyProviderTest.*
Review URL: http://codereview.chromium.org/7990003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103266 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Plus some cleanups:
* Use a lock in PolicyProvider::GetContentSettingValue
* Sanity checks when converting a Value to a ContentSetting.
BUG=88533
TEST=unit tests
Review URL: http://codereview.chromium.org/7992004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102515 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
chrome/browser/content_settings to chrome/common.
This is needed for transmitting image-related content settings to the renderer.
BUG=81179
TEST=NONE
Review URL: http://codereview.chromium.org/7885006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102088 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
to profile
BUG=90443
TEST=everything still works
Review URL: http://codereview.chromium.org/7892007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101037 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
replace it with a notification call
on the TabContentsObserver interface. This is fine as this message is just a notification that the app cache
was accessed.
Continuing changes to get rid of the pattern of IPC messages spanning across content and chrome.
BUG=87335
TEST=No change in functionality
Review URL: http://codereview.chromium.org/7857003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100251 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=63182
TEST=none
Review URL: http://codereview.chromium.org/7851015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100204 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=81825
TEST=none
Review URL: http://codereview.chromium.org/7837038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100147 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
content setting instead of the type ContentSetting.
The HostContentSettingsMap should allow storing arbitrary |Value|s instead of only |ContentSettings| for content settings types (BTW: content settings should be called website settings). This allows to add other content settings type(website settings types) to the host content settings map that require more complex settings than ALLOW, BLOCK, ASK, ... . CONTENT_TYPE_AUTO_SELECT_CERTIFICATE is one example of such a content settings type. CONTENT_TYPE_AUTO_SELECT_CERTIFICATE requires a map with certain criteria that a certificate must match to be selected.
- Add filter to the AutoSelectCertificate policy.
Instead of only giving a list of origin patterns that specify origins for which client certificates should be auto selected, each origin pattern now also requires a filter with certificate criteria.
This is the second CL in a series and follows CL http://codereview.chromium.org/7831004/
BUG=63656, 81825
TEST=host_content_settings_map_unittest.cc,
content_settings_policy_provider_unittests.cc
TBR=pam@chromium.org
Review URL: http://codereview.chromium.org/7828022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99672 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|Value| of a content setting instead of a |ContentSetting| type.
The HostContentSettingsMap should allow storing arbitrary |Value|s instead of only |ContentSettings| for content settings types (BTW: content settings should be called website settings). This allows to add other content settings type(website settings types) to the host content settings map that require more complex settings than ALLOW, BLOCK, ASK, ... . CONTENT_TYPE_AUTO_SELECT_CERTIFICATE is one example of such a content settings type. CONTENT_TYPE_AUTO_SELECT_CERTIFICATE requires a map with certain criteria that a certificate must match to be selected.
This is the first CL to migrate the content settings code to user |Value|s instead of |ContentSetting|s.
BUG=63656, 81825
TEST=host_content_settings_map_unittest.cc,
content_settings_pref_provider.cc,
content_settings_policy_provider.cc,
content_settings_provider_unittest.cc
Review URL: http://codereview.chromium.org/7831004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99639 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
content_settings::PolicyProvider.
The change removes one step in the process of loading managed (= by policy) content settings form the preferences that store the policy values. Instead of loading the content settings into a vector and passing this vector to another method that stores the content settings in the in-memory map , content settings are directly stored in the in-memory map. This eliminates one pass over all content settings. That is not needed.
BUG=63656
TEST=content_settings_policy_provider_unittests.cc
Review URL: http://codereview.chromium.org/7811019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99632 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
R=jam@chromium.org
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/7821010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99292 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
content_settings::NotificationsProvider.
BUG=63656
TEST=host_content_settings_map_unittest.cc,
content_settings_pref_provider.cc,
desktop_notifications_service_unittest.cc
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98938
Review URL: http://codereview.chromium.org/7655019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98960 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=94879
TEST=none
Review URL: http://codereview.chromium.org/7785024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98959 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
content_settings::NotificationsProvider.
BUG=63656
TEST=host_content_settings_map_unittest.cc,
content_settings_pref_provider.cc,
desktop_notifications_service_unittest.cc
Review URL: http://codereview.chromium.org/7655019
TBR=markusheintz@chromium.org
Review URL: http://codereview.chromium.org/7810017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98941 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
content_settings::NotificationsProvider.
BUG=63656
TEST=host_content_settings_map_unittest.cc,
content_settings_pref_provider.cc,
desktop_notifications_service_unittest.cc
Review URL: http://codereview.chromium.org/7655019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98938 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the test suite implicitly provides global resources for each test,
but they're re-initialized between each test.
The performance overhead is negligible.
We need that to continue moving tests from unit_tests
to content_unittests. Because of shared test fixtures
the test suites need to be compatible.
BUG=90443
Review URL: http://codereview.chromium.org/7744039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98526 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
indexedDBs. Also cleaned up some internal structures used by the UI layer.
* Clean up some loose ends around the transition from sqlite backing to leveldb backing. Code had not been updated to reflect that the indexedDBpath is a directory path instead of a file path.
* Fix a problem with reporting inconsistent size value to the quota manager. Now we always compute deltas against a cached size value and don't change the cached size value w/o reporting a delta.
* Fix a problem with erroneously accessing the filesystem for queries about indexed db usage when working with incognito profiles.
BUG=56249,76641
Review URL: http://codereview.chromium.org/7692016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98352 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
settings map.
BUG=93366
TEST=TODO
Review URL: http://codereview.chromium.org/7740011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98224 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the new content settings type AUTO-SELECT-CERTIFICATE is CONTENT_SETTING_ASK
- Add a policy for whitelisting origins for which client certificates should be auto selected.
- Add a policy to set a default setting for the auto select certificates setting.
BUG=81825
TEST=host_content_settings_map_unittest.cc,
content_settings_policy_provider_unit_test.cc,
configuration_policy_pref_store_unittest.cc
Review URL: http://codereview.chromium.org/7537025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98026 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7711016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97970 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
used by external code:
- GetNonDefaultContentSetting
- GetNonDefaultContentSettings
BUG=63656
TEST=host_content_settings_map_unittest.cc
Review URL: http://codereview.chromium.org/7663007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97619 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ChromeViewMsg_, ChromeViewHostMsg, etc.
This makes it easier to identify which messages are specific to content and chrome.
This is a preparation CL for bug http://code.google.com/p/chromium/issues/detail?id=87335 which
requires IPC's to not span across content and chrome. When IPC's cross these boundaries they need
to be handled as API calls.
BUG=87335
Review URL: http://codereview.chromium.org/7631063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97536 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=ContentSettingBubbleControllerTest.Init
TEST=Run Chromium with -enable-web-intents, go to content settings/manage exceptions, see UI
Review URL: http://codereview.chromium.org/7670052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97357 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=93366
TEST=content_settings_pref_provider_unittest.cc
host_content_settings_map_unittest.cc
Review URL: http://codereview.chromium.org/7655043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97347 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7670016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97286 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hidden behind -enable-web-intents commandline flag
BUG=none
TEST=Run Chromium with -enable-web-intents, go to content settings/manage exceptions, see UI
Review URL: http://codereview.chromium.org/7645034
TBR=groby@chromium.org
Review URL: http://codereview.chromium.org/7631030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97217 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
hidden behind -enable-web-intents commandline flag
BUG=none
TEST=Run Chromium with -enable-web-intents, go to content settings/manage exceptions, see UI
Review URL: http://codereview.chromium.org/7645034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97190 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
geolocation settings map.
BUG=63656
TEST=host_content_settings_map_unittest.cc,
content_settings_pref_provider_unittest.cc
Review URL: http://codereview.chromium.org/7484072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96808 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the return type of Remove() to bool, and add a size_t output parameter.
BUG=None
TEST=None
R=evan@chromium.org
Review URL: http://codereview.chromium.org/7618021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96702 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
logging cookies at UI thread.
Moving from http://codereview.chromium.org/7355025/
BUG=XXXX
TEST=BrowsingDataCookieHelperTest
TBR=rdsmith
Review URL: http://codereview.chromium.org/7601018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96569 0039d316-1c4b-4281-b951-d872f2087c98
|