summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources
Commit message (Collapse)AuthorAgeFilesLines
* Remove keyboard overlay ID from C++ code.mazda@chromium.org2011-07-152-1168/+80
| | | | | | | | | | | | | | | | | | | | | | | Originally the mapping from input method ID to keyboard overlay ID was written in ibus_input_methods.txt. I moved this to gen_keyboard_overlay_data.py and made the deta be generated in keyboard_overlay_data.js. I also modified gen_keyboard_overlay_data.py to generate a list of input method IDs that shouldn't remap the right alt key in xkeyboard.cc instead of a list of keyboard overlay IDs. These changes make the two functions related to keyboard overlay ID in input_method_util.{h,cc} unnecessary. I also deleted keyboard overlay data for en_fr_hybrid_CA, ar_fr, id and fil, which was unused. BUG=chromium-os:17592 TEST=Ran unit_tests and manually tested on the chromebook Review URL: http://codereview.chromium.org/7370001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92687 0039d316-1c4b-4281-b951-d872f2087c98
* Show only last result of cellular scandpolukhin@chromium.org2011-07-151-0/+2
| | | | | | | | | | | Also added C++ code send property name in OnNetworkDeviceChanged to make sure that we got results of scan instead of some other property change. BUG=chrome-os-partner:4918,chromium-os:14422 TEST=manual Review URL: http://codereview.chromium.org/7342041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92669 0039d316-1c4b-4281-b951-d872f2087c98
* Disable context menu for control links (Show in Finder, etc)achuith@chromium.org2011-07-151-5/+10
| | | | | | | | | BUG=87295,chromium-os:16138 TEST=launch downloads page (ctrl-j). Right click should bring up a context menu on the body and non-control links. For control links (Show in Finder, Remove From List, Pause, Resume, etc), right click should not bring up a context menu. Right click + Open in New Tab should work correctly on all platforms for files with unicode characters as well as uri special chars +/\@~!'"()#$&,:;=?% Review URL: http://codereview.chromium.org/7308002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92660 0039d316-1c4b-4281-b951-d872f2087c98
* ntp4: small fixesestade@chromium.org2011-07-156-21/+31
| | | | | | | | | | | | | | | 1 - fix horizontal scroll for pagers in rtl 2 - fix page shower hidden logic (don't flash them during page startup) 3 - fix nav dots so you can click the whole vertical space to select them (use a spacer div instead of margin because margins can't be clicked) 4 - fix font color for nav dots (linux doesn't like transparency and we don't need it anyway) 5 - fix z-order of recently closed menu (show on top of footer) BUG=none TEST=manual Review URL: http://codereview.chromium.org/7373015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92640 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling selecting device when new device is added, unless we are in ↵tbarzic@chromium.org2011-07-141-6/+7
| | | | | | | | | | | | | | | initial state. Also, changed button css width property from width to min-width. Multiline button text for longer strings we have in some languages (e.g. Croatian) looks just weird :) TEST=*Make sure that in Croatian button on fail page (start burn and click cancel button) is in a single line *Start burning, when download starts, click cancel, remove and attach removable device to machine and verified that UI does not change. BUG=NONE Review URL: http://codereview.chromium.org/7380002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92607 0039d316-1c4b-4281-b951-d872f2087c98
* Apply CSP to about:conflicts page.tsepez@chromium.org2011-07-142-62/+70
| | | | | | Review URL: http://codereview.chromium.org/7277010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92596 0039d316-1c4b-4281-b951-d872f2087c98
* ntp4: Rip out Linkestade@chromium.org2011-07-141-43/+1
| | | | | | | | | | | this is a class that was going to be used for showing bookmarks in Apps pages, but since we decided to synthesize apps instead we don't need it any more. BUG=none TEST=none Review URL: http://codereview.chromium.org/7361005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92595 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] Update headers, buttons on language change.nkostylev@google.com2011-07-141-9/+48
| | | | | | | | | | | Show first screen header. BUG=chromium-os:17485 TEST=Manual. Changed language, observed that all elements change. Review URL: http://codereview.chromium.org/7369006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92559 0039d316-1c4b-4281-b951-d872f2087c98
* Add WebUI certificate viewer to eventually replace GTK certificate viewer.flackr@chromium.org2011-07-143-0/+166
| | | | | | | | | | | | | | Hidden behind the gyp flag webui_certificate_viewer, this dialog will replace the GTK certificate viewer as part of the nogtk effort. This CL only adds the new certificate viewer but does not use it unless compiled with webui_certificate_viewer=1. This is the first stage, which adds the viewer and only shows the "General" certificate details (As shown in the General tab in the GTK viewer). The next steps are to show the detailed information, resolve some minor display and functionality issues on desktop builds and then make this the standard certificate viewer. BUG=None TEST=Manually viewed certificate details for several secure sites. Review URL: http://codereview.chromium.org/7331016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92541 0039d316-1c4b-4281-b951-d872f2087c98
* In Sync UI config, reset the "custom passphrase" div to hidden.binji@chromium.org2011-07-141-1/+2
| | | | | | | | | | BUG=89015 TEST=manual Review URL: http://codereview.chromium.org/7346033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92462 0039d316-1c4b-4281-b951-d872f2087c98
* Apply content-security-policy to chrome://extensions page.tsepez@chromium.org2011-07-132-398/+462
| | | | | | Review URL: http://codereview.chromium.org/7331043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92449 0039d316-1c4b-4281-b951-d872f2087c98
* Same commit as Issue 7286004: New WebUI Login Screen with Account Picker.saintlou@chromium.org2011-07-137-73/+2556
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7346031 Patch from Fady Samuel <fsamuel@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92439 0039d316-1c4b-4281-b951-d872f2087c98
* PrintPreview: Fix a regression bug.kmadhusu@chromium.org2011-07-131-1/+2
| | | | | | | | | | BUG=89237 TEST=When there is no plugin, dummy plugin is removed from the preview page and an error message is displayed. Review URL: http://codereview.chromium.org/7361002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92436 0039d316-1c4b-4281-b951-d872f2087c98
* Add (uneditable) display of extension keywords to the search engine manager.gbillock@chromium.org2011-07-134-11/+40
| | | | | | | | | | | R=jhawkins BUG=73666 TEST= Review URL: http://codereview.chromium.org/7104121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92431 0039d316-1c4b-4281-b951-d872f2087c98
* add owners filerginda@chromium.org2011-07-131-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7354026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92425 0039d316-1c4b-4281-b951-d872f2087c98
* Add content-security-policy to chrome://view-http-cache, and move scripts to ↵tsepez@chromium.org2011-07-132-13/+13
| | | | | | | | head in chrome://history. Review URL: http://codereview.chromium.org/7310009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92418 0039d316-1c4b-4281-b951-d872f2087c98
* ntp4: slight most visited fixesestade@chromium.org2011-07-131-7/+10
| | | | | | | | | | | | 1. don't show press effects on thumbnail when user is clicking the [x] 2. don't show the [x] on thumbnail focus (the [x] itself is not focusable so it's really a mouse-only control) BUG=none TEST=manual Review URL: http://codereview.chromium.org/7355024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92405 0039d316-1c4b-4281-b951-d872f2087c98
* ntp4: more rtlestade@chromium.org2011-07-135-2/+21
| | | | | | | | | | | tile grid fixes BUG=none TEST=manual (dragging tiles around) Review URL: http://codereview.chromium.org/7355030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92404 0039d316-1c4b-4281-b951-d872f2087c98
* Print Preview: Associating preview requests and responses using an identifierdpapad@chromium.org2011-07-131-17/+38
| | | | | | | | | | BUG=88807, 89106 TEST=NONE Review URL: http://codereview.chromium.org/7313035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92402 0039d316-1c4b-4281-b951-d872f2087c98
* Remove erroneous hide call that broke gpu logging.nduca@chromium.org2011-07-131-1/+0
| | | | | | Review URL: http://codereview.chromium.org/7284016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92399 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] Load OEM EULA in OOBE WebUI.nkostylev@chromium.org2011-07-131-3/+3
| | | | | | | | | | | | Make EULA columns a bit wider. BUG=chromium-os:17331 TEST=Manual. Created manifest with OEM EULA defined. Review URL: http://codereview.chromium.org/7345009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92357 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome://quota-internals/tzik@chromium.org2011-07-132-36/+51
| | | | | | | | | | BUG=84397 TEST=None Review URL: http://codereview.chromium.org/7084024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92356 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI TaskManager: Column Customizationyoshiki@chromium.org2011-07-134-10/+138
| | | | | | | | | | | Show/hide column by clicking the context menu of the table header. BUG=chromium-os:13885 TEST=manual on chromeos-chrome in Linux Review URL: http://codereview.chromium.org/7326044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92323 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land change 7253001.sanjeevr@chromium.org2011-07-131-0/+19
| | | | | | | | | | | | | This change was reverted in r90547 due to unrelated test failures. BUG=None TEST=Unit-tests. Review URL: http://codereview.chromium.org/7348001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92317 0039d316-1c4b-4281-b951-d872f2087c98
* Initial support for cloudprint in print preview.abodenha@chromium.org2011-07-133-38/+659
| | | | | | | | | | | | | | | | | | | | | | To enable in Windows/Mac/Linux pass "--enable-cloud-print --enable-print-preview" on the command line. To enable in ChromeOS open about:flags and enable print preview. This first pass extends the print preview UI to retrieve a printer list from cloud print and to allow printing to a cloud print printer. Limitations/known issues: Sign in opens a new tab and requires the print preview page to be refreshed after sign in. Only pulls the first 10 GCP printers. Job settings are very limited. Only sets color and only for a limited set of printers. BUG=80004 TEST= When running with default flags the only visible change should be that "Manage Printers" is now "Manage Local Printers" With flags set as above there should be new entries in the printer selection dropdown allowing the use of cloud printers. It should be possible to sign in to cloud print, open the management page, and be able to print documents to cloud printers. Review URL: http://codereview.chromium.org/7038028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92275 0039d316-1c4b-4281-b951-d872f2087c98
* Resource cleanup and de-dupingestade@chromium.org2011-07-124-4/+3
| | | | | | | | | | | | | | | | | | | | - remove duplicate code between most_visited_handler.cc and top_sites.cc - remove dead code in most_visited_handler.cc - remove duplicate favicon resources - update favicon resources by adding 32x32s resource for NTP stock most visited pages - uniformly refer to PRODUCT_NAME rather than sometimes using "google chrome" in chromium builds on the NTP - consolidate some resources (IDR_CHROME_STORE_PAGE_FAVICON and IDR_WESBTORE_ICON_16 for example) - remove unused thumbnail for webstore (which is slightly distinct from the themes gallery because there's no &category=theme in the URL) as a precursor, I had to add an icon to chrome/app/theme/google_chrome (internal repository) as a cleanup after, I will have to remove an icon from the same BUG=none TEST=trybots; manual Review URL: http://codereview.chromium.org/7342001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92249 0039d316-1c4b-4281-b951-d872f2087c98
* ntp4: Most Visited appearance refreshestade@chromium.org2011-07-125-199/+61
| | | | | | | | | | | match new mocks: remove edit bar, don't allow drag-reorder, move close button into thumbnail, add hover/active effects to thumbnail BUG=none TEST=manual Review URL: http://codereview.chromium.org/7342017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92242 0039d316-1c4b-4281-b951-d872f2087c98
* File Manager: refactor metadata readers, show metadata in UIrginda@chromium.org2011-07-1215-755/+1178
| | | | | | | | | | | | | This is a work-in-progress refactoring. I was hoping to have it done by now, but just discovered today that Chrome already has support for some of the ByteReader functionality, including the only reliable way to deal with signed/unsigned numbers. This isn't working yet, and so it may change a bit more before landing, but please feel free to suggest changes now. BUG=chromium-os:17498 TEST=manual testing on chromeos-chrome on linux Review URL: http://codereview.chromium.org/7322001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92201 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] Add support for help and proxy dialogs in OOBE WebUI.nkostylev@google.com2011-07-121-1/+4
| | | | | | | | | | | | | Fix bug with 2 similar buttons on EULA screen. Learn more help dialog that is triggered on EULA screen has issue with focusing but I'll address that later. BUG=chromium-os:17337 TEST=Manual. Opened proxy dialog, "learn more" help dialog. Review URL: http://codereview.chromium.org/7329022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92170 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the deprecated functions to show about:terms from about:plugins.msw@chromium.org2011-07-121-7/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7285046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92104 0039d316-1c4b-4281-b951-d872f2087c98
* Fix options overlay hiding if one is hidden and another immediately shown.mattm@chromium.org2011-07-121-1/+11
| | | | | | | | | BUG=81648 TEST=see bug Review URL: http://codereview.chromium.org/7285043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92103 0039d316-1c4b-4281-b951-d872f2087c98
* Print Preview: Removing unnecessary timer.dpapad@chromium.org2011-07-122-10/+3
| | | | | | | | | | | | Also making the previewed doc to fit to height always instead of fitting to width for landscape layout. BUG=88805 TEST=See bug description. Review URL: http://codereview.chromium.org/7324055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92094 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI TaskManager: Enlarge buttons to the same sizes as on filemanager.yoshiki@chromium.org2011-07-121-0/+4
| | | | | | | | | BUG=88732 TEST=manual on chromeos-chrome in linux Review URL: http://codereview.chromium.org/7324044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92092 0039d316-1c4b-4281-b951-d872f2087c98
* ntp4: default App page nameestade@chromium.org2011-07-121-1/+18
| | | | | | | | | BUG=none TEST=manual Review URL: http://codereview.chromium.org/7313034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92091 0039d316-1c4b-4281-b951-d872f2087c98
* Use JSON for net-internals log dumps and make them loadable.mmenke@chromium.org2011-07-1117-628/+759
| | | | | | | | BUG=87320 TEST=manual Review URL: http://codereview.chromium.org/7215037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92061 0039d316-1c4b-4281-b951-d872f2087c98
* [ChromeOS] Wire WebUILoginDisplay::ShowError with webui login.xiyuan@chromium.org2011-07-111-3/+18
| | | | | | | | | | | | | | | - Add a BaseLoginUIHandler interface for WebUILoginDisplay to call into webui login handler; - Generate error text in WebUILoginDisplay and pass them into webui login handlers; - Dummy implemenation to just reset input UI when there is an error; BUG=chromium-os:17410 TEST=Verify that authentication failure should reset sign-in UI. Review URL: http://codereview.chromium.org/7331024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92052 0039d316-1c4b-4281-b951-d872f2087c98
* ntp4: webstore iconestade@chromium.org2011-07-111-17/+1
| | | | | | | | | | | acts like a normal app, but you can't uninstall it. BUG=none TEST=none Review URL: http://codereview.chromium.org/7227028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92049 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI TaskManager: bundle same-process tasks with one rowyoshiki@chromium.org2011-07-112-37/+51
| | | | | | | | | | | | | | Task manager should bundle same-process tasks to make select them easier. As this CL, the same-process resources are grouped and WebUI task manager treats tasks not as resource-by-resource but as group-by-group. Converting between index of resource and index of group is in task_manager_handler.cc. BUG=chromium-os:13885 TEST=manual on chromeos-chrome in Linux Review URL: http://codereview.chromium.org/7329014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91994 0039d316-1c4b-4281-b951-d872f2087c98
* Print Preview: Refactoring/Cleanup, Making pages settings an object.dpapad@chromium.org2011-07-094-250/+410
| | | | | | | | | | | | Moving all page selection related stuff within PagesSettings class. BUG=88098 TEST=NONE Review URL: http://codereview.chromium.org/7302006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91944 0039d316-1c4b-4281-b951-d872f2087c98
* ntp4: fix some RTL issuesestade@chromium.org2011-07-084-16/+29
| | | | | | | | | | | | | card slider and page switchers are fixed. there are more rtl issues I didn't even attempt yet (e.g. tiles are currently ordered backwards for RTL) BUG=none TEST=manual Review URL: http://codereview.chromium.org/7330005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91894 0039d316-1c4b-4281-b951-d872f2087c98
* [ChromeOS] Split oobe webui into screensxiyuan@chromium.org2011-07-0812-143/+508
| | | | | | | | | | | And add a placeholder signin screen; BUG=chromium-os:17341 TEST=Sign-in in oobe should work. Usually flow should work as well except that account picker is not visible and shows oobe background. Also authentication failure is not handled. Review URL: http://codereview.chromium.org/7312030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91885 0039d316-1c4b-4281-b951-d872f2087c98
* [ntp4] Persist app page names in preferences.csilv@chromium.org2011-07-086-36/+43
| | | | | | | | | | | Persist app page names in the preferencs file after a user makes an edit. Also remove pageName from tile pages, its obsolete. TODO: Perform necessary steps to get this data synced with the 'apps' sync type. (The previous CL was reverted due to a bug that caused test failures. This has been fixed.) Review URL: http://codereview.chromium.org/7277090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91883 0039d316-1c4b-4281-b951-d872f2087c98
* Autofill button should get enabled and disabled according to the policy value.pastarmovj@chromium.org2011-07-081-0/+9
| | | | | | | | | | BUG=82912 TEST=Manually set the policy and observe the button gets disabled. Review URL: http://codereview.chromium.org/7322014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91882 0039d316-1c4b-4281-b951-d872f2087c98
* Showing confirmation box when the user tries to make file or folder name ↵serya@chromium.org2011-07-081-1/+8
| | | | | | | | | | | | starting with dot. BUG=chromium-os:15620 TEST=Save a file, rename a file or folder, create a new folder. Try to start the name with dot. Review URL: http://codereview.chromium.org/7236034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91879 0039d316-1c4b-4281-b951-d872f2087c98
* Disable chrome://options UI elements if the corresponding preference is not ↵bauerb@chromium.org2011-07-083-27/+18
| | | | | | | | | | user-modifiable. BUG=88341 Review URL: http://codereview.chromium.org/7310003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91844 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] Fixes hanging on the OOBE's network screen.altimofeev@chromium.org2011-07-082-12/+13
| | | | | | | | | | | | | | Also a couple of minor fixes: - Menu width changed: 150 -> 250 - Setup font size and direction when updating the content. - Refresh network control position, when updating the content. BUG=chromium-os:17338 TEST=manual Review URL: http://codereview.chromium.org/7329018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91840 0039d316-1c4b-4281-b951-d872f2087c98
* Escape file path in file:// urlachuith@chromium.org2011-07-081-1/+1
| | | | | | | | | BUG=NONE TEST=Save a file with characters @!'() #$&,;=. Click on it in the downloads panel and it should launch correctly. Review URL: http://codereview.chromium.org/7324012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91837 0039d316-1c4b-4281-b951-d872f2087c98
* User Settings on CrOS now shows the managed banner for enrolled devices.pastarmovj@chromium.org2011-07-081-3/+5
| | | | | | | | | | | | | | | ...instead of the the "These settings may only be modified by the owner:<blank>" as it was until now. Also correctly wired the managed state of the local_state cache of SignedSettings prefs to be set to true when the device is enrolled. BUG=chromium-os:16058 TEST=Enroll the device and go to user settings. The yellow banner should be there. Review URL: http://codereview.chromium.org/7171018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91825 0039d316-1c4b-4281-b951-d872f2087c98
* Add ability to play and enqueue avi files to file manager.ihf@chromium.org2011-07-071-0/+4
| | | | | | | | BUG=87831 TESTS=none Review URL: http://codereview.chromium.org/7237036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91757 0039d316-1c4b-4281-b951-d872f2087c98
* ntp4: some context menu fixesestade@chromium.org2011-07-076-6/+19
| | | | | | | | | | | | | 1 - z-order: make it show on top of the footer 2 - disable uninstall when appropriate 3 - fix appearance of disabled items on linux/gtk (applies to all places menu.js is used) BUG=none TEST=see above Review URL: http://codereview.chromium.org/7227025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91740 0039d316-1c4b-4281-b951-d872f2087c98