summaryrefslogtreecommitdiffstats
path: root/chrome/app/nibs/ContentSettings.xib
Commit message (Collapse)AuthorAgeFilesLines
* Mac: Change content settings from showing tabs on top to showing a list on ↵thakis@chromium.org2010-06-041-1217/+1470
| | | | | | | | | | | | | | | | | the side. xib changes: * Set NSTabView's style to "Tabless" (but kept panes in an NSTabView, since it's a convenient method to handle multiple overlapping views in IB) * Put NSTabView into a split view, put a table view in the other split pane of the split view, gave it class TabViewSwitcherTable * changed autosize flags of all child views of the tab view items * Made the NSTabView the tabView_ of the table view BUG=45546 TEST=Content settings window should still work. If it's opened through an omnibox bubble, the right section should still be autoselected. Review URL: http://codereview.chromium.org/2534001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48956 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Improve content settings dialog in some languages.thakis@chromium.org2010-04-061-1171/+1027
| | | | | | | | | | | | | xib changes: * Get rid of all GTMWidthBasedTweakers in the xib * Change labels from "clip" to "wrap" BUG=39390 TEST=See bug Review URL: http://codereview.chromium.org/1605013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43753 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Implement geolocation exceptions dialog.thakis@chromium.org2010-04-051-5/+13
| | | | | | | | | | | | | | | | xib changes: Content settings window: Enable & hook up "exceptions" button. The dialog is not "live" (i.e. if it's open while settings are deleted through the bubble, the window is only updated after closing & reopening it). It's not possible to do any editing in the window, only deleting. This matches windows/linux. http://imgur.com/q7qMK BUG=39818 TEST=Go to a few geolocation pages, click allow/deny. Then go to content settings->locations->exceptions, the visited pages should be listed. Review URL: http://codereview.chromium.org/1566015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43610 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Add geolocation content setting.thakis@chromium.org2010-03-261-759/+584
| | | | | | | | | | | | | The radio button seems to be non-functional; probably the backend probably isn't there yet. xib changes: Added a location tab to contentsettings.xib, bind its radio buttons and normal button to the new methods in the controller. In the bubble, enable the "settings" button. BUG=11246 TEST=content settings now has a "location" tab. Review URL: http://codereview.chromium.org/1428002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42827 0039d316-1c4b-4281-b951-d872f2087c98
* Add link to disable individual plug-ins in Plug-ins tab of Content Settings ↵viettrungluu@chromium.org2010-03-241-77/+815
| | | | | | | | | | | | | | (Mac part). .xib change: Add hyperlink button with text "^IDS_PLUGIN_SELECTIVE_DISABLE" and hooked up to -openPluginsPage: of file's owner. BUG=736 TEST=Go to Content Settings -> Plug-ins and click on "Disable individual plug-ins..."; should get browser window with chrome://plugins/. Review URL: http://codereview.chromium.org/1285002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42481 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] XIB cleanupthomasvl@chromium.org2010-03-161-28/+27
| | | | | | | | | | | - Set more checkboxes and radio to not scale the images, this removes warnings with the 10.6 toolchain. - Remove an unneeded NSUserDefaultsController from the ContentSettings xib. BUG=none TEST=everything still works, less warnings building on 10.6 Review URL: http://codereview.chromium.org/1010002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41714 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Select right tab in content settings dialog.thakis@chromium.org2010-03-021-2/+22
| | | | | | | | | | | | | Also fix an unrelated TODO in this area. xib change: Make ContentSettingsWindowController the NSTabView's delegate and hook the controller's IBOutlet up to the NSTabView. BUG=36949 TEST=Open content settings via a blocked popups bubble. Popup tab should be selected. Select javascript tab, close window. Reopen window, javascript tab should still be selected. Review URL: http://codereview.chromium.org/661354 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40362 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Content Settings Exceptions dialog.thakis@chromium.org2010-02-261-12/+69
| | | | | | | | | | | | | | | | | | | | | | | | | xib changes: ContentSettings.xib: Connect the various "Exceptions" buttons to their handlers and enable them. ContentBlocked*.xib: Now that exceptions can be edited, enable the radio buttons. ContentExceptionsWindow.xib: Add a xib with an exceptions window. Screenshot: http://imgur.com/fLwKA Screenshot on windows: http://imgur.com/UltQp Adding and editing exceptions doesn't work yet. I'll probably do this inline like in the bookmarks manager instead of with a sheet. BUG=34894 TEST=prefs->content settings->exceptions. if you set e.g. the cookie setting to "ask" and then say "remember" in the cookie dialog, these exceptions should show up in the cookie exceptions list. Likewise, if you use the radio group in the popup blocker bubble to override the blocking setting, that should show up there too. Also test this: 1.) Set cookie settings for www.tagesschau.de to "ask", leave window open 2.) Go to tagesschau.de 3.) In dialog, say "remember" and "block" 4.) in exceptions window, the setting should now say "block". Check that all buttons work as expected. Return should enter renaming mode for the current line, esc should stop editing, delete should delete the current line. Review URL: http://codereview.chromium.org/660150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40156 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Implement most of the content settings dialog.thakis@chromium.org2010-02-221-74/+2315
| | | | | | | | | | | | | | | | xib changes: Added a tab view with all the UI, set up bindings for radio groups and checkboxes. Hooked up buttons. Missing for now: * "Exception" dialogs ("exception" buttons are disabled until then) * Some polish * The cookie "ask" dialog BUG=34894 TEST=Open content settings dialog. Set different things, click various things, and make sure they all have the expected effect. Review URL: http://codereview.chromium.org/652037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39601 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Move prefs around in preparation for the content settings window.thakis@chromium.org2010-02-221-0/+405
Also introduce scaffolding for the actual content settings dialog. xib changes: + Personal stuff * Move "Clear browsing data" button to under the hood tab * Move themes stuff up a bit to cover hole left by missing button + under the hood: * Created "Content Settings..." button * Got rid of cookie settings * Moved stuff around + clear data: * Added horizontal rule and flash player settings link, linked its action to new method. + content settings: * Added mostly empty window that contains "This is not implemented yet" label and a button that shows cookies (since I removed that from the prefs, so that it's still available). This window will be fleshed out very soon (in my next CL). * The window _is_ set up for l10n + bubble xibs: * Enable "Manage" links now that they open a window Four screenshots at http://imgur.com/axGiR&78O8g&wgk3p&6oOHj BUG=34656,34894 TEST="Clear data" button has moved from "Personal Stuff" to "Under the hood" in prefs. There's a "Content Settings" button next to it that opens a mostly empty window. The "Clear data" dialog now has a link to flash's privacy settings (which hang if one has the AdThwart extension installed, heh). Review URL: http://codereview.chromium.org/650124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39588 0039d316-1c4b-4281-b951-d872f2087c98