summaryrefslogtreecommitdiffstats
path: root/chrome/app
Commit message (Collapse)AuthorAgeFilesLines
* Send browser crashes to Apple Crash Reporters.jeremy@chromium.org2009-08-121-1/+11
| | | | | | | | | | | Send crashes to Apple Crash Reporters so we get a nice UI to restart the Browser process if it crashes. BUG=9231 TEST=Induce a browser crash in a Chrome build, Apple Crash reporter UI should appear aftera few seconds. Induce a renderer crash, no UI should be displayed. Review URL: http://codereview.chromium.org/164433 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23237 0039d316-1c4b-4281-b951-d872f2087c98
* (Mac) Fix "Print..." menu entry in File menu (showed as "Email Pageavi@chromium.org2009-08-121-4/+4
| | | | | | | | | | | | Location"). Patch by viettrungluu. BUG=http://crbug.com/19172 TEST=Go to File menu and look. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23227 0039d316-1c4b-4281-b951-d872f2087c98
* Move the menu bar l10n into the xib file.thomasvl@chromium.org2009-08-121-22/+71
| | | | | | | | | | | | Localize the menu bar titles. Have the browser platform delegate startup the resource bundle system so we can fetch localization data. Make l10n_util::GetApplicationLocale return what cocoa says for the language so we match what the UI is using. TEST=everything still works. BUG=17380 Review URL: http://codereview.chromium.org/164413 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23215 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Playback Rate from the context menu.scherkus@chromium.org2009-08-121-19/+0
| | | | | | | | | | This feature is better implemented as an extension rather than being put into the absolute-core UI. Review URL: http://codereview.chromium.org/164301 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23208 0039d316-1c4b-4281-b951-d872f2087c98
* Add new icons to Chrome executable.kuchhal@chromium.org2009-08-121-0/+2
| | | | | | | | | BUG=2047272 TEST=none Review URL: http://codereview.chromium.org/164353 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23191 0039d316-1c4b-4281-b951-d872f2087c98
* Fix several bugs in First Run.jeremy@chromium.org2009-08-121-3/+67
| | | | | | | | | | | | | | | Chromium: * First run no longer displays every time you launch Chromium. * Enable Stats checkbox hidden (it doesn't do anything anyway in Chromium). General: * Import popup menu disables with checkbox. BUG=19163,19171 Review URL: http://codereview.chromium.org/165387 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23188 0039d316-1c4b-4281-b951-d872f2087c98
* Add a default icon for theme install infobar.glen@chromium.org2009-08-122-0/+1
| | | | | | | | | BUG=18227 TEST=Install a theme, verify that an infobar with a pretty icon appears. Review URL: http://codereview.chromium.org/165205 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23126 0039d316-1c4b-4281-b951-d872f2087c98
* Add "dangerous download" view on OS X, for now for dmg files. Also fix ↵thakis@chromium.org2009-08-111-5/+290
| | | | | | | | | | | download item layout. BUG=14667,17831 TEST=Download a dmg file. Make sure the "dangerous download" view appears. Check that both buttons work, and that the dmg filename is elided correctly. Also test that "Remove" on a normal download item's context menu relayouts the remaining items on the shelf. Review URL: http://codereview.chromium.org/165295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23103 0039d316-1c4b-4281-b951-d872f2087c98
* First Run Import Progress UI.jeremy@chromium.org2009-08-112-0/+748
| | | | | | | | | | | First run code needed some reworking in order to get things in order for progress notification. BUG=18773 TEST=When importing another browser's settings, a progress dialog should be displayed. Review URL: http://codereview.chromium.org/164290 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23080 0039d316-1c4b-4281-b951-d872f2087c98
* Add a first attempt at a compact location bar and a status bar. The status barbrettw@chromium.org2009-08-117-0/+8
| | | | | | | | contains a clock, an application menu, and a non-working battery indicator. The compact location bar can be toggled by COMPACT_NAV_BAR in browser_window_gtk.cc Review URL: http://codereview.chromium.org/165272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23070 0039d316-1c4b-4281-b951-d872f2087c98
* Make the theme install infobar have an 'undo' button insteadaa@chromium.org2009-08-111-2/+2
| | | | | | | | | | | of a 'back to default' button. BUG=18986 TEST=none Review URL: http://codereview.chromium.org/164312 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23055 0039d316-1c4b-4281-b951-d872f2087c98
* Blocked Resource Responsesidanan@chromium.org2009-08-111-0/+11
| | | | | | | | | | | | | Added resources used for replacing HTML elements when they are blocked. These were modeled after the malware response page. BUG=16932 TEST=none Review URL: http://codereview.chromium.org/164158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23036 0039d316-1c4b-4281-b951-d872f2087c98
* Set Mac creator signature to 'rimZ' (Google Chrome) and 'Cr24' (Chromium)mark@chromium.org2009-08-111-1/+1
| | | | | | Review URL: http://codereview.chromium.org/165290 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23018 0039d316-1c4b-4281-b951-d872f2087c98
* ObjC classes generated by the build and used in Xib files is already getting ↵thomasvl@chromium.org2009-08-115-44/+45
| | | | | | | | | | | | | | | | ugly, if they aren't built at build start, IB sometimes throws warnings about unknown things, so... - Use one class for the localizer and generate the table that drives it. - Update the generator script to process a list of xib files and generate one header. - Update the data within the GYP file to do this. - This might actually help overall size since it helps force one set of strings for each different window. - Switch to bsearch for table lookup since we have one, larger table now. TEST=none BUG=none Review URL: http://codereview.chromium.org/164260 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23017 0039d316-1c4b-4281-b951-d872f2087c98
* Re-commit r22981 after backout at r22992. Contains fixes to relocatemark@chromium.org2009-08-111-2/+0
| | | | | | | | | | | | | | | | plugin_carbon_interpose.dylib from the outer browser app bundle to the inner helper app bundle. Provide a separate app bundle for subprocesses like the renderer on the Mac. Remove LSUIElement and related hacks from the browser's app bundle. BUG=8044 TEST=Observe one Chromium and one or more Chromium Helper processes in Activity Monitor Review URL: http://codereview.chromium.org/164177 Review URL: http://codereview.chromium.org/164303 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23006 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Fix "crashed extension" infobar browser crashes."phajdan.jr@chromium.org2009-08-111-2/+2
| | | | | | | | Will it fix browser_tests crashes on Vista? Review URL: http://codereview.chromium.org/165287 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22998 0039d316-1c4b-4281-b951-d872f2087c98
* Back out r22981, it may have caused Windows test failures.mark@chromium.org2009-08-111-0/+2
| | | | | | Review URL: http://codereview.chromium.org/164298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22992 0039d316-1c4b-4281-b951-d872f2087c98
* Fix "crashed extension" infobar browser crashes.phajdan.jr@chromium.org2009-08-111-2/+2
| | | | | | | | | | | | This is a general rework of how "crashed extension" infobar works and how the extension is actually recovered after the crash. TEST=See bug. http://crbug.com/15888 Review URL: http://codereview.chromium.org/164151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22985 0039d316-1c4b-4281-b951-d872f2087c98
* Provide a separate app bundle for subprocesses like the renderer on the Mac.mark@chromium.org2009-08-113-2/+46
| | | | | | | | | | | Remove LSUIElement and related hacks from the browser's app bundle. BUG=8044 TEST=Observe one Chromium and one or more Chromium Helper processes in Activity Monitor Review URL: http://codereview.chromium.org/164177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22981 0039d316-1c4b-4281-b951-d872f2087c98
* Mask the close button on the download shelf so that it's visible even in ↵mirandac@chromium.org2009-08-111-0/+1
| | | | | | | | | | | dark themes. BUG= http://crbug.com/18451 TEST= Install a dark theme, cause download shelf to appear, note that the close button is visible. Review URL: http://codereview.chromium.org/164276 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22980 0039d316-1c4b-4281-b951-d872f2087c98
* Add an image to mask the download shelf close button so that themes don't hidemirandac@chromium.org2009-08-101-0/+0
| | | | | | | | | | it. BUG= http://crbug.com/18451 TEST= none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22970 0039d316-1c4b-4281-b951-d872f2087c98
* Use new tag/channel API for Keystone.jrg@chromium.org2009-08-102-4/+37
| | | | | | Review URL: http://codereview.chromium.org/164224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22969 0039d316-1c4b-4281-b951-d872f2087c98
* Change "Cancelled" to "Canceled". Original patch by Thiago Farina (see ↵pkasting@chromium.org2009-08-101-6/+6
| | | | | | | | | http://codereview.chromium.org/165097 ), r=me. BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22933 0039d316-1c4b-4281-b951-d872f2087c98
* add "remove" to download item context menu on macthakis@chromium.org2009-08-101-65/+94
| | | | | | | | | BUG=60 TEST=Download something, open context menu, click "remove" -- item should be removed from shelf. It leaves a hole behind right now (bug 17831), will fix that later. Review URL: http://codereview.chromium.org/160444 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22893 0039d316-1c4b-4281-b951-d872f2087c98
* Latest translated strings.mal@chromium.org2009-08-0898-1393/+3647
| | | | | | | | | | Updated to include google_chrome_strings_*.xtb. BUG= None TEST= None Review URL: http://codereview.chromium.org/165209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22861 0039d316-1c4b-4281-b951-d872f2087c98
* GTK Theme: Use Glen's new non-bordererg@google.com2009-08-0813-0/+10
| | | | | | | | | | | | Imports Glen's new icons, and creates centered versions of all of them. Then use these icons in the GTK theme interface. Also selects the button tinting color to be a lighter color on some very dark backgrounds. Review URL: http://codereview.chromium.org/164202 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22839 0039d316-1c4b-4281-b951-d872f2087c98
* Finish adding l10n constants for the menu items i didn't do before.thomasvl@chromium.org2009-08-072-80/+152
| | | | | | | | TEST=Nothing really until the new constants are translated BUG=none Review URL: http://codereview.chromium.org/165137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22741 0039d316-1c4b-4281-b951-d872f2087c98
* Implement back/forward toolbar menus on Mac (bug 13203).avi@chromium.org2009-08-071-43/+30
| | | | | | | | | | | | | | | | | | | | Note: The drop-down menu is actually a drag-down (activating on click-hold or on drag), working much like Safari's (and other Apple apps, such as Dictionary). This can be changed to a pop-down if that's what's desired. TODO: Show keyboard shortcut for "Show Full History". Patch by viettrungluu. BUG=http://crbug.com/13203 TEST=Navigate around, check out and use the menus; do so in multiple tabs and windows. Review URL: http://codereview.chromium.org/160496 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22740 0039d316-1c4b-4281-b951-d872f2087c98
* Deps roll to pull in new GTM.thomasvl@chromium.org2009-08-075-235/+719
| | | | | | | | | | | | | | | | | Bookmark localization (BookmarkBar, BookmarkEditor, and BookmarkNameFolder). Toolbar localization. TabView localization (the tab itself). Bookmark Editor window fixup: Align the labels to the front of the edit fields (ui guidelines). Make the labels auto size to their text and resize the window as needed. Make the buttons auto size to their strings and adjust to stay right pinned. Make the window resize in general correctly. BUG=16764 TEST=Try the Danish local, a bunch of this UI should localized, and the bookmark editor shouldn't truncate the labels or buttons. Review URL: http://codereview.chromium.org/160328 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22730 0039d316-1c4b-4281-b951-d872f2087c98
* Reverts the revert of 22517.rohitrao@chromium.org2009-08-071-12/+22
| | | | | | | | | | | | | | | | | | | | Rewrites the Mac view resizing logic to have the BrowserWindowController directly resize and relayout its children views. Now when a view needs to be resized, it asks its resize delegate (typically its controller's parent) to perform the resize. BUG=http://crbug.com/17619 TEST=Make sure that views are laid out correctly, even when they change size. Open and close the bookmark bar. Trigger an infobar and then close it. Trigger the download shelf and then close it. Trigger a download shelf with the infobar open, or with the bookmark bar open. Switch to and from fullscreen with various bars open. Resize the browser window with various bars open. Start the browser with and without the bookmark bar open. Try all of the above in a popup window. Review URL: http://codereview.chromium.org/165014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22721 0039d316-1c4b-4281-b951-d872f2087c98
* NNTP: Remove tips and downloads and introduce a recently closed bar instead.arv@google.com2009-08-061-0/+8
| | | | | | | | | | | | | | Make the list mode only show one column and make the items look like links. BUG=None TEST= On the new tab page try opening and closing tabs and windows. The closed tabs and windows should appear in the recently closed bar at the bottom. Review URL: http://codereview.chromium.org/165095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22691 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the size of a cancelled download in the download shelf.paul@chromium.org2009-08-061-3/+2
| | | | | | | | | | | | | Patch created by Thiago Farina, original CL: http://codereview.chromium.org/160465 BUG=17180 (http://crbug.com/17180) TEST=Download some file, then cancel it and notice the shelf UI does not any longer display the size of download. Review URL: http://codereview.chromium.org/165073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22666 0039d316-1c4b-4281-b951-d872f2087c98
* Safari Bookmark/Favicon import.jeremy@chromium.org2009-08-051-0/+3
| | | | | | Review URL: http://codereview.chromium.org/159750 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22556 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Fancy html5 draggy stuff.estade@chromium.org2009-08-051-0/+2
| | | | | | | | | | | | | | | | | | | | | Also, don't crash in release mode when the tab contents is deleted during a drag. 1) Source side: when the tab contents is going down, abort the current drag (if any). Initiate drags on a GtkInvisible (matching firefox, among other programs I assume). This lets us give up ownership of the drag widget and let the drag unwind. 2) Destination side: make a seemingly harmless GTK assert point to a crbug bug. This warrants further investigation. BUG=16249 TEST=drag around ntp thumbnails BUG=18557 In release mode, you should be able to do all the following without crashing or getting any asserts besides the two mentioned in 18557 TEST=drag something from gedit over a tab that closes TEST=drag something from the render view over a tab that closes TEST=drag something from the render view off of the browser from within a tab that closes TEST=repeat all the above with a tab that is being swapped out according to the repro steps in bug 16073 Review URL: http://codereview.chromium.org/159889 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22542 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 22517.rohitrao@chromium.org2009-08-051-22/+12
| | | | | | Review URL: http://codereview.chromium.org/165001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22541 0039d316-1c4b-4281-b951-d872f2087c98
* Add the anti-clockwise waiting throbber to app mode/popup windows.tc@google.com2009-08-052-0/+1
| | | | | | | | | BUG=18181 Review URL: http://codereview.chromium.org/160653 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22537 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrites the Mac view resizing logic to have the BrowserWindowControllerrohitrao@chromium.org2009-08-051-12/+22
| | | | | | | | | | | | | | | | | | | directly resize and relayout its children views. Now when a view needs to be resized, it asks its resize delegate (typically its controller's parent) to perform the resize. BUG=http://crbug.com/17619 TEST=Make sure that views are laid out correctly, even when they change size. Open and close the bookmark bar. Trigger an infobar and then close it. Trigger the download shelf and then close it. Trigger a download shelf with the infobar open, or with the bookmark bar open. Switch to and from fullscreen with various bars open. Resize the browser window with various bars open. Start the browser with and without the bookmark bar open. Try all of the above in a popup window. Review URL: http://codereview.chromium.org/159776 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22517 0039d316-1c4b-4281-b951-d872f2087c98
* Move the entire application into a dylib (framework)mark@chromium.org2009-08-052-25/+25
| | | | | | Review URL: http://codereview.chromium.org/160538 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22506 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 22478.avi@chromium.org2009-08-051-42/+9
| | | | | | | TBR=jar Review URL: http://codereview.chromium.org/160660 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22499 0039d316-1c4b-4281-b951-d872f2087c98
* On bookmark edit, the OK button is now disabled if the entered URL isjrg@chromium.org2009-08-051-4/+21
| | | | | | | | | | | | | | | | | | invalid (e.g. is the empty string). The Cancel button is never disabled. BUG=http://crbug.com/17006 TEST=Right click on a bookmark button to edit it. Make sure OK is enabled. Set URL to "" (the empty string). Make sure OK is DISabled. Set URL to "x". Make sure OK is enabled. Review URL: http://codereview.chromium.org/160628 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22490 0039d316-1c4b-4281-b951-d872f2087c98
* Implement back/forward toolbar menus on Mac (bug 13203).avi@chromium.org2009-08-051-9/+42
| | | | | | | | | | | | | | | | | | | | | | | Note: The drop-down menu is actually a drag-down (activating on click-hold or on drag), working much like Safari's (and other Apple apps, such as Dictionary). This can be changed to a pop-down if that's what's desired. [The previously included fix to bug 17990 has been split off to CL 159864.] TODO: Show keyboard shortcut for "Show Full History". Patch by viettrungluu. BUG=http://crbug.com/13203 TEST=Navigate around, check out and use the menus; do so in multiple tabs and windows. Review URL: http://codereview.chromium.org/160496 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22478 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 22401.thakis@chromium.org2009-08-051-5/+5
| | | | | | Review URL: http://codereview.chromium.org/159893 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22450 0039d316-1c4b-4281-b951-d872f2087c98
* linux: yet more polish for the new toolbar graphicsevan@chromium.org2009-08-041-0/+3
| | | | | | Review URL: http://codereview.chromium.org/159885 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22444 0039d316-1c4b-4281-b951-d872f2087c98
* Include Pause/Resume in the context menu for the item in the download shelf.mhm@chromium.org2009-08-041-0/+8
| | | | | | | | | | | | | The pause and resume context item will only appear when the download is in progress. It will not show on the context menu if the download has been cancelled or completed. It is a toggle state, either pause or resume, not both. BUG=16929 (http://www.crbug.com/16929) TEST=Download a large file, right click pause, then resume. As well, download a small file, wait till finishes, right click, you will see no pause/resume. Review URL: http://codereview.chromium.org/159844 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22406 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 22354 - Change "Fullscreen" key from cmdf11 to cmdshiftf as discussed ↵laforge@chromium.org2009-08-041-5/+5
| | | | | | | | | | | | | | | | | per email. Everything is better than cmdf11. BUG=17218 TEST=obvious Review URL: http://codereview.chromium.org/159781 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/160597 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22401 0039d316-1c4b-4281-b951-d872f2087c98
* NNTP: Make the chromium logo smaller so that it has the same height asarv@google.com2009-08-042-0/+0
| | | | | | | | | | | | | the "Google chrome" logo. BUG=17944 TEST=None Review URL: http://codereview.chromium.org/159828 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22388 0039d316-1c4b-4281-b951-d872f2087c98
* Implement first cut at the extension installation prompt on Windows.aa@chromium.org2009-08-041-3/+29
| | | | | | | | | | | | Had to move set_path() earlier in the unpack process so that we would have real paths for the resources, so that we could load and display the icon in the ui. This exposed a problem where page actions had absolute paths and other images in extensions had relative paths. Extension::GetBrowserImages() was expecting relative paths, and it just happened to work because in both cases Extension was initialized without a path. Modified page actions to use relative paths to be consistent with other images. Review URL: http://codereview.chromium.org/160516 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22368 0039d316-1c4b-4281-b951-d872f2087c98
* Change "Fullscreen" key from cmd-f11 to cmd-shift-f as discussed per email.thakis@chromium.org2009-08-041-5/+5
| | | | | | | | | | | Everything is better than cmd-f11. BUG=17218 TEST=obvious Review URL: http://codereview.chromium.org/159781 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22354 0039d316-1c4b-4281-b951-d872f2087c98
* Use alternate icon for Chrome shortcuts if specified in master preferences.kuchhal@chromium.org2009-08-031-0/+1
| | | | | | | | | | | This change depends on change 159539 that is currently under review and a new chrome2.ico that is yet to be added to the repository. BUG=12701 TEST=Specify an alternate icon in --installerdata file and make sure that icon is used for shortcuts and it not changed later by updates. Review URL: http://codereview.chromium.org/159618 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22314 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of non-functional elements from the themes prefs; add switcher.avi@chromium.org2009-08-032-185/+106
| | | | | | | | | BUG=http://crbug.com/18094 TEST=try the theme picker and enjoy! Review URL: http://codereview.chromium.org/159727 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22296 0039d316-1c4b-4281-b951-d872f2087c98