summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Mark tests FLAKY: HomePageLink and NTPHasThumbnails"tony@chromium.org2010-07-191-4/+2
| | | | | | | | | | This reverts commit 52788 and re-enables 2 UI tests. TBR=phajdan.jr Review URL: http://codereview.chromium.org/2856044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52942 0039d316-1c4b-4281-b951-d872f2087c98
* Add starter code for 'Clear Browser Data' and 'Font Settings' overlay dialogs.csilv@chromium.org2010-07-195-0/+103
| | | | | | | | BUG=49037,49038 TEST=Verify skeleton overlay dialogs for 'Clear Browser Data' and 'Font Settings' when using --enable-tabbed-options. Review URL: http://codereview.chromium.org/2812063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52930 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 52902 - Add getUserInfo, getRegistrationUrl message callback for ↵pinkerton@google.com2010-07-192-106/+3
| | | | | | | | | | | | | | | | | register screen. Restrict chrome://register to OOBE wizard only. Actually delete about:register. BUG= http://crosbug.com/4813 TEST=none Review URL: http://codereview.chromium.org/3044001 TBR=nkostylev@google.com Review URL: http://codereview.chromium.org/3026007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52905 0039d316-1c4b-4281-b951-d872f2087c98
* Add getUserInfo, getRegistrationUrl message callback for register screen.nkostylev@google.com2010-07-192-3/+106
| | | | | | | | | | | | Restrict chrome://register to OOBE wizard only. Actually delete about:register. BUG= http://crosbug.com/4813 TEST=none Review URL: http://codereview.chromium.org/3044001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52902 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 52795 - Fix chromeos compile.thestig@chromium.org2010-07-171-0/+1
| | | | | | | | | | | TBR=sargrass BUG=none TEST=chromeos builder goes green TBR=csilv@chromium.org Review URL: http://codereview.chromium.org/3032006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52812 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 52787 - Make the personal stuff page viewable.thestig@chromium.org2010-07-174-143/+25
| | | | | | | | | | | | BUG=48883 TEST=Exercise Personal Stuff page via --enabled-tabbed-options Review URL: http://codereview.chromium.org/2819046 TBR=sargrass@google.com Review URL: http://codereview.chromium.org/3012007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52810 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chromeos compile.csilv@chromium.org2010-07-171-1/+0
| | | | | | | | TBR=sargrass BUG=none TEST=chromeos builder goes green git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52795 0039d316-1c4b-4281-b951-d872f2087c98
* Mark tests FLAKY: HomePageLink and NTPHasThumbnailsmmoss@google.com2010-07-171-2/+4
| | | | | | | | BUG=49389 Review URL: http://codereview.chromium.org/2854050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52788 0039d316-1c4b-4281-b951-d872f2087c98
* Make the personal stuff page viewable.sargrass@google.com2010-07-174-25/+143
| | | | | | | | | BUG=48883 TEST=Exercise Personal Stuff page via --enabled-tabbed-options Review URL: http://codereview.chromium.org/2819046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52787 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the build on ChromeOS.phajdan.jr@chromium.org2010-07-161-0/+1
| | | | | | | | | TBR=oshima TEST=compile, please BUG=48913 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52759 0039d316-1c4b-4281-b951-d872f2087c98
* Download code cleanup: split big files into smaller one.phajdan.jr@chromium.org2010-07-162-0/+2
| | | | | | | | | | | | | It's hard to find things in the download directory. DownloadFile and DownloadFileManager were bundled together. Similarly for DownloadItem and DownloadManager, which was much less intuitive. Some 3-5 line structs were also in one bag with something else. I extracted them to their own small file. TEST=unit_tests, browser_tests, ui_tests BUG=48913 Review URL: http://codereview.chromium.org/2806054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52749 0039d316-1c4b-4281-b951-d872f2087c98
* Set the options dialog as the parent window of the sync wizard when thealbertb@chromium.org2010-07-161-2/+2
| | | | | | | | | | | wizard is started from options. BUG=19776 TEST=manually tested Review URL: http://codereview.chromium.org/2976009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52689 0039d316-1c4b-4281-b951-d872f2087c98
* Initial accounts options page.xiyuan@chromium.org2010-07-163-44/+82
| | | | | | | | | | | | | | | | | | | | - Add a "Accounts" subpage for ChromeOS; - Two checkboxes for allowing BWSI and allowing guest signin; - Make measureItem in list.js returns 0 instead of -1. The itemHeight is -1 when the list is not visible. And 0 will let redraw to call measureItem again; - Add an onVisibilityChanged callback that is called when "visible" property is changed; And use that to trigger user list's redraw; - Use a mock settings object so that the UI flow could be tested; - Update options_page.css to add a few css missed from dhg's overlay cl; BUG=chromium-os:4734 TEST=None. This is a draft version and will be changed after UX feedbacks. Review URL: http://codereview.chromium.org/2935011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52676 0039d316-1c4b-4281-b951-d872f2087c98
* Implement search engine selection in DOMUI prefsstuartmorgan@chromium.org2010-07-162-13/+92
| | | | | | | | | BUG=48713 TEST=Changing search engines in DOMUP prefs should be persisted. Review URL: http://codereview.chromium.org/2883024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52675 0039d316-1c4b-4281-b951-d872f2087c98
* Switch registration page from about:register to chrome://register.nkostylev@google.com2010-07-163-0/+148
| | | | | | | | | | | That will allow registering custom JS handlers. BUG= http://crosbug.com/4813 NONE=none Review URL: http://codereview.chromium.org/2870051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52639 0039d316-1c4b-4281-b951-d872f2087c98
* Advanced (Under the Hood) dom-ui progress.csilv@chromium.org2010-07-157-17/+273
| | | | | | | | | | | | | - Complete implementation of SSL security options for all platforms. - Implemented the 'Clear auto-opening settings' button. - Correctly show logging checkbox for Chrome builds only. - Mostly-complete support for the download path section. BUG=48482 TEST=Exercise advanced panel in options window using --enable-tabbed-options. Review URL: http://codereview.chromium.org/2893012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52525 0039d316-1c4b-4281-b951-d872f2087c98
* Fix missing throbber in sync dialogs. This actually does a number of things:pkasting@chromium.org2010-07-151-1/+1
| | | | | | | | | | | | | * Correct throbber path in choose_datatypes.html (I overlooked this) * Change CSS style settings for throbber to a form the inliner could understand, so the image got inlined properly * Remove references to throbber path from sync_setup_wizard.cc (no longer needed) * Fix improper use of url_constants.* (only paths that need to be in common/ should be there) and change sync hostname constant name to match other hostnames' naming scheme BUG=40984 TEST=Signing into GAIA in sync setup dialog should show a throbber Review URL: http://codereview.chromium.org/2840035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52501 0039d316-1c4b-4281-b951-d872f2087c98
* Implement disabling of plugins through policydanno@chromium.org2010-07-151-3/+13
| | | | | | | | | TEST=manual testing of plugins page, ConfigurationPolicyPrefStoreTest* BUG=45856 Review URL: http://codereview.chromium.org/2833034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52487 0039d316-1c4b-4281-b951-d872f2087c98
* Extensions: Resize favicons to 16x16.arv@chromium.org2010-07-142-6/+36
| | | | | | | | | | | This changes the ExtensionDOMUI favicon loading to use a ImageLoadingTracker which handles reading the file in the correct thread as well as resizing it. BUG=47964 TEST=Install one of the extensions in the bug. Open the options page for the extension. The icon in the tab should be 16x16 pixels. Review URL: http://codereview.chromium.org/2918007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52376 0039d316-1c4b-4281-b951-d872f2087c98
* Implement default browser pref in DOMUIstuartmorgan@chromium.org2010-07-142-7/+113
| | | | | | | | | | | | | Also disables all the not-yet-implemented controls so it's clear what works and what doesn't. Fixes a earlier bad merge that introduced a duplicate include of the sync options. BUG=48713 TEST=Running with --enable-tabbed-options, default browser display and button should work in prefs. Review URL: http://codereview.chromium.org/2945017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52335 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 52318 - Implement default browser pref in DOMUIstuartmorgan@chromium.org2010-07-142-113/+7
| | | | | | | | | | | | | | Also disables all the not-yet-implemented controls so it's clear what works and what doesn't. BUG=48713 TEST=Running with --enable-tabbed-options, default browser display and button should work in prefs. Review URL: http://codereview.chromium.org/2927012 TBR=stuartmorgan@chromium.org Review URL: http://codereview.chromium.org/2891025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52320 0039d316-1c4b-4281-b951-d872f2087c98
* Implement default browser pref in DOMUIstuartmorgan@chromium.org2010-07-142-7/+113
| | | | | | | | | | | Also disables all the not-yet-implemented controls so it's clear what works and what doesn't. BUG=48713 TEST=Running with --enable-tabbed-options, default browser display and button should work in prefs. Review URL: http://codereview.chromium.org/2927012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52318 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out PluginGroup into a separate class in common/.bauerb@chromium.org2010-07-141-8/+6
| | | | | | | | | | | | | Moving PluginGroup into common is necessary in order to enable the renderer process to check if a plugin is outdated. Also, make PluginUpdater static since it doesn't contain any state anymore. BUG=47731 TEST=PluginGroupTest.* Review URL: http://codereview.chromium.org/2955005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52307 0039d316-1c4b-4281-b951-d872f2087c98
* The "ask" setting is still required for geolocation and notifications.jochen@chromium.org2010-07-141-0/+4
| | | | | | | | | | BUG=48941 TEST=OptionsUITest.LoadOptionsByURL TBR=nkostylev Review URL: http://codereview.chromium.org/2910011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52296 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the cookie prompt from the settings UI and migrate prefs from ask to ↵jochen@chromium.org2010-07-141-6/+0
| | | | | | | | | | | block. BUG=48941 TEST=none Review URL: http://codereview.chromium.org/2963006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52291 0039d316-1c4b-4281-b951-d872f2087c98
* First cut at adding Chromium OS's "Languages and Input" options sub page.satorux@chromium.org2010-07-141-0/+2
| | | | | | | | | | | | This is more like a boilerplate place holder. Will add the contents in a separate change. BUG=chromiumo-os:4573 TEST=manually Review URL: http://codereview.chromium.org/2958003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52290 0039d316-1c4b-4281-b951-d872f2087c98
* Implement support for disabling sync through configuration management.mnissler@chromium.org2010-07-142-6/+8
| | | | | | | | | BUG=45316 TEST=Configure SyncDisabled policy and check the UI. Review URL: http://codereview.chromium.org/2905003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52288 0039d316-1c4b-4281-b951-d872f2087c98
* Add a DOM UI version of ibus-hangul configuration dialog.mazda@chromium.org2010-07-142-0/+6
| | | | | | | | | | | | This dialog cannot be opend from UI yet. The execution path will be added once "Languages and Input" dialog is ready. TEST=manually check on the netbook by uncommenting TODO lines. BUG=chromium-os:4806 Review URL: http://codereview.chromium.org/2853032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52279 0039d316-1c4b-4281-b951-d872f2087c98
* Add the rest of the content settings tabs.estade@chromium.org2010-07-141-10/+82
| | | | | | | | | | | | Also, convert it to a subpage. Also, make subpage nav items hidden when not in use. BUG=48863 TEST=manual Review URL: http://codereview.chromium.org/2901008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52251 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up net_internals_resources.grd:pkasting@chromium.org2010-07-121-44/+14
| | | | | | | | | | | | | | * Always mark HTML/CSS as "flattenhtml" unless not possible * Remove resources not needed due to flattening * Simplify dom_ui code now that most resources won't be loaded that route The change to index.html is needed to make the flattener do the right thing (otherwise the stylesheet doesn't get inlined). BUG=none TEST=none Review URL: http://codereview.chromium.org/2907009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52146 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up bookmark_manager_resources.grd:pkasting@chromium.org2010-07-121-6/+4
| | | | | | | | | | | * Always mark HTML/CSS as "flattenhtml" unless not possible * Remove resources not needed (due to flattening, or just extra). I assume the "test" files don't need to ship with Chrome and are just for local testing. BUG=none TEST=none Review URL: http://codereview.chromium.org/2944007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52145 0039d316-1c4b-4281-b951-d872f2087c98
* First cut at the tabbed content settings page.estade@chromium.org2010-07-124-2/+214
| | | | | | | | | | | | | | | | | Missing pieces: - Add the other tabs besides the first two. - The tab switching mechanism might need some work (it definitely needs to look better, and perhaps should also work with the back/forward buttons). - none of the <button>s work - I added the Content Settings page as one of the main options pages for now, but in the end it should show up when a user clicks the "Content Settings..." button in Under the Hood. There is a bit of extra code because content settings don't use prefs, so I had to sort of replicate the pref_ui code. BUG=none TEST=manual Review URL: http://codereview.chromium.org/2804039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52139 0039d316-1c4b-4281-b951-d872f2087c98
* Add an ExtensionPrefStore, layered between the user prefs and the managed ↵pam@chromium.org2010-07-122-34/+22
| | | | | | | | | | | | | | prefs, to manage preferences set by extensions. Update various callers of the PrefValueStore constructor accordingly. The initial user will be the proxy extension API. BUG=266 TEST=covered by unit tests Review URL: http://codereview.chromium.org/2823037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52088 0039d316-1c4b-4281-b951-d872f2087c98
* Adding support for sub pages and adding the sync page. dhg@chromium.org2010-07-091-0/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2812043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52007 0039d316-1c4b-4281-b951-d872f2087c98
* Skeleton of DOMUI implementation of Basics option pagestuartmorgan@chromium.org2010-07-091-6/+0
| | | | | | | | | | | This is just the HTML and CSS and the skeleton of some of the JavaScript. Only the checkbox for the Home button currently works. Remaining functionality will be added over time. BUG=48713 TEST=Basics page in options should show options; "Show Home button" should work. Review URL: http://codereview.chromium.org/2972001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52006 0039d316-1c4b-4281-b951-d872f2087c98
* Restore the bookmark manager favicon.tony@chromium.org2010-07-091-3/+6
| | | | | | | | | | | | | | 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
* Mark TwoCommandsOneTab test as FLAKY until it can be fixed.csilv@chromium.org2010-07-081-1/+4
| | | | | | | | | TBR=jhawkins BUG=48521 TEST=unit tests no longer red due to this change. Review URL: http://codereview.chromium.org/2897001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51811 0039d316-1c4b-4281-b951-d872f2087c98
* - First round implementation of the Advanced (Under the Hood) options panel.csilv@chromium.org2010-07-0710-7/+412
| | | | | | | | | | | | | | | - All checkboxes are functional, partial functionality for buttons. - Download path controls TBD. - Security SSL checkboxes on non-Mac platform TBD. - Added placeholder files for Browser and Personal option panels. - Moved placeholder CSS into a new options_page.css file. - Unit testing TBD. BUG=48482 TEST=Launch browser with --enable-tabbed-options and bring up options window. Review URL: http://codereview.chromium.org/2830036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51770 0039d316-1c4b-4281-b951-d872f2087c98
* Put Chromoting plugin behind a flag.ajwong@chromium.org2010-07-071-2/+6
| | | | | | | | | 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
* Adding labs to the chromeos options pagedhg@chromium.org2010-07-072-2/+2
| | | | | | Review URL: http://codereview.chromium.org/2800035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51733 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ThumbnailStore - replaced by TopSites.nshkrob@chromium.org2010-07-072-41/+1
| | | | | | | | | 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
* Use same logic to set NTP pages as without the top-sites flag.nshkrob@chromium.org2010-07-024-34/+44
| | | | | | | | | | | | | 1. Factor out SetPagesValue - this adds prepopulated pages, pinned and blacklisted urls. 2. Add broken camera placeholder for missing thumbnails. 3. Remove 'old database' warning if running without TopSites flag. BUG=None TEST=chrome --top-sites; pinned, blacklisted urls work now. Review URL: http://codereview.chromium.org/2805062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51565 0039d316-1c4b-4281-b951-d872f2087c98
* Moving mediaplayer and filebrowser behind a preference. This just adds the ↵dhg@chromium.org2010-07-024-1/+52
| | | | | | | | | | | 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
* Mark NewTabUITest.ChromeInternalLoadsNTP flaky on all platforms.kinuko@chromium.org2010-07-021-5/+2
| | | | | | | | | | | | They occasionally fail on other platforms too. http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=NewTabUITest.ChromeInternalLoadsNTP&testType=ui_tests BUG=45001 TEST=green Review URL: http://codereview.chromium.org/2825034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51549 0039d316-1c4b-4281-b951-d872f2087c98
* Group plugins in about:plugins and show update link for out-of-date ones.bauerb@chromium.org2010-07-021-95/+31
| | | | | | | | | | | | | | | | Re-landing patch by mavrommatis, original review here: <http://codereview.chromium.org/1991005> Original description follows: (1) Group plugins with the same name together. (2) Show a download link for plugin versions with known security problems in about:plugins. BUG=3910,47858 TEST=Open "chrome://plugins", see that plugins are grouped, and that any vulnerable plugins are marked red. Try enabling and disabling plugin groups. Also, if the internal PDF plugin is enabled, it should stay enabled after a restart. Review URL: http://codereview.chromium.org/2811037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51510 0039d316-1c4b-4281-b951-d872f2087c98
* Rename chrome://theme/resource to chrome://theme/IDR_RESOURCEarv@chromium.org2010-07-012-7/+7
| | | | | | | | | BUG=47881 TEST=Unit tests Review URL: http://codereview.chromium.org/2805050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51444 0039d316-1c4b-4281-b951-d872f2087c98
* Mark CommandAgainGoesBackToOptionsTab as failingstuartmorgan@chromium.org2010-06-301-1/+1
| | | | | | | | | | | TBR=zelidrag BUG=47977 TEST=Green ChromeOS bot Review URL: http://codereview.chromium.org/2833043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51259 0039d316-1c4b-4281-b951-d872f2087c98
* NTP: Remove command line flag that allowed a local file to be used for the ↵arv@chromium.org2010-06-301-36/+2
| | | | | | | | | | | new tab page. BUG=None TEST=None Review URL: http://codereview.chromium.org/2886002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51204 0039d316-1c4b-4281-b951-d872f2087c98
* Split options page code/html into its own set of files.zelidrag@chromium.org2010-06-303-25/+64
| | | | | | | | | | | | Changed grit to support generic <!--include file="..."--> tag in html files to support the scenario above. TEST=make sure chrome:options page still shows correctly BUG=chromium-os:4429 Review URL: http://codereview.chromium.org/2835009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51203 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 51110 because of regression 47858- Group plugins in about:plugins and ↵jam@chromium.org2010-06-291-31/+95
| | | | | | | | | | | | | | | | | | | | | show update link for out-of-date ones. Tracking patch by mavrommatis, original review here: <http://codereview.chromium.org/1991005> Original description follows: (1) Group plugins with the same name together. (2) Show a download link for plugin versions with known security problems in about:plugins. BUG=3910 TEST=Open "chrome://plugins", see that plugins are grouped, and that any vulnerable plugins are marked red. Try enabling and disabling plugin groups. Review URL: http://codereview.chromium.org/2835018 TBR=bauerb@chromium.org Review URL: http://codereview.chromium.org/2805048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51191 0039d316-1c4b-4281-b951-d872f2087c98