summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk
Commit message (Collapse)AuthorAgeFilesLines
* Remove the old chrome/browser/gtk directory and its stubbed contents.msw@chromium.org2011-01-1986-1032/+0
| | | | | | | | | BUG=69289 TEST=none Review URL: http://codereview.chromium.org/6292009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71877 0039d316-1c4b-4281-b951-d872f2087c98
* Update references part 1:msw@chromium.org2011-01-1832-384/+0
| | | | | | | | | | | | | | | | | | subdirectories of chrome/browser/ui/gtk/: (notifications, options, status_icons, tabs, translate) Update all chrome/browser/gtk references & copyright dates of touched files. Re-alphabetize include lists as necessary from this change. Remove the chrome/browser/gtk subdirectories & stubbed headers. BUG=69289 TEST=None Review URL: http://codereview.chromium.org/6328002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71668 0039d316-1c4b-4281-b951-d872f2087c98
* Move chrome/browser/gtk/ to chrome/browser/ui/gtk/msw@chromium.org2011-01-14263-62287/+355
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (moved *.cc using 'svn mv' to preserve history) (copied *.h using 'svn cp' to preserve history and stub out originals) Stubbed out original headers in chrome/browser/gtk/ Update header guards & copyright dates in chrome/browser/ui/gtk/ Update .gypi files Remove chrome/chrome_browser.gypi:4228 reference to nonexistant: ['include', '^browser/gtk/pk11_password_dialog.h'], Remove stray header guard in: chrome/browser/ui/gtk/bookmark_bar_instructions_gtk.cc Add #pragma once to the following files: chrome/browser/ui/gtk/instant_confirm_dialog_gtk.h chrome/browser/ui/gtk/infobar_arrow_model.h Ran the following to appease presubmit: 'svn pset svn:eol-style LF \ chrome/browser/ui/gtk/info_bubble_accelerators_gtk.cc \ chrome/browser/ui/gtk/gtk_custom_menu.cc \ chrome/browser/ui/gtk/info_bubble_accelerators_gtk.h \ chrome/browser/ui/gtk/gtk_custom_menu.h \ chrome/browser/ui/gtk/options/managed_prefs_banner_gtk.h \ chrome/browser/ui/gtk/chrome_gtk_frame.h \ chrome/browser/ui/gtk/chrome_gtk_frame.cc \ chrome/browser/ui/gtk/gtk_custom_menu_item.h \ chrome/browser/gtk/info_bubble_accelerators_gtk.h \ chrome/browser/gtk/gtk_custom_menu.h \ chrome/browser/gtk/options/managed_prefs_banner_gtk.h \ chrome/browser/gtk/chrome_gtk_frame.h \ chrome/browser/gtk/gtk_custom_menu_item.h' BUG=69289 TEST=Compile&Trybots Review URL: http://codereview.chromium.org/6251001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71397 0039d316-1c4b-4281-b951-d872f2087c98
* [gtk] shenanigans to get the confirm infobar's text to shrink/hide before ↵estade@chromium.org2011-01-131-7/+15
| | | | | | | | | | | the buttons do. BUG=68782 TEST=manual Review URL: http://codereview.chromium.org/6334001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71385 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded chrome/browser/ui/browser.h usage.thestig@chromium.org2011-01-135-5/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6260001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71368 0039d316-1c4b-4281-b951-d872f2087c98
* This adds a "killed tab" page to be displayed in the case where a tab is ↵gspencer@chromium.org2011-01-132-12/+36
| | | | | | | | | | | | | | | killed instead of crashing. It also adds "about:kill" to simulate kills. On ChromeOS killed tabs will be reloaded as soon as the user clicks on them unless they are the only tab, or the currently focused tab is killed. BUG=http://crosbug.com/10043, http://crosbug.com/10711 TEST=Built linux and ChromeOS Chrome and killed a tab, and then did about:crash and made sure that the "Aw, Snap!" page was displayed. Did about:kill and made sure kill page was displayed. Review URL: http://codereview.chromium.org/6053012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71360 0039d316-1c4b-4281-b951-d872f2087c98
* Move app/key* to ui/base/keycodes/*ben@chromium.org2011-01-131-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6246001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71330 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix a bunch of NULL vs. 0 issues spotted by gcc 4.5.craig.schlenter@chromium.org2011-01-131-1/+1
| | | | | | | | | | | | There are more gcc 4.5 issues to be solved so GYP_DEFINES=='werror=' is still required to build with 4.5 even with these changes. BUG=66652 TEST=compiles with gcc 4.5 and trybots Review URL: http://codereview.chromium.org/6186008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71325 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded includes of pref_names.hthestig@chromium.org2011-01-131-1/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6122006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71283 0039d316-1c4b-4281-b951-d872f2087c98
* NSS: PKCS 11 password prompt.mattm@chromium.org2011-01-132-4/+237
| | | | | | | | | | | This was based off of davidben's WIP cl http://codereview.chromium.org/3186021/show. BUG=42073 TEST=add password to NSS DB with "certutil -d sql:.pki/nssdb -W", try client auth, <keygen>, cert manager Review URL: http://codereview.chromium.org/5686002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71281 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium build failed with heap leak checker, or configured withtony@chromium.org2011-01-131-0/+2
| | | | | | | | | | | | | | | | | 'gyp_chromium -Dlinux_use_heapchecker=1 -Dlinux_keep_shadow_stacks=1' parameters. This configuration set gcc option '-finstrument-functions' and cause 'control reaches end of non-void function' error in some sources. Some errors occur in WebKit, and this changelist doesn't include patches for WebKit sources. TEST=pass sync_unit_tests, browser_tests, net_unittests Original patch by Takashi Toyoshima <toyoshim@google.com> at http://codereview.chromium.org/5991005/ Review URL: http://codereview.chromium.org/6262002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71274 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 71169 - Revert 71167 - Remove wstring from gfx.avi@chromium.org2011-01-123-6/+5
| | | | | | | | | | | | | | | BUG=68882 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6121004 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/6134010 TBR=joi@chromium.org Review URL: http://codereview.chromium.org/6130008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71176 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 71167 - Remove wstring from gfx.joi@chromium.org2011-01-123-5/+6
| | | | | | | | | | | | BUG=68882 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6121004 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/6134010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71169 0039d316-1c4b-4281-b951-d872f2087c98
* Remove wstring from gfx.avi@chromium.org2011-01-123-6/+5
| | | | | | | | | BUG=68882 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6121004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71167 0039d316-1c4b-4281-b951-d872f2087c98
* Changes instant so that the newly created tab has a new id. Doingsky@chromium.org2011-01-112-2/+4
| | | | | | | | | | | | otherwise causes subtle problems with extensions and breaks the invariant that the tab id is unique. BUG=68508 TEST=none Review URL: http://codereview.chromium.org/6155003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71063 0039d316-1c4b-4281-b951-d872f2087c98
* The UMA stat for the Wrench menu was only firing when Alt+F was pressed, not ↵finnur@chromium.org2011-01-111-1/+3
| | | | | | | | | | | when mouse clicking. Move the recording of the event down into the funnel. BUG=None TEST=None Review URL: http://codereview.chromium.org/6130004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71029 0039d316-1c4b-4281-b951-d872f2087c98
* Made TextWidth and SetInstantSuggestion common interface in ↵oshima@chromium.org2011-01-111-6/+2
| | | | | | | | | | | | | | AutocompleteEditView Renamed mac's SetSuggestedText to SetInstantSuggestion. Consolidated two SetInstantSuggestion in gtk impl. BUG=none TEST=none Review URL: http://codereview.chromium.org/6106007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71023 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded includes of chrome_switches.h.thestig@chromium.org2011-01-117-7/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6086003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70978 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the stubbed out headers in chrome/browser/views.msw@chromium.org2011-01-101-2/+2
| | | | | | | | | | | | | | | | | Update references to use headers in chrome/browser/ui/views. Update copyright dates in affected files. /chrome/browser/ui/views/constrained_html_delegate_win.cc Add space before 'private' label (presubmit warning) /chrome/browser/ui/views/toolbar_view.cc Add space before 'cleanup' label (presubmit warning) BUG=69082 TEST=Compiling... Review URL: http://codereview.chromium.org/6204002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70965 0039d316-1c4b-4281-b951-d872f2087c98
* Adds lab for making instant suggest autocomplete immediately. As partsky@chromium.org2011-01-101-1/+16
| | | | | | | | | | | | of this I encountered a bug in SearchProvider::FinalizeInstantQuery which has been fixed (with test). BUG=none TEST=none Review URL: http://codereview.chromium.org/6142008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70960 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored the screenshot mechanism.rkc@chromium.org2011-01-102-7/+11
| | | | | | | | | | | | Added a new method to browser window to get a screenshot in a platform independent way. Changed user feedback UI code to use the new method. BUG=65119 TEST=Tested with sending feedback with the new code. Screenshots are being taken and sent correctly. Review URL: http://codereview.chromium.org/6145001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70951 0039d316-1c4b-4281-b951-d872f2087c98
* Fix situation where a new drag could start before previous one completes.tsepez@chromium.org2011-01-102-4/+19
| | | | | | | | | BUG=61094 TEST=manually select a region of text and repeatedly drag it into an inactive portion of the screen. Review URL: http://codereview.chromium.org/5981011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70906 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a lot of casing and ellipsis bugs on options dialog buttonsestade@chromium.org2011-01-081-2/+2
| | | | | | | | | BUG=68809 TEST=manual Review URL: http://codereview.chromium.org/6098006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70820 0039d316-1c4b-4281-b951-d872f2087c98
* [gtk] fix a corner case where the status bubble was in the way of the cursor.estade@chromium.org2011-01-082-13/+36
| | | | | | | | | BUG=68897 TEST=see bug Review URL: http://codereview.chromium.org/6103005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70819 0039d316-1c4b-4281-b951-d872f2087c98
* Move animation code to new ui/base/animation directory.ben@chromium.org2011-01-0726-161/+178
| | | | | | | | | | BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6154001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70743 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug in handling of openning background tabs by way of clickingsky@chromium.org2011-01-061-1/+1
| | | | | | | | | | | on omnibox. BUG=60553 TEST=see bug Review URL: http://codereview.chromium.org/6028010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70616 0039d316-1c4b-4281-b951-d872f2087c98
* [gtk] Fix a couple painting issues with infobar arrows.estade@chromium.org2011-01-062-0/+17
| | | | | | | | | | | | 1) repaint the arrow when the location icon moves. The location icon can move, for example, when the home button is added or removed. 2) paint the arrow on top of the location icon explicitly. This is necessary because sometimes the location icon sits in a different X window from the toolbar, and we cannot paint over it in the toolbar's expose event. In particular, try going to paypal.com and then crashing flash. Without this patch, the top of the arrow will be lopped off. BUG=68457 TEST=manual Review URL: http://codereview.chromium.org/6056010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70574 0039d316-1c4b-4281-b951-d872f2087c98
* Linux, webui: do file access on the file thread when the "change proxy ↵mdm@chromium.org2011-01-061-16/+34
| | | | | | | | | | settings" button is pressed. BUG=63690 TEST=webui version does not crash in debug builds, native version no longer needs temporary exception Review URL: http://codereview.chromium.org/5969011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70557 0039d316-1c4b-4281-b951-d872f2087c98
* Remove last usage of wstring from Linux build, fix official builders.avi@chromium.org2011-01-051-6/+6
| | | | | | | | | BUG=9911 TEST=Official Linux builders build Review URL: http://codereview.chromium.org/6065015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70547 0039d316-1c4b-4281-b951-d872f2087c98
* [gtk] Fix padding in omnibox security label.estade@chromium.org2011-01-051-2/+2
| | | | | | | | | | | Increase padding between right edge of security text (e.g. "PayPal, Inc. [US]") and right edge of green security box thing by one pixel. The total padding is now 2 pixels, which matches windows. BUG=none TEST=manual Review URL: http://codereview.chromium.org/6072012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70487 0039d316-1c4b-4281-b951-d872f2087c98
* Remove IDS_LEARN_MORE_REPORTING_URL from locale_settings.grdtfarina@chromium.org2011-01-051-2/+4
| | | | | | | | | BUG=28174 TEST=manual Review URL: http://codereview.chromium.org/6004008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70470 0039d316-1c4b-4281-b951-d872f2087c98
* Change Font.GetStringWidth() to take string16 instead of wstring.estade@chromium.org2011-01-043-5/+5
| | | | | | | | | | | do a bunch of string fixes along the way. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/5985007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70440 0039d316-1c4b-4281-b951-d872f2087c98
* Remove wstring from l10n_util. Part 4.avi@chromium.org2011-01-041-9/+14
| | | | | | | | | BUG=9911 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/5958017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70423 0039d316-1c4b-4281-b951-d872f2087c98
* Remove IDS_CHROMIUM_PROJECT_URL from locale_settings.grdtfarina@chromium.org2011-01-041-2/+4
| | | | | | | | | BUG=28174 TEST=manual Review URL: http://codereview.chromium.org/6063007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70404 0039d316-1c4b-4281-b951-d872f2087c98
* Move base/thread.h to base/threading, fix up callers to use the new location.brettw@chromium.org2011-01-012-3/+3
| | | | | | | | TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/6028009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70345 0039d316-1c4b-4281-b951-d872f2087c98
* Remove wstring from TableModel.avi@chromium.org2010-12-308-24/+24
| | | | | | | | | BUG=23581 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6044007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70290 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Cleanup BookmarkBarGtk class.tfarina@chromium.org2010-12-282-14/+9
| | | | | | | | | | | | | - Remove unused constants. - Remove explicit keyword from constructor. - Move FRIEND_ macros to private section. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6078009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70245 0039d316-1c4b-4281-b951-d872f2087c98
* Remove wstring from l10n_util. Part 2.avi@chromium.org2010-12-281-3/+2
| | | | | | | | | BUG=9911 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/5959008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70242 0039d316-1c4b-4281-b951-d872f2087c98
* Update menu icons for dynamic items when we update the label.atwilson@chromium.org2010-12-281-1/+11
| | | | | | | | | BUG=66508 TEST=enable background mode, see wrench menu badge toggle when extensions load Review URL: http://codereview.chromium.org/6014009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70228 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Cleanup JSModalDialogGtk implementation.tfarina@chromium.org2010-12-242-25/+13
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/5999008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70131 0039d316-1c4b-4281-b951-d872f2087c98
* Display background page wrench menu badge on gtk.atwilson@chromium.org2010-12-231-10/+24
| | | | | | | | | BUG=59980 TEST=Install extension with background page, see badge. Review URL: http://codereview.chromium.org/6051007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70117 0039d316-1c4b-4281-b951-d872f2087c98
* Change extension unload notification to indicate updates.asargent@chromium.org2010-12-231-1/+2
| | | | | | | | | | | | | | | | | | | When an extension in being unloaded, some listeners want to know if it's because the extension is being updated to a newer version, or disabled. This changes the details sent to include a reason. Also this removes the EXTENSION_UNLOADED_DISABLED notification, since only a small number of places actually cared about the disctinction between EXTENSION_UNLOADED and EXTENSION_UNLOADED_DISABLED, and puts that information into the details as well. BUG=65510 TEST=Should be covered by existing unit & browser tests. Review URL: http://codereview.chromium.org/5968009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70104 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent extensions from moving tabs that are being dragged. This fixes a ↵jstritar@chromium.org2010-12-227-0/+29
| | | | | | | | | | | crash on Windows and Linux related to extensions moving or removing tabs that are being dragged. This also prevents extensions from removing a window that the user is dragging tabs within. BUG=53799 TEST=See bug report. Review URL: http://codereview.chromium.org/4856004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69952 0039d316-1c4b-4281-b951-d872f2087c98
* Update the time formatting APIs to use string16.avi@chromium.org2010-12-223-16/+14
| | | | | | | | | BUG=23581 TEST=everything still works Review URL: http://codereview.chromium.org/6064003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69948 0039d316-1c4b-4281-b951-d872f2087c98
* [Linux] Make reserved accelerators non-blockable unless they conflict with ↵suzhe@google.com2010-12-212-40/+6
| | | | | | | | | | | | | editor key bindings. This CL also contains some small cleanup to existing code. BUG=54573 TEST=ctrl-t/ctrl-w should not be blocked at all, unless Emaces key theme is enabled. Review URL: http://codereview.chromium.org/5979003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69898 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land earlier patch that moves the NPAPI implementation from ↵brettw@chromium.org2010-12-211-2/+2
| | | | | | webkit/glue/plugins to webkit/plugins/npapi git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69808 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi"chase@chromium.org2010-12-211-2/+2
| | | | | | | | | | | | Manually reverting r69755, which broke the tree. BUG=none TEST=none TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/5998002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69771 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert 69755 - Move the NPAPI files from webkit/glue/plugins to ↵chase@chromium.org2010-12-201-2/+2
| | | | | | | | | | | | | | | webkit/plugins/npapi" Manually reverting r69766, which was itself a failed revert of r69755. BUG=none TEST=none TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/5996003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69768 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69755 - Move the NPAPI files from webkit/glue/plugins to ↵brettw@chromium.org2010-12-201-2/+2
| | | | | | | | | | | | | | | webkit/plugins/npapi and put them in the webkit::npapi namespace. BUG=none TEST=none Review URL: http://codereview.chromium.org/6012002 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/5961004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69766 0039d316-1c4b-4281-b951-d872f2087c98
* Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and putbrettw@chromium.org2010-12-201-2/+2
| | | | | | | | | | them in the webkit::npapi namespace. BUG=none TEST=none Review URL: http://codereview.chromium.org/6012002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69755 0039d316-1c4b-4281-b951-d872f2087c98