summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_modal_dialog_gtk.cc
Commit message (Collapse)AuthorAgeFilesLines
* Makes it so app_modal_dialog_gtk can work with views/gtk.sky@chromium.org2009-11-091-5/+5
| | | | | | | | | | | I'm also removing a bunch of dead files from chrome.gyp. BUG=none TEST=none Review URL: http://codereview.chromium.org/377033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31466 0039d316-1c4b-4281-b951-d872f2087c98
* Implement window.alert() and its cousins for extensions.pam@chromium.org2009-11-061-1/+1
| | | | | | | | | | | | Second try, now with fixed observer. BUG=12126 TEST=put a window.prompt() in a background page, a browser action, and a page action. Make sure it gets the result back correctly. Also make sure it still works when called from a web page. Review URL: http://codereview.chromium.org/373006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31204 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 31110 - Implement window.alert() and its cousins for extensions.ben@chromium.org2009-11-051-1/+1
| | | | | | | | | | | | | BUG=12126 TEST=put a window.prompt() in a background page, a browser action, and a page action. Make sure it gets the result back correctly. Also make sure it still works when called from a web page. Review URL: http://codereview.chromium.org/341089 TBR=pam@chromium.org Review URL: http://codereview.chromium.org/360063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31126 0039d316-1c4b-4281-b951-d872f2087c98
* Implement window.alert() and its cousins for extensions.pam@chromium.org2009-11-051-1/+1
| | | | | | | | | | BUG=12126 TEST=put a window.prompt() in a background page, a browser action, and a page action. Make sure it gets the result back correctly. Also make sure it still works when called from a web page. Review URL: http://codereview.chromium.org/341089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31110 0039d316-1c4b-4281-b951-d872f2087c98
* Make app modal dialogs (from javascript) actually be app modal. Thistc@google.com2009-08-111-0/+23
| | | | | | | | | | | | is similar to the behavior on Windows, although they only fake app modality. BUG=18123 Review URL: http://codereview.chromium.org/164296 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23052 0039d316-1c4b-4281-b951-d872f2087c98
* Pressing "enter" while the JS prompt text entry has focus shouldtc@google.com2009-05-291-1/+3
| | | | | | | | | accept the user's text. Review URL: http://codereview.chromium.org/114058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17157 0039d316-1c4b-4281-b951-d872f2087c98
* Add alert box suppression check box to linux js dialogs.tc@google.com2009-05-281-24/+57
| | | | | | | | | BUG=12174 Review URL: http://codereview.chromium.org/115893 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17136 0039d316-1c4b-4281-b951-d872f2087c98
* Move: drag_drop_types, favicon_size, icon_util, insets, path, ↵ben@chromium.org2009-05-061-1/+1
| | | | | | | | | message_box_flags, os_exchange_data to src/app http://crbug.com/11387 Review URL: http://codereview.chromium.org/115012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15371 0039d316-1c4b-4281-b951-d872f2087c98
* Move l10n_util to app/ben@chromium.org2009-05-051-1/+1
| | | | | | | http://crbug.com/11387 Review URL: http://codereview.chromium.org/109043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15352 0039d316-1c4b-4281-b951-d872f2087c98
* More linux build fixesbrettw@chromium.org2009-05-041-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15197 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Linux build.brettw@chromium.org2009-05-041-1/+1
| | | | | | Review URL: http://codereview.chromium.org/99339 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15196 0039d316-1c4b-4281-b951-d872f2087c98
* Free gtk list. Should fix valgrind warningdkegel@google.com2009-04-291-2/+4
| | | | | | | | | | | | | 24 (12 direct, 12 indirect) bytes in 1 blocks are definitely lost in loss record 54 of 258 at malloc (vg_replace_malloc.c:178) ... by gtk_container_foreach (in /usr/lib/libgtk-x11-2.0.so.0.1200.9) by gtk_container_get_children (in /usr/lib/libgtk-x11-2.0.so.0.1200.9) by (anonymous namespace)::OnDialogResponse(_GtkDialog*, int, AppModalDialog*) (app_modal_dialog_gtk.cc:24) Review URL: http://codereview.chromium.org/102007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14855 0039d316-1c4b-4281-b951-d872f2087c98
* Bah, I should compile before fixing. Need to assign the results oftc@google.com2009-04-281-1/+1
| | | | | | | | | | | g_list_next(). TBR=evan Review URL: http://codereview.chromium.org/99159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14796 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a couple more methods for dialog boxes including the prompt box.tc@google.com2009-04-281-10/+26
| | | | | | | | | BUG=9623 Review URL: http://codereview.chromium.org/100124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14791 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r14620 which was a rollback of r14549 and r14508. Thistc@google.com2009-04-271-4/+17
| | | | | | | | | | | | change re-enables the ui tests. Since jam re-enabled some tests, I had to #ifdef around 4 tests that are not shutting down cleanly on linux. It looks like we have renderers that aren't shutting down properly (pegged at 100% cpu). Review URL: http://codereview.chromium.org/100061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14680 0039d316-1c4b-4281-b951-d872f2087c98
* Speculatively roll back r14549 and r14508. The chrome browsertc@google.com2009-04-271-17/+4
| | | | | | | | | | | | process is pegged at 100% cpu after ui_tests has exited. Seeing if this is the cause. Will re-roll forward if it's not. TBR=estade Review URL: http://codereview.chromium.org/100047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14620 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: implement automation for modal dialogs.agl@chromium.org2009-04-261-4/+17
| | | | | | | | | | | | | | | | | The Linux ui_tests are currently red because BrowserCloseBeforeUnloadOK and BrowserCloseBeforeUnloadCancel are failing. This is because we didn't implement several automation functions regarding modal dialogs and someone obviously wrote a test which needed them. So this is a TBR in order to green the tree. TBR=tony http://codereview.chromium.org/99032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14549 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug caught by Werror on the jaunty bot. gtk_message_dialog_newtc@google.com2009-04-231-1/+1
| | | | | | | | | takes a printf style format string. Review URL: http://codereview.chromium.org/97008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14373 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r14146 which refactors DialogButton into cross platformtc@google.com2009-04-211-3/+3
| | | | | | | | | | code. This is the same as the last change except I renamed class MessageBox to class MessageBoxFlags to avoid conflicting with the same name in windows.h. Review URL: http://codereview.chromium.org/87065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14159 0039d316-1c4b-4281-b951-d872f2087c98
* Rename web_contents_view* files to tab_contents_view* to reflect my previousbrettw@chromium.org2009-04-211-1/+1
| | | | | | | rename of the classes. Review URL: http://codereview.chromium.org/87009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14083 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a gcc warning about uninitialized variables.tc@google.com2009-04-141-2/+2
| | | | | | | | | | app_modal_dialog_gtk.cc:46:warning: ‘message_type’ may be used uninitialized in this function app_modal_dialog_gtk.cc:46:warning: ‘buttons’ may be used uninitialized in this function Review URL: http://codereview.chromium.org/73040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13676 0039d316-1c4b-4281-b951-d872f2087c98
* Actually implement js message boxes on linux. This handlestc@google.com2009-04-091-0/+120
alert, confirm and onbeforeunload. prompt has a dialog, but there's no text field. I'll work on that next. It turns out there's no nested message loop on the windows side, so there's no nested message loop here either. BUG=9493 Review URL: http://codereview.chromium.org/63134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13437 0039d316-1c4b-4281-b951-d872f2087c98