summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Removes WidgetWin dependency from StatusBubbleViews so that it can compile ↵ben@chromium.org2009-05-2620-213/+283
| | | | | | | | | | | | | | | | on Linux. Requires: - making SetOpacity a cross platform method on Widget, replacing SetLayeredAlpha. - moving Window::SetBounds to Widget - replacing usage of MoveWindow in StatusBubbleViews with call to new SetBounds method. BUG=none TEST=make sure transparency still works for floating widgets like - status bubble, full screen exit bubble, dragged tabs Review URL: http://codereview.chromium.org/113846 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16948 0039d316-1c4b-4281-b951-d872f2087c98
* Change actual pref for stats reporting when selected.kuchhal@chromium.org2009-05-261-6/+7
| | | | | | | Review URL: http://codereview.chromium.org/113866 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16947 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug where if user has focus follows mouse, moving out oftc@google.com2009-05-262-15/+29
| | | | | | | | | | | | | | | | | | | the chrome window closes content popups. We need to grab all X mouse events using gdk_pointer_grab. This prevents other windows from getting focus. We no longer need the focus-out-event signal handler because we'll get the mouse down outside the browser window, forward it to the renderer, and it will tell us to close. I verified manually that killing the renderer while the popup is showing results in gdk_display_pointer_ungrab getting called. If the renderer hangs, the user just needs to click outside the popup. Review URL: http://codereview.chromium.org/112052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16946 0039d316-1c4b-4281-b951-d872f2087c98
* Fleshes out more of BrowserFrameGtk.sky@chromium.org2009-05-269-22/+82
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/113873 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16945 0039d316-1c4b-4281-b951-d872f2087c98
* Fix initial window placement when dragging a tab out of the tabstrip into ↵jhawkins@chromium.org2009-05-264-6/+10
| | | | | | | | | | its own window. This change also removes code that was overriding the requested size as a temporary workaround. BUG=none TEST=Open a browser window with two tabs. Drag one of the tabs out of the tabstrip. A new window should be created where the mouse is positioned. Review URL: http://codereview.chromium.org/113874 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16944 0039d316-1c4b-4281-b951-d872f2087c98
* posix: don't register gears at all.evan@chromium.org2009-05-261-0/+3
| | | | | | | | | | | We currently register gears in JS-land, despite it not working in browser-land. We should disable it everywhere until it works. BUG=12529 Review URL: http://codereview.chromium.org/113870 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16943 0039d316-1c4b-4281-b951-d872f2087c98
* Remove password store unit test, as its dependent was reverted.evan@chromium.org2009-05-261-1/+0
| | | | | | Review URL: http://codereview.chromium.org/114052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16942 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a leak in ImageDecoder::Decode.mpcomplete@google.com2009-05-261-1/+5
| | | | | | | | BUG=12549 TEST=none Review URL: http://codereview.chromium.org/115793 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16941 0039d316-1c4b-4281-b951-d872f2087c98
* Add a single monitor implementation of WindowSizer for Linux. (try 2)thestig@chromium.org2009-05-267-50/+118
| | | | | | | BUG=10005 Review URL: http://codereview.chromium.org/115723 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16940 0039d316-1c4b-4281-b951-d872f2087c98
* Revert the password manager refactoring -- it failed reliability tests.evan@chromium.org2009-05-2621-1373/+156
| | | | | | | | | | | (For reference, it was committed with the wrong message: "Patch to make password patch build.") This reverts commit r16708. Review URL: http://codereview.chromium.org/113871 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16939 0039d316-1c4b-4281-b951-d872f2087c98
* Converting gears prebuilt stub to gyp.bradnelson@chromium.org2009-05-264-80/+34
| | | | | | Review URL: http://codereview.chromium.org/115801 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16938 0039d316-1c4b-4281-b951-d872f2087c98
* Don't assume that the widget has a toplevel ancestor in GetTopLevel.jhawkins@chromium.org2009-05-261-1/+4
| | | | | | Review URL: http://codereview.chromium.org/115802 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16937 0039d316-1c4b-4281-b951-d872f2087c98
* Add the GLib-GObject domain to our logging interface.jhawkins@chromium.org2009-05-261-1/+1
| | | | | | Review URL: http://codereview.chromium.org/113869 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16936 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing a long resource loading for small clipshclam@chromium.org2009-05-261-16/+18
| | | | | | | | | | | | The logic for resource loading for media file has a problem in determining the wait condition that it waited for one extra cycle (about ~5s) to know that the resource loading has completed, it is fixed in this patch. Also made clear about the logic in it. Review URL: http://codereview.chromium.org/113861 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16935 0039d316-1c4b-4281-b951-d872f2087c98
* A quick fix for Issue 11863 (Take 2).hbono@chromium.org2009-05-261-0/+16
| | | | | | | | | | | | This change is exactly the same change as <http://codereview.chromium.org/115353>. I would like to re-send this change because the PC that I created this original change has been dead and I have not been able to commit. This issue is caused by a stupid mistake of mine that I forgot adding a WM_IME_ENDCOMPOSITION handler to update the find results when a composition is finished (or canceled). This change adds a handler for WM_IME_ENDCOMPOSITION messages to update the find results. BUG=11863 "Korean find-in-page: Backspace all the way, Chrome will highlight all the characters that contain the first consonant" TEST=Open a Korean page, type Control+F keys, Switch the input language to Korean, type a right-alt key, type a 'w' key, type a 'k' key, type a 'a' key, type a backspace key, and verify there are not any highlited characters. Review URL: http://codereview.chromium.org/113847 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16934 0039d316-1c4b-4281-b951-d872f2087c98
* Rename bookmark_context_menu_win to *_views instead since it's technicallybrettw@chromium.org2009-05-263-2/+2
| | | | | | | cross-platform. Review URL: http://codereview.chromium.org/115799 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16933 0039d316-1c4b-4281-b951-d872f2087c98
* Check in a new linux reference build and enable the page cycler tests.tc@google.com2009-05-2628-310/+2926
| | | | | | | | | | We were crashing while trying to load fonts. Your patch for font fallback fixes the crash. Review URL: http://codereview.chromium.org/112061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16932 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Checkin a version of gmock, modified to use our boost_tuple in VS2005."ajwong@chromium.org2009-05-2690-37532/+13
| | | | | | This reverts commit 071e95bcdcefcd2cb86c9aed5cb073bbcaa7f2a7. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16931 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the last bits leftover from my frame window experiment.brettw@chromium.org2009-05-263-18/+1
| | | | | | Review URL: http://codereview.chromium.org/113863 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16930 0039d316-1c4b-4281-b951-d872f2087c98
* Fix more compilation errors in browser_view.cc and an error I introduced in abrettw@chromium.org2009-05-262-4/+4
| | | | | | | previous change that used the wrong parent variable when showing HTML dialogs. Review URL: http://codereview.chromium.org/113864 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16929 0039d316-1c4b-4281-b951-d872f2087c98
* Stubs out FocusManager and Menu so they compile on Linux.sky@chromium.org2009-05-265-10/+185
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/115794 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16928 0039d316-1c4b-4281-b951-d872f2087c98
* Checkin a version of gmock, modified to use our boost_tuple in VS2005.ajwong@chromium.org2009-05-2690-13/+37532
| | | | | | | | This checkin adds gmock, and a small example of how to write a gmock-based unittest. Review URL: http://codereview.chromium.org/113807 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16927 0039d316-1c4b-4281-b951-d872f2087c98
* Increase timeout for worker UI tests.jianli@chromium.org2009-05-261-1/+1
| | | | | | Review URL: http://codereview.chromium.org/113862 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16926 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r16903 that causes reliability crash spike.huanr@chromium.org2009-05-262-26/+6
| | | | | | Review URL: http://codereview.chromium.org/113865 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16925 0039d316-1c4b-4281-b951-d872f2087c98
* Make the contents of toolstrips center vertically by default.aa@chromium.org2009-05-262-3/+10
| | | | | | Review URL: http://codereview.chromium.org/115790 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16924 0039d316-1c4b-4281-b951-d872f2087c98
* Move failures back where they belong.dglazkov@chromium.org2009-05-261-5/+2
| | | | | | | | | | | | I accidentally removed them and abarth caught them. Now they're back where they ought to be. TBR=gwilson BUG=10463 TEST=0 Review URL: http://codereview.chromium.org/113845 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16923 0039d316-1c4b-4281-b951-d872f2087c98
* Run ui_tests (and other tests based on UITest) with --no-first-run to avoidmark@chromium.org2009-05-261-0/+3
| | | | | | | first-run dialogs. Review URL: http://codereview.chromium.org/113858 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16922 0039d316-1c4b-4281-b951-d872f2087c98
* HttpResponseHeaders::GetContentRange() to handle implied LWShclam@chromium.org2009-05-262-20/+78
| | | | | | | | | | | There was a bug in HttpResponseHeaders::GetContentRange() that it didn't respect implied LWS rule, i.e. there can be arbitrary number of spaces in the header value between tokens. TEST=HttpResponseHeaders.GetContentRange Review URL: http://codereview.chromium.org/113675 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16921 0039d316-1c4b-4281-b951-d872f2087c98
* Make bookmark_bar_view.h hopefully compile on Linux.brettw@chromium.org2009-05-263-13/+11
| | | | | | Review URL: http://codereview.chromium.org/115795 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16920 0039d316-1c4b-4281-b951-d872f2087c98
* 113827, part 2: the directories.senorblanco@chromium.org2009-05-260-0/+0
| | | | | | | | | | | Remove the remainder of the skia source code from the Chromium repo. It now lives over in third_party/skia. BUG=none TEST=If it builds, you're happy. R=dglazkov Review URL: http://codereview.chromium.org/113827 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16919 0039d316-1c4b-4281-b951-d872f2087c98
* Make most of browser_view compile on Linux.brettw@chromium.org2009-05-261-5/+26
| | | | | | Review URL: http://codereview.chromium.org/115786 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16918 0039d316-1c4b-4281-b951-d872f2087c98
* Set the buffer size correctly for 8-byte crash ids.thestig@chromium.org2009-05-261-2/+2
| | | | | | | | BUG=none TEST=crash handler should not print garbage to the console following the crash id. Review URL: http://codereview.chromium.org/115796 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16917 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: don't trigger GCC 4.3 warningsagl@chromium.org2009-05-261-3/+3
| | | | | | | r16889 triggered some warnings with GCC 4.3: http://pastebin.com/m3a9415af git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16916 0039d316-1c4b-4281-b951-d872f2087c98
* Do a few random bits of porting for Linux.brettw@chromium.org2009-05-262-3/+5
| | | | | | Review URL: http://codereview.chromium.org/115784 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16915 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION build from 182.0 to 183.0laforge@chromium.org2009-05-261-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16914 0039d316-1c4b-4281-b951-d872f2087c98
* SetInitialFocus() when there's no view to restore to.shess@chromium.org2009-05-261-0/+6
| | | | | | | | | | | | http://crbug.com/12555 TEST=Browse to a page. Bring up a new tab (Command-t), should be able to start typing in autocomplete. http://crbug.com/12556 TEST=With a partial URL entered, switch tabs, and switch back. Should be able to type to replace autocomplete. This does not fix the entire bug. Review URL: http://codereview.chromium.org/115734 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16906 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a corner case in tab dragging where we receive a drag-end signal before ↵jhawkins@chromium.org2009-05-261-0/+6
| | | | | | | | | | ever receiving a drag-motion signal. In this case we'd crash because dragged_tab_ isn't created yet. BUG=12473 TEST=Open a browser with three tabs. Rapidly click on the first and third tabs. This should not cause the browser to crash. Review URL: http://codereview.chromium.org/113854 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16905 0039d316-1c4b-4281-b951-d872f2087c98
* Undelete the factory method for BackForwardMenuModelGtk.estade@chromium.org2009-05-261-1/+8
| | | | | | | | | | It's still used by the unit test. TBR=erg Review URL: http://codereview.chromium.org/115791 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16904 0039d316-1c4b-4281-b951-d872f2087c98
* Retry r15294. The previous two tries causedhuanr@chromium.org2009-05-262-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | a crash spike in ChromeBot. The crash spike is caused by some observers don't remove themselves from notification list after being deleted. The clean up done by pkasting may fix this so I am give this change another try. TEST=None BUG=None Original change description: Close browser window synchronously during UI test tear down. This is an effor to reduce random failure due to browser crash with multiple window open during shutdown. Review URL: http://codereview.chromium.org/113856 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16903 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes BrowserView::GetBrowserViewForNativeView on linux.sky@chromium.org2009-05-261-2/+6
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/113851 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16901 0039d316-1c4b-4281-b951-d872f2087c98
* Removes accidental gyp change from another cl.sky@chromium.org2009-05-261-2/+0
| | | | | | | | | | BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/113852 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16900 0039d316-1c4b-4281-b951-d872f2087c98
* Gets a couple of download classes to compile on linux. Updates thesky@chromium.org2009-05-266-32/+80
| | | | | | | | | | | views build so that we only include the gtk classes we need. BUG=none TEST=none Review URL: http://codereview.chromium.org/115788 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16899 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor back/forward buttons to their own class. Fix them so the menu pops ↵estade@chromium.org2009-05-269-174/+275
| | | | | | | | | | | up on drags and the buttons look depressed when the menu is showing. BUG=12427 TEST=back/forward button behavior should be as on windows (see bug desc. for details). Review URL: http://codereview.chromium.org/113806 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16898 0039d316-1c4b-4281-b951-d872f2087c98
* First phase of Mac Keychain integration. For the overall plan, see the ↵stuartmorgan@chromium.org2009-05-267-4/+1239
| | | | | | | | | | | | | | design doc linked from the bug. This implements the ability to read existing Keychain passwords, but no storage/updating yet, and no adding of our own metadata as passwords are used; all that will be done in follow-up patches. This also includes a Keychain wrapper for the functionality necessary so far, and a mock Keychain sufficient to unit-test essentially all of the code. This patch deliberately excludes the step of instantiating a PasswordStoreMac and hooking it up to the profile, because a bug in autocomplete itself prevents passwords we load from actually being used, and we don't want to trigger Keychain UI for passwords that will be ignored. So this won't be used in builds yet, but it will be unit tested. BUG=11745 TEST=none (no user-visible effect yet) Review URL: http://codereview.chromium.org/115658 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16897 0039d316-1c4b-4281-b951-d872f2087c98
* Disable layout test worker-terminate.html. This is because we are removing ↵jianli@chromium.org2009-05-261-0/+5
| | | | | | | | | | the uses of V8 Locker in worker execution code when we switch to process-per-worker model. (See WebKit bug 25944 https://bugs.webkit.org/show_bug.cgi?id=25944). BUG=none TEST=none Review URL: http://codereview.chromium.org/113726 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16896 0039d316-1c4b-4281-b951-d872f2087c98
* Change the native type passed to Menu to get the system menu. The system menubrettw@chromium.org2009-05-262-2/+2
| | | | | | | | is associated with a window, so it should be a NativeWindow instead of NativeWidget. Review URL: http://codereview.chromium.org/113850 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16895 0039d316-1c4b-4281-b951-d872f2087c98
* Implement dragging a tab out of a TabStripGtk into its own browser window.jhawkins@chromium.org2009-05-269-48/+230
| | | | | | | | BUG=none TEST=Open a browser window with two tabs, pull one of the tabs out of the tab strip. On release, a new window should be created with the dragged tab contents. Review URL: http://codereview.chromium.org/113787 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16894 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the remainder of the skia source code from the Chromium repo. It now ↵senorblanco@chromium.org2009-05-26458-105533/+0
| | | | | | | | | | | | lives over in third_party/skia (I only removed the headers in the first CL, since it was too unwieldy with all these deletes). BUG=none TEST=If it builds, you're happy. R=dglazkov Review URL: http://codereview.chromium.org/113827 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16893 0039d316-1c4b-4281-b951-d872f2087c98
* Removes some dead code in TabContentsViewGtk and makes it compile forsky@chromium.org2009-05-263-39/+6
| | | | | | | | | | views. BUG=none TEST=none Review URL: http://codereview.chromium.org/113849 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16892 0039d316-1c4b-4281-b951-d872f2087c98
* Move the BookmarkMenuController out of bookmarks to the platform-specific partbrettw@chromium.org2009-05-2610-32/+36
| | | | | | | | of chrome. This renames the _win version to _views and makes the header compilable on non-Windows. Review URL: http://codereview.chromium.org/113844 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16891 0039d316-1c4b-4281-b951-d872f2087c98