summaryrefslogtreecommitdiffstats
path: root/chrome/app
Commit message (Collapse)AuthorAgeFilesLines
* Strings for default browser infobar.ben@chromium.org2009-05-013-0/+19
| | | | | | | http://crbug.com/9049 Review URL: http://codereview.chromium.org/100267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15073 0039d316-1c4b-4281-b951-d872f2087c98
* Increase the firstrun bubble width for Tamil.jungshik@google.com2009-05-011-1/+1
| | | | | | | | | | | | To be merged with 2.0 (172) branch. BUG=http://crbug.com/11208 TBR=mal Review URL: http://codereview.chromium.org/99260 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15060 0039d316-1c4b-4281-b951-d872f2087c98
* Enables key view loop autorecalculation in the BrowserWindow on Mac. This fixesrohitrao@chromium.org2009-05-011-1/+1
| | | | | | | | | | | | a bug where you would cycle through a background tab's links even after selecting a different tab. TEST=Open Chromium. Open a new tab. Press tab and verify that we are correctly cycling through the links in the new tab. Review URL: http://codereview.chromium.org/100233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15057 0039d316-1c4b-4281-b951-d872f2087c98
* Adjust the Options dlg height for gu to 36.jungshik@google.com2009-04-301-1/+1
| | | | | | | | | | This needs to be merged with 2.0 (172.x) branch. TBR=mal BUG=11198 Review URL: http://codereview.chromium.org/100218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14975 0039d316-1c4b-4281-b951-d872f2087c98
* Add notification (and unit test) for closing prefs window so it can be ↵pinkerton@chromium.org2009-04-301-1/+9
| | | | | | | | cleaned up properly in the app controller. Make the prefs window controller the window's delegate so it gets close notifications. Review URL: http://codereview.chromium.org/99238 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14967 0039d316-1c4b-4281-b951-d872f2087c98
* Add a very basic preferences window controller with unit test. Fix the prefs ↵pinkerton@chromium.org2009-04-301-5/+24
| | | | | | | | nib to know the FileOwner is a NSWindowController and hook them together. Review URL: http://codereview.chromium.org/102015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14958 0039d316-1c4b-4281-b951-d872f2087c98
* Initial prefs window xib from Cole. Hook the menu up to (empty) code. Use ↵pinkerton@chromium.org2009-04-302-5/+3813
| | | | | | | | scoped pointers to manage memory. Review URL: http://codereview.chromium.org/100206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14945 0039d316-1c4b-4281-b951-d872f2087c98
* Add a dark selected icon set for the Omnibox results.deanm@chromium.org2009-04-306-0/+5
| | | | | | | | | This is used for Linux, where we're currently not doing inverse selection. Review URL: http://codereview.chromium.org/100207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14944 0039d316-1c4b-4281-b951-d872f2087c98
* Make "Reopen closed tab" be "Reopen closed window" when a window is the top ↵pkasting@chromium.org2009-04-291-40/+44
| | | | | | | | | | item on the closed tabs stack. Original patch by Miranda Callahan (see http://codereview.chromium.org/100054 ), r=me. BUG=11183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14910 0039d316-1c4b-4281-b951-d872f2087c98
* A better fix for http://www.crbug.com/2044: crashsenorblanco@chromium.org2009-04-292-0/+8
| | | | | | | | | | | | | | | | | | | | | | on large <canvas> elements. We disable the __debugbreak only when skia tells us it is prepared to correctly handle a failed (NULL) malloc(). It does this by calling sk_malloc_flags() without SK_MALLOC_THROW. Note that, since the switch to tcmalloc, the new_handler was not getting called at all (since tcmalloc doesn't support it yet), so this crash is currently unreproducible in trunk. In order to test this change, I reverted the tcmalloc change in my client. This is not the case in the stable branch, since it doesn't use tcmalloc, so this change is still needed there. (It will also be needed in trunk again once mbelshe's re-implementation of the new_handler is in). BUG=http://www.crbug.com/2044 Review URL: http://codereview.chromium.org/100163 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14891 0039d316-1c4b-4281-b951-d872f2087c98
* Add descriptive text for omnibox popup result items.ben@chromium.org2009-04-297-0/+8
| | | | | | | | | | | | | | Fixes a couple of bugs in painting and updating: - properly size the canvas we draw the child views into so the bottom pixel doesn't bleed - properly schedule repaints when the presentation changes for the same number of results so that we repaint selection changes. Back to using system colors. Adds highlight icons. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=14826 Review URL: http://codereview.chromium.org/99102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14873 0039d316-1c4b-4281-b951-d872f2087c98
* Add a hook for using the std::set_new_handler().mbelshe@google.com2009-04-291-9/+2
| | | | | | | | This is what tcmalloc uses to hook out-of-memory cases. Review URL: http://codereview.chromium.org/99090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14847 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling back webkit-gyp switch. r14382bradnelson@google.com2009-04-2951-52/+52
| | | | | | Review URL: http://codereview.chromium.org/99182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14837 0039d316-1c4b-4281-b951-d872f2087c98
* Switching webkit over to gyp on windows.bradnelson@google.com2009-04-2951-52/+52
| | | | | | Review URL: http://codereview.chromium.org/99173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14832 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 14826.ben@chromium.org2009-04-297-8/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14828 0039d316-1c4b-4281-b951-d872f2087c98
* Add descriptive text for omnibox popup result items.ben@chromium.org2009-04-297-0/+8
| | | | | | | | | | | | Fixes a couple of bugs in painting and updating: - properly size the canvas we draw the child views into so the bottom pixel doesn't bleed - properly schedule repaints when the presentation changes for the same number of results so that we repaint selection changes. Back to using system colors. Adds highlight icons. Review URL: http://codereview.chromium.org/99102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14826 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress a GTK warning and file a bug for it.estade@chromium.org2009-04-291-3/+9
| | | | | | | | BUG=11133 Review URL: http://codereview.chromium.org/99153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14811 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Google Chrome build by moving Chromium specific string resource to ↵kuchhal@chromium.org2009-04-282-3/+3
| | | | | | | | | | | common place. TBR=pinkerton Review URL: http://codereview.chromium.org/100137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14797 0039d316-1c4b-4281-b951-d872f2087c98
* Add Hindi to the default accept-language list of Gujarati, Telugujungshik@google.com2009-04-283-3/+3
| | | | | | | | | | | | | and Marathi (before English) because the speakers of those Indian langauges are pretty likely to comprehend Hindi. To be merged with 2.0 (172.x) branch. No bug TBR=mal Review URL: http://codereview.chromium.org/99139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14770 0039d316-1c4b-4281-b951-d872f2087c98
* Support for tabs reaching a threshold before tearing off (magnetism), ↵pinkerton@chromium.org2009-04-282-25/+30
| | | | | | showing position of where the tab will go in the destination tab strip. Use new close box icon. Don't draw the tab title over the close box. Patch from alcor@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14758 0039d316-1c4b-4281-b951-d872f2087c98
* Make the font scale and the font family to use for UI 'OS-dependent' (Win XP ↵jungshik@google.com2009-04-2850-65/+171
| | | | | | | | | | | | | | | | | | | | vs Win Vista/ Win 7). In r13773, the localizable font size/family override was added to work around the tiny font issue for some Indian languages. Initially, I thought the 'tiny UI font' issue was completely taken care of on Vista/Win 7 (it's resolved for Malayalam) and added a check for that. It turned out that Indian fonts on Vista and Windows 7 were updated, but the issue has not been resolved. As a result, he scale and the fonts for Windows XP do not work on Vista/Win 7 and we need to use different values for Vista/Win 7. Note that what this CL does (having separate resource entries in a single reosource bundle for Win XP and Vista/Win 7 and picking one at run-time) is a temporary work-around for the branch and for the trunk, we need to have a better way of handling platform-dependent resources. It's not just for different flavors of Windows but also for taking care of differences between Win, Mac and Linux. BUG=7319 TEST=On Vista/Win7/Win XP, run Chrome with '--lang=XX' where XX is hi, mr, kn, gu, te, ta, bn, ml (and or on Vista/Win 7) and make sure that UI font size looks ok and there's no truncated strings/dialog box. Review URL: http://codereview.chromium.org/92135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14736 0039d316-1c4b-4281-b951-d872f2087c98
* New close box images.pinkerton@chromium.org2009-04-283-0/+5146
| | | | | | Review URL: http://codereview.chromium.org/100109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14735 0039d316-1c4b-4281-b951-d872f2087c98
* Should handle the events when no printer is detected on localmaruel@chromium.org2009-04-281-1/+4
| | | | | | | | | | | | | | | | | machineGetDefaultPrintSettings was returning an empty struct because no printer is installed. Checking when its empty will allow us to know that a printer is missing on that system. There is clearly no other way to do this, unless we do not do all those dchecks on dpi and other struct members.BUG=6835TEST=Tested only on windows, since linux/mac printing not even implemented. Removed all printer drivers, opened chromium, and ran a print job, popup dialog appeared stating no printer installed. Installed my printer drivers again, print dialog appeared. Patch contributed by Mohamed Mansour <m0.interactive@gmail.com> Review: http://codereview.chromium.org/100023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14731 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Make --user-data-dir work when it doesn't exist.agl@chromium.org2009-04-271-1/+1
| | | | | | | | | | | | | | | | | Previously, --user-data-dir called PathService::Override which called AbsolutePath. On POSIX, this calls realpath and fails if the given path doesn't actually exist. We need to do this on Windows because we change the current directory in order to load plugins (at least). However, on POSIX we shouldn't ever change cwd. So, on POSIX, don't try to make the user-data-dir absolute. TEST=On POSIX, start chrome with --user-data-dir=/tmp/xyz (where xyz is a directory which doesn't exist). Once running, check that /tmp/xyz exists and contains the expected files. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14679 0039d316-1c4b-4281-b951-d872f2087c98
* Add menu tag to View + Encoding menus.jeremy@chromium.org2009-04-272-1/+4
| | | | | | Review URL: http://codereview.chromium.org/99083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14672 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to get multi-process plug-in scaffolding building on Mac.pinkerton@chromium.org2009-04-271-4/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14656 0039d316-1c4b-4281-b951-d872f2087c98
* Now that we have file dialogs, we might as well hook up "Open File" on the Mac.avi@google.com2009-04-271-1/+11
| | | | | | Review URL: http://codereview.chromium.org/93145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14625 0039d316-1c4b-4281-b951-d872f2087c98
* Update OS error message.kuchhal@chromium.org2009-04-272-2/+2
| | | | | | | | | BUG=6381 Review URL: http://codereview.chromium.org/99009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14610 0039d316-1c4b-4281-b951-d872f2087c98
* Fill in a bunch of missing menu items: Stop, Reload, History, Downloads, ↵pinkerton@chromium.org2009-04-271-8/+229
| | | | | | | | Clear browsing data, etc. Review URL: http://codereview.chromium.org/100043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14606 0039d316-1c4b-4281-b951-d872f2087c98
* New drop of string translations.mal@chromium.org2009-04-2698-372/+3173
| | | | | | | | | Includes translations for strings uploaded as of 1 April. Lithuanian, Russian, and Serbian are not finalized. Review URL: http://codereview.chromium.org/99035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14559 0039d316-1c4b-4281-b951-d872f2087c98
* First cut at adding a map between strings names and resource ids.tc@google.com2009-04-242-0/+6
| | | | | | | | | | | | | This creates a mapping for all the entries in the theme_resources.grd file and adds a static method for querying the mapping. BUG=10639 Review URL: http://codereview.chromium.org/92085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14443 0039d316-1c4b-4281-b951-d872f2087c98
* Minor string changes:mal@chromium.org2009-04-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 1. Change Clear All to Clear all (Sentence case for all labels) 2. Remove 'uncompleted' from the downloads in progress confirm, and change 'remove' to just 'cancel' in all cases. R= glen BUG= 10954 TEST= Ctrl+J and check that the label in the upper right is 'Clear all' with a lower-case a. TEST= Close the browser with a download in progress and verify that the prompt is "You have 1 download(s) in progress. If you close Google Chrome now, these downloads will be canceled." and the cancel button is "Close and cancel downloads" Review URL: http://codereview.chromium.org/92114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14410 0039d316-1c4b-4281-b951-d872f2087c98
* Print backtraces on FATAL log messages in debug mode.ajwong@chromium.org2009-04-241-0/+1
| | | | | | | | This provides basic support for looking up backtrace information on GNU libc systems and in Windows. The code is only enabled for FATAL log messages in debug mode. In a release build, it is unlikely that symbols will be available making the backtrace less useful. Review URL: http://codereview.chromium.org/62140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14391 0039d316-1c4b-4281-b951-d872f2087c98
* linux (and some posix): multiprocess plugins compiling.evan@chromium.org2009-04-231-1/+5
| | | | | | | | | | | | | | | | | | | The goal of this change is to *not* make any behavioral change, but to instead just get all the plugin-related files linking on Linux with a bunch of NOTIMPLEMENTED()s in the appropriate places. It's enormous enough already without any refactorings or new features. Changes include: - Lots of gcc warning fixes. - Use portable replacements for Windows-specific functions (_strdup, etc.). - Use TransportDIB instead of just shared memory in the plugin messaging. Note that this is not fleshed out on Linux and on Windows it just hacks in the existing handles so there should be no functional change. - Fix --plugin-launcher to use cross-platform APIs. Review URL: http://codereview.chromium.org/79020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14338 0039d316-1c4b-4281-b951-d872f2087c98
* Add a warning about why we kill the process when it's out of memory.brettw@chromium.org2009-04-231-0/+5
| | | | | | Review URL: http://codereview.chromium.org/95002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14318 0039d316-1c4b-4281-b951-d872f2087c98
* Adds missing file from last patch.sky@chromium.org2009-04-231-0/+0
| | | | | | | | | | BUG=9022 TEST=none TBR=glen Review URL: http://codereview.chromium.org/95008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14310 0039d316-1c4b-4281-b951-d872f2087c98
* Changes closed windows on the new tab page to show the Chromium/Chromesky@chromium.org2009-04-233-3/+10
| | | | | | | | | | | | | | icon and the text to show the number of closed windows. BUG=9022 TEST=With more than one window open close a window. Go to the new tab page and make sure you see an entry for the closed window. The entry should have the chrome/chromium logo and instead of 'Window' it should say the number of tabs in the window. Review URL: http://codereview.chromium.org/92022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14309 0039d316-1c4b-4281-b951-d872f2087c98
* Adjust the width and the height of options dialog (Tamil) and jungshik@google.com2009-04-234-17/+17
| | | | | | | | | | | | first-run dialog (ta,kn,te,ml) BUG=10687 Review URL: http://codereview.chromium.org/88017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14277 0039d316-1c4b-4281-b951-d872f2087c98
* Last chunk of OS X Breakpad integration:jeremy@chromium.org2009-04-224-69/+108
| | | | | | | | | | * Link agasint Breakpad from public svn repo. * Bump DEPS to new svn rev of Breakpad with fixes for 10.5 compilation. * Fill in code to differentiate between processes types in crash report. Review URL: http://codereview.chromium.org/88043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14245 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DIR_SOURCE_ROOT to work in bundles like Chromium.app. Add more ui tests. ↵pinkerton@chromium.org2009-04-221-0/+3
| | | | | | | | Add a resource for tabs with no title on mac. Fix window title reporting. Remove the Browser dependency from the tab strip (only needs a TabStripModel). Review URL: http://codereview.chromium.org/93025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14212 0039d316-1c4b-4281-b951-d872f2087c98
* Enable tcmalloc. This is to do more runs on the bbot. will revert after ↵mbelshe@google.com2009-04-221-0/+5
| | | | | | testing. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14177 0039d316-1c4b-4281-b951-d872f2087c98
* Revert bbot test.mbelshe@google.com2009-04-221-5/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14176 0039d316-1c4b-4281-b951-d872f2087c98
* Enable tcmalloc in chrome.dllmbelshe@google.com2009-04-221-0/+5
| | | | | | Review URL: http://codereview.chromium.org/87049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14175 0039d316-1c4b-4281-b951-d872f2087c98
* Handle file drops and URL open requests. Along with declaring that we handle ↵avi@google.com2009-04-211-0/+140
| | | | | | | | the http scheme, this allows Chromium to be set as a default browser for the Mac. Review URL: http://codereview.chromium.org/87043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14134 0039d316-1c4b-4281-b951-d872f2087c98
* ProxyConfigService for Linux.sdoyon@chromium.org2009-04-201-1/+12
| | | | | | | | | | | | | | | Establishes a ProxyConfig by reading settings from gconf or consulting environment variables. BUG=8143 Thanks to ermilov.maxim@gmail.com for his contribution: some ideas< and code snippets from his patch were folded into this one. (See http://codereview.chromium.org/49009) Review URL: http://codereview.chromium.org/60009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14034 0039d316-1c4b-4281-b951-d872f2087c98
* Initial implementation of the FindBar on Mac.rohitrao@chromium.org2009-04-172-19/+543
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13969 0039d316-1c4b-4281-b951-d872f2087c98
* On uninstall ask whether to delete profile.kuchhal@chromium.org2009-04-172-2/+8
| | | | | | | | | BUG=8431 Review URL: http://codereview.chromium.org/62097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13926 0039d316-1c4b-4281-b951-d872f2087c98
* Re-word this menu item.ben@chromium.org2009-04-171-1/+1
| | | | | | | | TBR=glen Review URL: http://codereview.chromium.org/77015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13916 0039d316-1c4b-4281-b951-d872f2087c98
* Augment time_format.h/.cc to format elapsed time also.munjal@chromium.org2009-04-161-0/+244
| | | | | | Review URL: http://codereview.chromium.org/67186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13874 0039d316-1c4b-4281-b951-d872f2087c98
* Use tab to group "Show saved passwords" and "Exceptions"hclam@chromium.org2009-04-151-27/+29
| | | | | | | | | | | BUG=9026 "Show saved passwords" and "Exceptions" were splited into 2 dialogs, group together in one single dialog with different pages by tabbing. Review URL: http://codereview.chromium.org/67055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13786 0039d316-1c4b-4281-b951-d872f2087c98