summaryrefslogtreecommitdiffstats
path: root/chrome/browser
Commit message (Collapse)AuthorAgeFilesLines
* Redone http://codereview.chromium.org/42571idanan@chromium.org2009-03-2412-41/+95
| | | | | | | | | | | Issue 6477: Support modifier clicks on UI elements Mouse event flags transformed to WindoOpenDisposition so that browser commands can all inteterpert event modifiers. Implemented home, forward and backwards middle-click andshift middle click. Previously working on issue 358 which was market a duplicate and concerned with the home and tabstrip subset of this behavior: Can't open a new tab by middle-clicking home button. No functionality has been lost or altered, only the use ofmodifiers give access to increased functionality. BUG=6477 TBR=maruel Review URL: http://codereview.chromium.org/53020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12403 0039d316-1c4b-4281-b951-d872f2087c98
* Implement basic ShowItemInFolder for linux.estade@chromium.org2009-03-242-17/+5
| | | | | | | | | Note that this only works if you are using a gnome or kde session. Support for other sessions will be added in the future. Review URL: http://codereview.chromium.org/52034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12395 0039d316-1c4b-4281-b951-d872f2087c98
* Switch some more ASCII locale code wstrings to strings.estade@chromium.org2009-03-247-252/+226
| | | | | | | | Also, don't alphabetize available spellchecker locale codes. Review URL: http://codereview.chromium.org/42531 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12388 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting r12383, caused a build breakage on all platforms.maruel@chromium.org2009-03-249-86/+40
| | | | | | | TBR=idanan Review URL: http://codereview.chromium.org/42571 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12385 0039d316-1c4b-4281-b951-d872f2087c98
* Issue 6477: Support modifier clicks on UI elementsidanan@chromium.org2009-03-249-40/+86
| | | | | | | | | | | | | | | | | | | Mouse event flags transformed to WindoOpenDisposition so that browser commands can all inteterpert event modifiers. Implemented home, forward and backwards middle-click andshift middle click. Previously working on issue 358 which was market a duplicate and concerned with the home and tabstrip subset of this behavior: Can't open a new tab by middle-clicking home button. No functionality has been lost or altered, only the use ofmodifiers give access to increased functionality. BUG=6477 TBR=ben@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12383 0039d316-1c4b-4281-b951-d872f2087c98
* Make the find bar blue. Hooks up the prev/next buttons and thetc@google.com2009-03-242-12/+106
| | | | | | | | | close button. Review URL: http://codereview.chromium.org/50079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12378 0039d316-1c4b-4281-b951-d872f2087c98
* New tab page was linking to the wrong URL for the history page. We don't ↵glen@chromium.org2009-03-242-31/+18
| | | | | | | | | | need the message and can just put an actual URL in the page. BUG=8961 Review URL: http://codereview.chromium.org/49014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12375 0039d316-1c4b-4281-b951-d872f2087c98
* Improve the Linux Omnibox ssl background / scheme coloring.deanm@chromium.org2009-03-241-8/+16
| | | | | | | | | | | We now correctly reset the background color on tab switches, and navigations from a ssl to non-ssl page. BUG=8236,9225 Review URL: http://codereview.chromium.org/49015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12371 0039d316-1c4b-4281-b951-d872f2087c98
* Add a progress meter to the downloads page.glen@chromium.org2009-03-242-12/+159
| | | | | | | | | | | | | | Add the progress status text indicator code from the old history page. Make 'cancel' visible when paused. More RTL fixes. BUG=8220,8334 Review URL: http://codereview.chromium.org/42550 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12366 0039d316-1c4b-4281-b951-d872f2087c98
* History import was exercising a codepath that didn't have code to update ↵glen@chromium.org2009-03-241-0/+6
| | | | | | | | | | | HistoryBackend::first_recorded_time_ BUG=8827 Review URL: http://codereview.chromium.org/42546 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12365 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes crash in new tab page when searching from a field other than thesky@google.com2009-03-241-4/+6
| | | | | | | | | | | first. BUG=8583 TEST=see bug Review URL: http://codereview.chromium.org/42566 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12364 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure we never pass a nil charcode, AppKit gets very unhappy about that.pinkerton@chromium.org2009-03-241-2/+3
| | | | | | Review URL: http://codereview.chromium.org/45033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12359 0039d316-1c4b-4281-b951-d872f2087c98
* Porting of unit tests in chrome/phajdan.jr@chromium.org2009-03-242-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | - enable following tests on Linux: browser/net/resolve_proxy_msg_helper_unittest.cc browser/profile_manager_unittest.cc browser/sessions/tab_restore_service_unittest.cc common/time_format_unittest.cc - sync chrome.gyp - fix a bug in resolve_proxy_msg_helper_unittest that triggered a DCHECK on POSIX. It freed the WaitableEvent too early because Wait in dtor was effectively a noop because the event was already in signaled state from previous operations and a manual-reset flag was set. The fix was to put the WaitableEvent in automatic reset mode. - misc GCC-related cleanups http://crbug.com/9227 Review URL: http://codereview.chromium.org/53007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12356 0039d316-1c4b-4281-b951-d872f2087c98
* Wire 'Inspect Element' action to the new DevTools (depending on the devtools ↵pfeldman@chromium.org2009-03-244-10/+39
| | | | | | | | | | | | | | flag): - Add new devtools IPC message - Expose WebView's hit target - Refactor dom_agent interaction not to send information known to client - Collect incoming messages on the client until frontend is loaded - Add Inspect Element scenario into the devtools_host_stub Review URL: http://codereview.chromium.org/45022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12355 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of WaitForWindowCountToChange.phajdan.jr@chromium.org2009-03-241-22/+6
| | | | | | | | | | | The function had confusing semantics, was marked to be removed, and could induce flakiness in tests which used it. WaitForWindowCountToBecome is much better replacement for it. Review URL: http://codereview.chromium.org/49007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12348 0039d316-1c4b-4281-b951-d872f2087c98
* Add basic infrastructure for sending async browser API request and receiving ↵aa@chromium.org2009-03-246-1/+110
| | | | | | | | results. Review URL: http://codereview.chromium.org/42262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12347 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug in ResourceMessageFilterhclam@chromium.org2009-03-241-1/+1
| | | | | | | | | | | TBR=darin There's a typo in resource_message_filter.cc that disallows media request context being used for any requests. This patch fixes it. Review URL: http://codereview.chromium.org/42548 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12339 0039d316-1c4b-4281-b951-d872f2087c98
* Finish hooking up the worker process UI: use the domains of the workers as ↵jam@chromium.org2009-03-2413-28/+109
| | | | | | | | | | the title in the task manager, and show an infobar when a page's workers die. I also cleaned up the code in RenderView which creates a window and widget, since when I originally wrote it I wasn't aware of RenderViewHost::FromID. Review URL: http://codereview.chromium.org/45025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12335 0039d316-1c4b-4281-b951-d872f2087c98
* Make the history and downloads pages work in RTL.glen@chromium.org2009-03-242-0/+20
| | | | | | | | BUG=8334 Review URL: http://codereview.chromium.org/42544 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12332 0039d316-1c4b-4281-b951-d872f2087c98
* Extensions now support css user script definition. This checkin addsgeorged@chromium.org2009-03-241-5/+17
| | | | | | | | the css user script information to chrome-ui://extensions/ Review URL: http://codereview.chromium.org/49011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12329 0039d316-1c4b-4281-b951-d872f2087c98
* 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