summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Plumb a command line argument to enable the XSSAuditor.abarth@chromium.org2009-06-234-1/+11
| | | | | | | | | | TBR=darin BUG=None TEST=None Review URL: http://codereview.chromium.org/146023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19014 0039d316-1c4b-4281-b951-d872f2087c98
* For consistency, stop using the workarea coordinate inyuzo@chromium.org2009-06-232-4/+2
| | | | | | | | | | | | | saving/retrieving/adjusting window positions. TEST=Open Chrome windows and see if they are placed properly. TESTED=gcl try, manually BUG=none Review URL: http://codereview.chromium.org/141039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19012 0039d316-1c4b-4281-b951-d872f2087c98
* Use LOAD_VERIFY_EV_CERT to verify EV-ness in Verify().ukai@chromium.org2009-06-231-11/+4
| | | | | | | | | | | | | | | | | If LOAD_VERIFY_EV_CERT is requested on load_flags and revokation checking is performed, Verify() peforms EV certificate verification as well, and sets CERT_STATUS_IS_EV in verify_result. Eliminate X509Certificate::IsEV() BUG=3592 TEST=net_unittests with ALLOW_EXTERNAL_ACCESS=1, \ visit https://www.thawte.com/ and shows EV info. Review URL: http://codereview.chromium.org/125120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19011 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable the --enable-extensions flag. Fix a bug where the ↵aa@chromium.org2009-06-235-7/+50
| | | | | | | | | | | | | | extensions.enable pref was not being honored. Add tests. This is intended to be submitted after: http://codereview.chromium.org/132003 BUG=13467 TEST=Added unit tests Review URL: http://codereview.chromium.org/132045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19010 0039d316-1c4b-4281-b951-d872f2087c98
* Integrating GtkIMContext into the RenderWidgetHostViewGtk class.This change ↵hbono@chromium.org2009-06-236-2/+209
| | | | | | | | | | | | | | implements signal handers of the GtkIMContext object to support IMEs and dead-keys. Also, to improve compatibility with Windows Chrome, this change emulates IPC messages sent on Windows when we input characters and fixes Issue 13604 as well as Issue 10953 and 11226. Even though I notice we need more work for fixing edge cases (e.g. disabling IMEs on a password input) on Linux, I think this is the good starting point. (Supporting edge-cases requires complicated code and it makes hard to review.) BUG=10953 "IME support" BUG=11226 "Dead keys and accents input not working" BUG=13604 "Hotkeys not working in non-us keyboard layout" TEST=Open a web page which contains an <input> form (e.g. <http://www.google.com/>), type a '[{' key and an 'A' key on a Canadian-French keyboard, and see a Latin character "U+00E2" is displayed in the <input> form. TEST=Open a web page which contains an <input> form (e.g. <http://www.google.com/>), enable an Chinese Pinyin IME, type a 'W' key, type an 'O' key, and see a Chinese character is displayed in the <input> form. TEST=Change the keyboard layout to Hebrew (or Russian), open a web page which contains an <input> form, input some characters in the <input> form, type control+a, and see the text in the <input> form is selected. Review URL: http://codereview.chromium.org/126118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19009 0039d316-1c4b-4281-b951-d872f2087c98
* Disable extensions besides externally installed ones and themes.aa@chromium.org2009-06-237-47/+83
| | | | | | | | | | | | This is mainly intended to be pulled to the 3.0 branch. It won't be submitted until another corresponding change to undo the damage is ready. BUG=13467 TEST=Added unit tests Review URL: http://codereview.chromium.org/132003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19008 0039d316-1c4b-4281-b951-d872f2087c98
* Rejiggers the keyword editor so that the UI is independent of the model ↵ben@chromium.org2009-06-2328-399/+444
| | | | | | | | | | | rather than being derived from it. This reduces the spaghetti somewhat. Also decouples the notion of a native view hierarchy from the location in TabContents::PageHasOSDD where the template URL fetcher is spawned. The Template URL Fetcher now simply retains a reference to the TabContents that created it. If the TabContents is destroyed before the fetch completes, we just discard the data retrieved without adding a keyword. BUG=none TEST=none Review URL: http://codereview.chromium.org/140054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19003 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TOOLKI_VIEWS cruft from tab_contents_view_gtk.cc now that it has its ↵jhawkins@chromium.org2009-06-231-4/+0
| | | | | | | | | | own TabContentsView implementation. BUG=14469 TEST=none Review URL: http://codereview.chromium.org/146010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19002 0039d316-1c4b-4281-b951-d872f2087c98
* Fix gcc-4.3 buildestade@chromium.org2009-06-231-0/+2
| | | | | | | | | | | crome/browser/gtk/gtk_chrome_link_button.cc needs stdlib.h for free and malloc on gcc-4.3 patch by Joel Stan <joel.stan@gmail.com> original review: http://codereview.chromium.org/147002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19001 0039d316-1c4b-4281-b951-d872f2087c98
* Second phase of move for the support directory to a more reasonable location ↵slightlyoff@chromium.org2009-06-231-2/+2
| | | | | | | | in the tree. Review URL: http://codereview.chromium.org/144016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19000 0039d316-1c4b-4281-b951-d872f2087c98
* Removes some duplicated code to use LocalStrings formatString insteadarv@google.com2009-06-233-6/+3
| | | | | | | | | | | | | of manually formatting it. BUG=14878 TEST=Open a new window with at least 2 tabs. Close it and go to the NTP and it should say "2 tabs" under recently closed. Review URL: http://codereview.chromium.org/144022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18999 0039d316-1c4b-4281-b951-d872f2087c98
* Bring the potential drag destination window to the front when the mouse ↵jhawkins@chromium.org2009-06-231-1/+27
| | | | | | | | | | moves over the window. BUG=none TEST=Open two browser windows with multiple tabs. Make sure the windows overlap. Drag a tab from the top-level window into the frame of the other window. The lower window should be raised after a delay. Review URL: http://codereview.chromium.org/146004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18997 0039d316-1c4b-4281-b951-d872f2087c98
* Update the New New Tab Page. There are still a lot of things that arearv@google.com2009-06-2211-1371/+1909
| | | | | | | | | | | | | | not implemented but it is time to get this submitted and iron out the remaining issues. BUG=13362 TEST=Start chrome with --new-new-tab-page and look at play arouind with the new tab page. Review URL: http://codereview.chromium.org/132027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18989 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore a weird reliability crash where InvalidParameter is the only call onmpcomplete@google.com2009-06-221-0/+4
| | | | | | | | | | the call stack. BUG=no TEST=no Review URL: http://codereview.chromium.org/145007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18988 0039d316-1c4b-4281-b951-d872f2087c98
* Move socket related files from net/base to net/socket.willchan@chromium.org2009-06-222-2/+2
| | | | | | Review URL: http://codereview.chromium.org/144009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18985 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Enable some more ui_tests.willchan@chromium.org2009-06-223-5/+12
| | | | | | | | Ignore the expected_crashes_ since Linux doesn't have crash_service. Review URL: http://codereview.chromium.org/144014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18983 0039d316-1c4b-4281-b951-d872f2087c98
* Hide the window frame when the last tab is dragged out of a tabstrip.jhawkins@chromium.org2009-06-224-14/+29
| | | | | | | | BUG=13838 TEST=Open two browser windows. Drag one of the tabs into the other tabstrip. The first browser window should disappear and the browser should not crash. Review URL: http://codereview.chromium.org/145019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18981 0039d316-1c4b-4281-b951-d872f2087c98
* Move toolbar hotkeys to BrowserWindowGtk.estade@chromium.org2009-06-223-26/+12
| | | | | | | | | | | | | | | | | | | | | | | BUG=14113 TEST=the navigation hotkeys now work in fullscreen mode. Make sure the follownig all work: { GDK_Left, IDC_BACK, GDK_MOD1_MASK }, { GDK_BackSpace, IDC_BACK, GdkModifierType(0) }, { XF86XK_Back, IDC_BACK, GdkModifierType(0) }, { GDK_Right, IDC_FORWARD, GDK_MOD1_MASK }, { GDK_BackSpace, IDC_FORWARD, GDK_SHIFT_MASK }, { XF86XK_Forward, IDC_FORWARD, GdkModifierType(0) }, { GDK_r, IDC_RELOAD, GDK_CONTROL_MASK }, { GDK_F5, IDC_RELOAD, GdkModifierType(0) }, { GDK_F5, IDC_RELOAD, GDK_CONTROL_MASK }, { XF86XK_Reload, IDC_RELOAD, GdkModifierType(0) }, { XF86XK_Refresh, IDC_RELOAD, GdkModifierType(0) }, key: { button, action, modifier }, where MOD1 = alt Review URL: http://codereview.chromium.org/145020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18980 0039d316-1c4b-4281-b951-d872f2087c98
* Support middle click navigation with infobar links.estade@chromium.org2009-06-223-2/+63
| | | | | | | | | http://crbug.com/14518 TEST=middle click on an infobar link, it should open in a new tab Review URL: http://codereview.chromium.org/145013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18978 0039d316-1c4b-4281-b951-d872f2087c98
* Reorganize the way the task manager is constructed.ben@chromium.org2009-06-2218-303/+205
| | | | | | | | | | | The BrowserWindow creates the task manager UI directly, which uses the TaskManager to populate itself. BUG=none TEST=none Review URL: http://codereview.chromium.org/140044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18975 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Fixes regression where "Add Page..." didn't work and printed a ↵erg@google.com2009-06-221-3/+3
| | | | | | | | | | NOTIMPLEMENTED() to the console. http://crbug.com/14935 Review URL: http://codereview.chromium.org/145011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18968 0039d316-1c4b-4281-b951-d872f2087c98
* Paste and Go was missing on the omnibar this CL will append a menu item to ↵mhm@chromium.org2009-06-222-4/+45
| | | | | | | | | | | | the current Autocomplete edit box and by using Gtk clipboard, it will paste and search it. BUG=14800 (http://crbug.com/14800) TEST=Selected text from view and right clicked copied. Went to the omnibox and right clicked > Paste and Go. It navigated to the page successfully. Review URL: http://codereview.chromium.org/140050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18967 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the first run infobubble. It overrode WidgetWin's OnSize without calling ↵ben@chromium.org2009-06-221-0/+1
| | | | | | | | | | | down to it so the window was never laid out when it was initially created. http://crbug.com/14637 TEST=first run bubble should not be black Review URL: http://codereview.chromium.org/145006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18966 0039d316-1c4b-4281-b951-d872f2087c98
* TBR: Fix dead tree.aa@chromium.org2009-06-226-119/+44
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18964 0039d316-1c4b-4281-b951-d872f2087c98
* Always draw the blue gradient background, even if the custom frametc@google.com2009-06-221-24/+27
| | | | | | | | | | | | is off. Only paint the custom frame png if the custom frame is on. This fixes a bug where the blue gradient wans't applied on the window-decoration version. Review URL: http://codereview.chromium.org/145005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18963 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable the --enable-extensions flag. Fix a bug where the ↵aa@chromium.org2009-06-224-4/+47
| | | | | | | | | | | | | | extensions.enable pref was not being honored. Add tests. This is intended to be submitted after: http://codereview.chromium.org/132003 BUG=13467 TEST=Added unit tests Review URL: http://codereview.chromium.org/132045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18962 0039d316-1c4b-4281-b951-d872f2087c98
* Add a TODO comment for later when I have more time. (hahaha)erg@google.com2009-06-221-0/+6
| | | | | | Review URL: http://codereview.chromium.org/144005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18960 0039d316-1c4b-4281-b951-d872f2087c98
* Disable extensions besides externally installed ones and themes.aa@chromium.org2009-06-225-42/+74
| | | | | | | | | | | | This is mainly intended to be pulled to the 3.0 branch. It won't be submitted until another corresponding change to undo the damage is ready. BUG=13467 TEST=Added unit tests Review URL: http://codereview.chromium.org/132003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18959 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for XF86Back and friends. This is how it's done in Galeon.thestig@chromium.org2009-06-222-0/+16
| | | | | | | | BUG=11441 TEST=Try the non-standard browser keys on a keyboard that has them. I.e. the back and forward button on a Thinkpad. Review URL: http://codereview.chromium.org/140081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18958 0039d316-1c4b-4281-b951-d872f2087c98
* Fix type. Fixes the gcc4.3 build.tc@google.com2009-06-221-1/+1
| | | | | | | | | TBR=thestig Review URL: http://codereview.chromium.org/144004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18957 0039d316-1c4b-4281-b951-d872f2087c98
* Move the titlebar background drawing from the titlebar to thetc@google.com2009-06-223-34/+15
| | | | | | | | | | | | browser window. This fixes a visual bug where the border looked disconnected with the background. This matches what Windows does. BUG=14884 Review URL: http://codereview.chromium.org/140078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18954 0039d316-1c4b-4281-b951-d872f2087c98
* Changes tab overview to create a window the max size it can possiblysky@chromium.org2009-06-225-81/+58
| | | | | | | | | | | | | be so that resize animations are not janktastic. TabOverviewContainer only draws in the parts that are actually used so that it appears as though the window is smaller than it is. This was needed as moving/resizing bounds is way too expensive. BUG=none TEST=none Review URL: http://codereview.chromium.org/132059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18952 0039d316-1c4b-4281-b951-d872f2087c98
* Rebuild the bookmark context menu from scratch when selection changes.estade@chromium.org2009-06-223-26/+57
| | | | | | | | | | | Since the "remove" item always causes selection to change, we don't have to worry about trying to call remove twice with the same context menu. TEST=see bug. Also, no new crashes on linux. BUG=14443 Review URL: http://codereview.chromium.org/132048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18951 0039d316-1c4b-4281-b951-d872f2087c98
* posix: two related changes to make plugin IPC work on POSIX.evan@chromium.org2009-06-2217-60/+283
| | | | | | | | | | | | | | | | | | | | | | | | [re-retry, seeing if reliability bots like it] * use a new ChannelHandle type when passing IPC channels over IPC The current POSIX code assumes that one end of a channel is always a new child process (a renderer). For plugins we need to be able to construct channels between each of the browser, plugin, and renderer. This change augments the messages related to creating channels to allow passing in a base::FileDescriptor containing the socket. The intent is that the browser process, as the initial interchange between plugin and renderer, creates the socketpair() on their behalf and hands each their respective end of the connection. * register channel endpoint names in the global pipe map The plugin code assumes it can map from a string to a channel endpoint at basically any time. So whenever we get a channel endpoint over IPC, we install it in a global map of channel endpoints. Review URL: http://codereview.chromium.org/113157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18950 0039d316-1c4b-4281-b951-d872f2087c98
* Revert to enumerating all X windows if the Window Manager doesn't support ↵jhawkins@chromium.org2009-06-225-15/+42
| | | | | | | | | | _NET_CLIENT_LIST_STACKING. BUG=14004 TEST=Drag tabs in and out of tabstrip in xmonad window manager. Review URL: http://codereview.chromium.org/141061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18949 0039d316-1c4b-4281-b951-d872f2087c98
* More CHECKs in my continuing effort to figure out what is going on. Neither ↵pkasting@chromium.org2009-06-222-2/+3
| | | | | | | | | | Ben nor I can get this one. BUG=13500 TEST=none Review URL: http://codereview.chromium.org/140009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18947 0039d316-1c4b-4281-b951-d872f2087c98
* Cancel all pending requests when a worker goes away.jam@chromium.org2009-06-222-4/+2
| | | | | | | | BUG=14753 Review URL: http://codereview.chromium.org/140039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18944 0039d316-1c4b-4281-b951-d872f2087c98
* Revert bump of VERSION filemal@chromium.org2009-06-221-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18941 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION build from 191.0 to 192.0mal@chromium.org2009-06-221-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18940 0039d316-1c4b-4281-b951-d872f2087c98
* Returned rect was never being set for OnGetRootWindowRect().shess@chromium.org2009-06-221-1/+1
| | | | | | | | | http://crbug.com/14770 TEST=See bug. Review URL: http://codereview.chromium.org/140011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18938 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION build from 190.0 to 191.0mal@chromium.org2009-06-221-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18935 0039d316-1c4b-4281-b951-d872f2087c98
* Correct logic that changes throbber states such that it will stay in the ↵pinkerton@chromium.org2009-06-221-6/+10
| | | | | | | | | | "wait" state for the correct period of time. BUG=none TEST=none, code not yet enabled Review URL: http://codereview.chromium.org/141051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18933 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Polish HTTP Auth UI. Adds standard border and word wraps the label.erg@google.com2009-06-222-8/+6
| | | | | | | | http://crbug.com/11512 Review URL: http://codereview.chromium.org/140076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18930 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to using FilePath as long as possible for LoginDatabase, and do the ↵stuartmorgan@chromium.org2009-06-224-11/+10
| | | | | | | | | | conversion to std::string correctly for all platforms. BUG=14641 TEST=LoginDatabase unit tests should build and run on Windows Review URL: http://codereview.chromium.org/139005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18928 0039d316-1c4b-4281-b951-d872f2087c98
* Add the ability to resize the window when over the custom frame.tc@google.com2009-06-226-68/+250
| | | | | | | | | | | | | | | | I also switched from 3px borders to 4px borders because that's what they are on windows. On linux, the borders look bigger because our webcontent area doesn't drop a shadow. For this to work for resizing on top, I had to remove the event box from the browser titlebar and move the mouse event handling to the window. BUG=14645 Review URL: http://codereview.chromium.org/140026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18927 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a missing call to TabContents::WasHidden() on Mac.rohitrao@chromium.org2009-06-222-12/+15
| | | | | | | | | | | | | Consolidates the WasHidden/DidBecomeSelected logic into a single method. This change is needed to make the hung renderer dialog disappear when switching tabs. BUG=None TEST=None Review URL: http://codereview.chromium.org/141048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18926 0039d316-1c4b-4281-b951-d872f2087c98
* Theme image support for the Mac.avi@chromium.org2009-06-225-42/+118
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/140007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18925 0039d316-1c4b-4281-b951-d872f2087c98
* By user request, focus should go to the location bar when about:blank is the ↵jcampan@chromium.org2009-06-222-0/+9
| | | | | | | | | | default new tab page. BUG=9966 TEST=Make "about:blank" your home page. Open a new tab. It should be showing about:blank and the location bar should be focused. Review URL: http://codereview.chromium.org/141028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18924 0039d316-1c4b-4281-b951-d872f2087c98
* gtk EditKeywordController properly enables controls when created without a ↵mattm@chromium.org2009-06-221-0/+2
| | | | | | | | | | | | TemplateURL (when creating with one, the entry changed signal would do it.) BUG=13326 Review URL: http://codereview.chromium.org/141025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18922 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Linux code coverage.jrg@chromium.org2009-06-221-1/+3
| | | | | | Review URL: http://codereview.chromium.org/141016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18921 0039d316-1c4b-4281-b951-d872f2087c98