summaryrefslogtreecommitdiffstats
path: root/chrome/browser
Commit message (Collapse)AuthorAgeFilesLines
* Rename ExtensionMessageService::PostMessage because windows #defines that tompcomplete@google.com2009-03-233-3/+4
| | | | | | | | | be something that breaks our build. TBR=aa Review URL: http://codereview.chromium.org/52029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12322 0039d316-1c4b-4281-b951-d872f2087c98
* Initial rev at a message passing API for extensions. So far, only passingmpcomplete@google.com2009-03-2310-10/+262
| | | | | | | messages to the extension process is supported. Review URL: http://codereview.chromium.org/48090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12319 0039d316-1c4b-4281-b951-d872f2087c98
* The death knell for the old native buttons, checkboxes and radio buttons.ben@chromium.org2009-03-2343-421/+372
| | | | | | | | Replace with renamed NativeButton2, Checkbox2, RadioButton2. Review URL: http://codereview.chromium.org/50083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12317 0039d316-1c4b-4281-b951-d872f2087c98
* Add initial implementation of the Linux TabStrip.jhawkins@chromium.org2009-03-235-14/+671
| | | | | | | | | | | | | | | | | The following are implemented: * Keyboard shortcuts for next/prev/close tab. * Tab layout and rendering. The following need to be implemented: * Mouse input handling. * Animations. * TabGtk, TabRendererGtk. * Dragging. * Fix a NOTREACHED in navigation_controller.cc. Review URL: http://codereview.chromium.org/42457 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12316 0039d316-1c4b-4281-b951-d872f2087c98
* Removed zombie hunter codemaruel@chromium.org2009-03-233-63/+0
| | | | | | | | BUG=6468 Review URL: http://codereview.chromium.org/46076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12314 0039d316-1c4b-4281-b951-d872f2087c98
* Fully enable history_url_provider_unittest.cc for Mac.shess@chromium.org2009-03-232-11/+0
| | | | | | | | | | | | | gfx::GetCleanStringFromUrl() got implemented for Mac at some point (I suspect when fonts landed), so now all of this code should be portable. There is a slight difference in how ElideUrl() works, due to font metric differences, but that should not be relevant to this code. Review URL: http://codereview.chromium.org/42513 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12310 0039d316-1c4b-4281-b951-d872f2087c98
* Deliver events and notifications to the RootView.erg@google.com2009-03-231-1/+8
| | | | | | | Review URL: http://codereview.chromium.org/42519 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12305 0039d316-1c4b-4281-b951-d872f2087c98
* BUG=9094hclam@chromium.org2009-03-231-0/+18
| | | | | | | | | | | | GetRequestContextForMedia() in ProfileImpl and OffTheRecordProfileImpl now respect --disk-cache-dir. Since the snippet for getting the path from --disk-cache-dir is very short, it's not necessary to keep it in a separate method so I duplicated the snippet and used it in both classes. Review URL: http://codereview.chromium.org/42517 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12298 0039d316-1c4b-4281-b951-d872f2087c98
* Fix an invalid DCHECK for media request contexthclam@chromium.org2009-03-232-30/+43
| | | | | | | | | | | | | | BUG=9082 Since I forwarded CreateOffTheRecordForMedia to CreateOriginalForMedia, it triggers a DCHECK. Since the implementation of off the record media cache is not going to be implemented soon, I duplicated the implementation of CreateOriginalForMedia. Review URL: http://codereview.chromium.org/42467 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12297 0039d316-1c4b-4281-b951-d872f2087c98
* Updating to use scoped_nsobject.avi@google.com2009-03-232-9/+3
| | | | | | Review URL: http://codereview.chromium.org/52017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12287 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up popup windows on Mac (no blocking yet).avi@google.com2009-03-232-7/+35
| | | | | | Review URL: http://codereview.chromium.org/52015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12284 0039d316-1c4b-4281-b951-d872f2087c98
* Port more UI tests to Linux.phajdan.jr@chromium.org2009-03-235-64/+54
| | | | | | | | | | | | | | | | | | | | | - enable following ui tests on Linux: history_uitest.cc inspector_controller_uitest.cc browser/history/redirect_uitest.cc browser/locale_tests_uitest.cc browser/sanity_uitest.cc - move information about Linux-specific splash page to more generic location and enable more logic about start page on Linux - maintainability cleanups (DISABLED_ instead of #if 0) - misc GCC-related cleanups Review URL: http://codereview.chromium.org/49006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12281 0039d316-1c4b-4281-b951-d872f2087c98
* Handle null window_id references and refer to a bug for further improvement.avi@google.com2009-03-233-6/+16
| | | | | | Review URL: http://codereview.chromium.org/47002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12280 0039d316-1c4b-4281-b951-d872f2087c98
* Currently we have two types of devtools UI: Chrome built in developer tools ↵yurys@google.com2009-03-2316-285/+335
| | | | | | | | | | window and remote debugger connected over TCP(apavlov is working on it). To allow DevToolsManager coordinate both types of devtools uniformly their API is extracted into DevToolsClientHost interface. Fix purify errors in DevToolsManager unit tests. BUG=9150 Review URL: http://codereview.chromium.org/50009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12274 0039d316-1c4b-4281-b951-d872f2087c98
* Support for extensions permissions. This CL only contains, parsing, ↵rafaelw@chromium.org2009-03-236-10/+143
| | | | | | | | initializing values into Extension, outputting values to the extension_ui, and appropriate unit test changes Review URL: http://codereview.chromium.org/42480 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12273 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to detect impact of disabling dns prefetching on transaction latencyjar@chromium.org2009-03-232-8/+16
| | | | | | | | | This is also meant to exercise the field trial infrastructure. r=mbelshe Review URL: http://codereview.chromium.org/50084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12271 0039d316-1c4b-4281-b951-d872f2087c98
* Free unit tests for Mac: BookmarkHTMLWriterTest, BookmarkUtilsTest,shess@chromium.org2009-03-222-5/+5
| | | | | | | | DownloadRequestManagerTest, URLFetcher*Test, TimeFormat, RenderWidgetTest Review URL: http://codereview.chromium.org/50081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12269 0039d316-1c4b-4281-b951-d872f2087c98
* Revert change 12247 because it created a lot of memory regressionsnsylvain@chromium.org2009-03-224-164/+56
| | | | | | | in the purify unit test. Review URL: http://codereview.chromium.org/45021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12267 0039d316-1c4b-4281-b951-d872f2087c98
* Initial revision of the DevTools frontend.pfeldman@chromium.org2009-03-221-2/+2
| | | | | | Review URL: http://codereview.chromium.org/45012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12265 0039d316-1c4b-4281-b951-d872f2087c98
* Bug 6474: Rename the Cancel button to Close in Clear Browsing Data.finnur@chromium.org2009-03-211-0/+2
| | | | | | | | | | | | | | | | At one point we changed the Clear Browsing Data dialog to remember the values of the combobox and the checkboxes between runs. Like with the Options dialog, changes you make take effect immediately and as such having a Cancel button is misleading. Therefore, I am proposing we rename it to Close. BUG=6474 TEST=Open Clear Browsing Data dialog. The button should now say Close. Review URL: http://codereview.chromium.org/45019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12248 0039d316-1c4b-4281-b951-d872f2087c98
* Committing issue 39299:aa@chromium.org2009-03-214-56/+164
| | | | | | | | | | | | | Test for extension user script load and inject. This add a test that a user script actually gets injected into pages and runs. Before we only had unit tests for the various classes and weren't testing the system end-to-end. Review URL: http://codereview.chromium.org/51003 Patch from Steve Krulewitz <skrulx@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12247 0039d316-1c4b-4281-b951-d872f2087c98
* Allow multiple toolstrips in an extension.aa@chromium.org2009-03-215-16/+34
| | | | | | Review URL: http://codereview.chromium.org/42439 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12244 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the old and no longer used SafeBrowsing storagepaulg@google.com2009-03-2110-1581/+11
| | | | | | | implementation. Review URL: http://codereview.chromium.org/45016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12238 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linux input breakage: Don't wrap an important line in a DCHECK!estade@chromium.org2009-03-201-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12227 0039d316-1c4b-4281-b951-d872f2087c98
* Pressing the Del key while a item is selected in the autocomplete popup ↵jcampan@chromium.org2009-03-2011-4/+91
| | | | | | | | | | deletes that suggestion from the DB. BUG=6176 TEST=Bring up the autofill popup in a form. Select an item and press the Del key. The item should be removed from the popup and should not show on subsequent autofill popups. Review URL: http://codereview.chromium.org/42258 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12221 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DCHECK in DownloadRequestDialogDelegateWin::DeleteDelegatefinnur@chromium.org2009-03-201-3/+0
| | | | | | | | | | | | | | | | | | | | | | This DCHECK occurs when we click Allow on the "This webpage is trying to download multiple files" dialog. When... DownloadRequestDialogDelegate ... and ... DownloadRequestDialogDelegateWin ... were created, both classes by accident contained a host_ member. This causes a DCHECK in... DownloadRequestDialogDelegateWin::DeleteDelegate() ... because the host_ in the child class is never initialized. I believe the intent is to check the host_ of the parent class, so I deleted the definition of host from xxxDelegateWin. Review URL: http://codereview.chromium.org/50072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12220 0039d316-1c4b-4281-b951-d872f2087c98
* Remove errant debugging line.estade@chromium.org2009-03-201-1/+0
| | | | | | Review URL: http://codereview.chromium.org/50073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12219 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a bookmark menu. This is experimental. To turn on you needsky@google.com2009-03-209-9/+292
| | | | | | | | | | | | --bookmark-menu. BUG=3206 TEST=Turn on the bookmark menu via --bookmark-menu and make sure it works. Also make sure I didn't break anything on the bookmark bar. Review URL: http://codereview.chromium.org/42460 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12217 0039d316-1c4b-4281-b951-d872f2087c98
* Consolidate into a single shutdown path.tc@google.com2009-03-202-29/+32
| | | | | | | | | | | This consolidates the shutdown path. We used to have two paths depending of whether the user hit the X on the window manager or used wrench -> exit. Now both do the same thing: call BrowserWindowGtk::Close(). Review URL: http://codereview.chromium.org/42372 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12214 0039d316-1c4b-4281-b951-d872f2087c98
* Enable first UI test on Linux (browser/images_uitest.cc)phajdan.jr@chromium.org2009-03-202-1/+4
| | | | | | | | | - less things #ifdef-ed - replaced Windows-specific functions with portable equivalents Review URL: http://codereview.chromium.org/50059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12213 0039d316-1c4b-4281-b951-d872f2087c98
* Allow multiple js files per content script. Thanks to georged for making ↵aa@chromium.org2009-03-204-26/+6
| | | | | | | | this so easy. Review URL: http://codereview.chromium.org/42438 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12210 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Restore normal event handling for key events that are not to be sent ↵estade@chromium.org2009-03-201-9/+18
| | | | | | | | | | to webkit. We want to pass all key events to webkit. But other widgets shouldn't get key events till after they've been checked against our accelerators. This fixes the problem that pressing ctrl-page{up,down} in the location bar moves the cursor rather than changing tabs. Review URL: http://codereview.chromium.org/50069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12209 0039d316-1c4b-4281-b951-d872f2087c98
* Removes all use of COM and dependencies on Windows-specific classes ↵klink@chromium.org2009-03-204-74/+173
| | | | | | | | (including the use of AccessibleBase and AccessibleDocument) in the glue accessibility implementation.Introduces the GlueAccessibilityObject, which serves as a platform-independent wrapper directly around WebKit's AccessibilityObject (also platoform-independent).Updates naming/comments to reflect the independence of IAccessible both in glue and (where appropriate) in the browser-side accessibility. Review URL: http://codereview.chromium.org/46013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12207 0039d316-1c4b-4281-b951-d872f2087c98
* Linux UI hook ups:estade@chromium.org2009-03-204-10/+35
| | | | | | | | | - Fix new tab focus - attach f5 for refresh Review URL: http://codereview.chromium.org/42422 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12206 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up ctrl-w for close tab on linux.estade@chromium.org2009-03-202-4/+31
| | | | | | | | | | Delay the handling of certain accelerators so we don't try to destroy a widget that GTK is reffing as a result of event handling. Patch based on another by Dean McNamee. Review URL: http://codereview.chromium.org/42421 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12200 0039d316-1c4b-4281-b951-d872f2087c98
* Implement context menus on Mac.pinkerton@chromium.org2009-03-203-1/+190
| | | | | | Review URL: http://codereview.chromium.org/42448 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12198 0039d316-1c4b-4281-b951-d872f2087c98
* Updating TODO list; turns out that the fade is working but too quickly for ↵avi@google.com2009-03-201-1/+0
| | | | | | | | my laptop to show. Review URL: http://codereview.chromium.org/47003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12188 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite tab layout to a centralized method rather than moving things around ↵pinkerton@chromium.org2009-03-201-61/+74
| | | | | | | | ad hoc in the insert and delete tab methods. Tabs now scale down in size (to a min size) rather than overflowing. Selected tab takes on normal size. Review URL: http://codereview.chromium.org/42411 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12186 0039d316-1c4b-4281-b951-d872f2087c98
* Make GTK accelerator setup code more compact.estade@chromium.org2009-03-201-22/+19
| | | | | | Review URL: http://codereview.chromium.org/50042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12184 0039d316-1c4b-4281-b951-d872f2087c98
* SSLPolicy fix: Step 9 of 9 (hopefully!).abarth@chromium.org2009-03-2010-202/+252
| | | | | | | | | | | | Change our algorithm for computing the state of our SSL security indicators. Previously, we were computing this state for a single navigation entry. Although this matches other browsers, it fails to take the same-origin policy into account. For example, if one tab is contaminated with insecure content, that insecure content can spread to all the tabs in the same security origin. R=jcampan,wtc BUG=8706 TEST=SSLUITest.TestMixedContentsRandomizeHash,SSLUITest.TestMixedContentsTwoTabs Review URL: http://codereview.chromium.org/42314 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12178 0039d316-1c4b-4281-b951-d872f2087c98
* Now have a TextButton rendering (sort of; doesn't respond to mouse events soerg@google.com2009-03-191-0/+4
| | | | | | | | | | | I don't know if it'll draw the border correctly). Now with fixes to compile under Windows. Review URL: http://codereview.chromium.org/42427 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12172 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bunch of tiny near-bugs and bugs that static analysis identifiedjar@chromium.org2009-03-192-3/+4
| | | | | | | r=mbelshe,brettw Review URL: http://codereview.chromium.org/50014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12166 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Now have a TextButton rendering." Broke Windows.erg@google.com2009-03-191-4/+0
| | | | | | | | | TBR=beng Review URL: http://codereview.chromium.org/50035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12163 0039d316-1c4b-4281-b951-d872f2087c98
* Now have a TextButton rendering (sort of; doesn't respond to mouse events so ↵erg@google.com2009-03-191-0/+4
| | | | | | | | | I don't know if it'll draw the border correctly). Review URL: http://codereview.chromium.org/42414 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12162 0039d316-1c4b-4281-b951-d872f2087c98
* Create cross-platform NativeButton2 class that wraps a NativeButtonWin.Once ↵ben@chromium.org2009-03-191-1/+1
| | | | | | | | I get this to work I'll rename it NativeButton and remove the old one. Review URL: http://codereview.chromium.org/48117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12160 0039d316-1c4b-4281-b951-d872f2087c98
* Convert FindInPage wstrings to string16.tc@google.com2009-03-1910-20/+19
| | | | | | | Review URL: http://codereview.chromium.org/42408 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12158 0039d316-1c4b-4281-b951-d872f2087c98
* Implement focusing location bar with cmd-L on mac. Removes some more ↵pinkerton@chromium.org2009-03-192-6/+0
| | | | | | platform ifdefs that are no longer necessary in Browser. Patch from thakis@google.com. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12155 0039d316-1c4b-4281-b951-d872f2087c98
* Stage 1 of tab dragging infrastructure, disabled. Put in a base class below ↵pinkerton@chromium.org2009-03-196-21/+368
| | | | | | | | the browser window for windows with tabs to promote re-use in contexts other than just the browser. Add code to the tab view to track drags, but it's disabled as it still needs much work. Review URL: http://codereview.chromium.org/42397 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12125 0039d316-1c4b-4281-b951-d872f2087c98
* Remove extra language under "Spell-checker options" context menusidchat@google.com2009-03-191-1/+8
| | | | | | | Issue=8127 Review URL: http://codereview.chromium.org/48082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12108 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing build by initializing all variables; TBR.avi@google.com2009-03-191-0/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12106 0039d316-1c4b-4281-b951-d872f2087c98