summaryrefslogtreecommitdiffstats
path: root/chrome/browser
Commit message (Collapse)AuthorAgeFilesLines
* Bring over more code from cole to improve the appearance of tabs. Start ↵pinkerton@chromium.org2009-03-111-106/+132
| | | | | | | | building parts of GTM that are needed for theming. Review URL: http://codereview.chromium.org/42081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11482 0039d316-1c4b-4281-b951-d872f2087c98
* Enable building of browser/debugger/debugger_{contents,shell}.cc on Linux.sgk@google.com2009-03-111-0/+20
| | | | | | | | | This required getting rid of the stubs in common/temp_scaffolding_stubs.cc to avoid duplicate symbols, in favor of moving the stubs into a separate module for use when porting to new platforms. Review URL: http://codereview.chromium.org/43089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11477 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 11467.mpcomplete@google.com2009-03-111-3/+0
| | | | | | Review URL: http://codereview.chromium.org/43093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11471 0039d316-1c4b-4281-b951-d872f2087c98
* Getting rid of dead code.pinkerton@chromium.org2009-03-111-12/+2
| | | | | | Review URL: http://codereview.chromium.org/43090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11468 0039d316-1c4b-4281-b951-d872f2087c98
* Try to make ExtensionViewTest less flaky by running it in single-process mode.mpcomplete@google.com2009-03-111-0/+3
| | | | | | Review URL: http://codereview.chromium.org/42055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11467 0039d316-1c4b-4281-b951-d872f2087c98
* Change to make the 'save as...' dialog choose the default download path you ↵maruel@chromium.org2009-03-111-3/+12
| | | | | | | | | | | | | have selected in your prefs instead of always choosing the chrome::DIR_DEFAULT_DOWNLOADS path. This will only affect you if you have not used 'save as...' before and do not have a SaveFileDefaultDirectory set. Patch contributed by Paul Robinson <paulRobinson85@googlemail.com> BUG=8049 Review URL: http://codereview.chromium.org/43016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11465 0039d316-1c4b-4281-b951-d872f2087c98
* Fix directory listings in mac and linux by making sure the codetc@google.com2009-03-111-5/+3
| | | | | | | | | for loading the template is enabled and the resource exists. Review URL: http://codereview.chromium.org/42053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11462 0039d316-1c4b-4281-b951-d872f2087c98
* Hopefully make DownloadTest.UnknownSize not-flaky.phajdan.jr@chromium.org2009-03-111-2/+1
| | | | | | | | http://crbug.com/7191 Review URL: http://codereview.chromium.org/43046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11459 0039d316-1c4b-4281-b951-d872f2087c98
* Add a couple more unit tests to the Mac buildpinkerton@chromium.org2009-03-112-2/+3
| | | | | | Review URL: http://codereview.chromium.org/43076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11446 0039d316-1c4b-4281-b951-d872f2087c98
* Initial pass at copy/paste. Menu items are always enabled. This matches ↵avi@chromium.org2009-03-112-2/+30
| | | | | | | | Windows; we'll do better soon. Review URL: http://codereview.chromium.org/42018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11444 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TabContents from scaffolding. Yay!pinkerton@chromium.org2009-03-1113-52/+33
| | | | | | Review URL: http://codereview.chromium.org/43039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11435 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some empty source files from the tree.deanm@chromium.org2009-03-112-0/+0
| | | | | | | | | It looks like these were originally meant to be deleted, but instead all of their lines were removed and the empty file was left behind. Review URL: http://codereview.chromium.org/43021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11434 0039d316-1c4b-4281-b951-d872f2087c98
* Stop history search going on beyond the start of history.glen@chromium.org2009-03-1111-22/+118
| | | | | | | | | | Stop losing first-searches on history page due to BUG=8438,8456 Review URL: http://codereview.chromium.org/43054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11411 0039d316-1c4b-4281-b951-d872f2087c98
* Change SpellChecker::Language to be an ASCII string.estade@chromium.org2009-03-1110-84/+110
| | | | | | Review URL: http://codereview.chromium.org/41028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11407 0039d316-1c4b-4281-b951-d872f2087c98
* Add the show all downloads link to the download shelf on linux.estade@chromium.org2009-03-112-6/+85
| | | | | | Review URL: http://codereview.chromium.org/43053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11406 0039d316-1c4b-4281-b951-d872f2087c98
* A little cleanup of ResourceDispatcherHost to make it less renderer centric, ↵jam@chromium.org2009-03-1011-282/+264
| | | | | | | | since it's used by plugin and worker processes. Review URL: http://codereview.chromium.org/43001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11393 0039d316-1c4b-4281-b951-d872f2087c98
* Changes docking in the following ways:sky@google.com2009-03-103-209/+177
| | | | | | | | | | | | | | | . Dock icons for window docking positions could go offscreen before. . It was possible to show the maximize indicator on the wrong screen. This was because equals was not comparing the monitor bounds. . Tweaks to color, size and animation from Glen. BUG=none TEST=make sure there are no bugs with docking tabs. Review URL: http://codereview.chromium.org/42041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11391 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes stretchy effect when window is enlarged past the backing bitmap's size.avi@chromium.org2009-03-101-4/+4
| | | | | | Review URL: http://codereview.chromium.org/43037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11385 0039d316-1c4b-4281-b951-d872f2087c98
* Pass unhandled events to Cocoa; thanks to Dmitri for the event fix.avi@chromium.org2009-03-101-3/+12
| | | | | | Review URL: http://codereview.chromium.org/42039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11384 0039d316-1c4b-4281-b951-d872f2087c98
* This changes the base clipboard class, as accomplishing paste requires that ↵avi@chromium.org2009-03-103-9/+4
| | | | | | | | Clipboard::FormatType be IPC-able. The lowest-common denominator of unsigned int, NSString*, and GdkAtom is string, so string it is. (Linux changes by estade.) Review URL: http://codereview.chromium.org/41012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11383 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of --start-renderers-manually since it's been broken for a long time ↵jam@chromium.org2009-03-107-115/+75
| | | | | | | | (the browser needs the renderer's handle to duplicate handles). Review URL: http://codereview.chromium.org/43035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11379 0039d316-1c4b-4281-b951-d872f2087c98
* Move the tab images into the TabRenderer class.jhawkins@chromium.org2009-03-102-76/+86
| | | | | | Review URL: http://codereview.chromium.org/43038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11377 0039d316-1c4b-4281-b951-d872f2087c98
* Fix interactive UI tests. It was crashing due to a NULL ExtensionsService ↵mpcomplete@google.com2009-03-101-1/+2
| | | | | | | | | in the unit test. TBR=sky Review URL: http://codereview.chromium.org/43042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11375 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable ExtensionViewTest.mpcomplete@google.com2009-03-101-3/+1
| | | | | | Review URL: http://codereview.chromium.org/42040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11374 0039d316-1c4b-4281-b951-d872f2087c98
* First step at removing TabContents from temp scaffolding. Get rid of ↵pinkerton@chromium.org2009-03-101-8/+19
| | | | | | | | duplicated code in scaffolding in deference to equivalent code in tab_contents.cc. Review URL: http://codereview.chromium.org/42031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11372 0039d316-1c4b-4281-b951-d872f2087c98
* Extra disable ExtensionViewTest.mpcomplete@google.com2009-03-101-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11371 0039d316-1c4b-4281-b951-d872f2087c98
* Instead of queuing ResourceDispatcher IPC messages in RenderView, use ↵jam@chromium.org2009-03-103-19/+47
| | | | | | | | | | ResourceDispatcherHost's ability to block requests for a given route in the browser process. This is in prepration for switching to one ResourceDispatcher in the renderer process, instead of one per RenderView, to share more code between child processes. I realize that this means that resource requests for RenderViews created by other RenderViews will start a little bit later now (after a hop to the UI thread and back), but I don't think it should lead to much delay (since if our UI thread is that bogged down, we have bigger problems). I'll make sure this is the case by looking at the page cyclers. Review URL: http://codereview.chromium.org/42005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11370 0039d316-1c4b-4281-b951-d872f2087c98
* Make the download shelf in gtk look prettier (add top border, improve spacing).estade@chromium.org2009-03-102-19/+48
| | | | | | Review URL: http://codereview.chromium.org/42025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11369 0039d316-1c4b-4281-b951-d872f2087c98
* Port navigation controller unittest to posix.estade@chromium.org2009-03-101-29/+36
| | | | | | | | It now compiles, but doesn't link. Review URL: http://codereview.chromium.org/43028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11368 0039d316-1c4b-4281-b951-d872f2087c98
* Disable ExtensionViewTest.Index while I fix it.mpcomplete@google.com2009-03-101-1/+1
| | | | | | TBR=erikkay git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11366 0039d316-1c4b-4281-b951-d872f2087c98
* First cut at the find bar.tc@google.com2009-03-1010-14/+149
| | | | | | | | | | | | | Ctrl+F will display a box (pushing down the web contents) that typing into will cause webkit to highlight on the page. Esc will dismiss the box. I also changed the gtk_widget_show_all in browser window to be a regular gtk_widget_show. Child widgets need to manually show themselves now. Review URL: http://codereview.chromium.org/42026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11364 0039d316-1c4b-4281-b951-d872f2087c98
* Unrevert 11294.mpcomplete@google.com2009-03-109-55/+136
| | | | | | | | | - include stub fix so that linux/mac still build. - fix DCHECK in views code. - fix unit test. Review URL: http://codereview.chromium.org/41020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11360 0039d316-1c4b-4281-b951-d872f2087c98
* Highlight tab close button on click. Original patch by ↵pkasting@chromium.org2009-03-101-2/+4
| | | | | | | | kimworking@gmail.com, r=me; see http://codereview.chromium.org/28302 . BUG=7690 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11359 0039d316-1c4b-4281-b951-d872f2087c98
* Make Chromium windows not hide auto-hide taskbars, take 2.pkasting@chromium.org2009-03-105-32/+68
| | | | | | | | | | This is very similar to r10845, but also includes a regression fix for issue 8410, where locking and unlocking the screen would cause mispositioning of child content. BUG=20,8410 Review URL: http://codereview.chromium.org/42027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11355 0039d316-1c4b-4281-b951-d872f2087c98
* Some cleanups and hookups to LocationBarViewGtk.deanm@chromium.org2009-03-107-41/+58
| | | | | | | | | | | | | | | | | - Rename FocusLocation to SetFocus (and don't make it select all). This matches the Windows style more closely. - Implement SetUserText (basically copied from Windows w/ a TODO). - Switch to the gtk_accel APIs instead of using the widget ones. - Hookup FocusSearch (and its ctrl-k accelerator). - Hookup AcceptInput (the go button now works!). - Fix lack of space before { - Rename edit_view_ to location_entry_ to match the Windows LocationBarView. - Don't plumb FocusLocationBar through BrowserWindow -> BrowserToolbar. Review URL: http://codereview.chromium.org/43025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11339 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGEdeanm@chromium.org2009-03-10385-402/+0
| | | | | | | | | Normalize end of file newlines in chrome/. All files end in a single newline. Review URL: http://codereview.chromium.org/42015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11331 0039d316-1c4b-4281-b951-d872f2087c98
* Move GdkPixbufFromSkBitmap to gtk_util so it can easily be shared.deanm@chromium.org2009-03-101-40/+2
| | | | | | | Review URL: http://codereview.chromium.org/38009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11327 0039d316-1c4b-4281-b951-d872f2087c98
* Normalize end of file newlines in chrome/browser/gtk/.deanm@chromium.org2009-03-108-8/+0
| | | | | | | | All files should now end in only a single newline. Review URL: http://codereview.chromium.org/42010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11325 0039d316-1c4b-4281-b951-d872f2087c98
* Add a copyright header to location_bar_view_gtk.cc.deanm@chromium.org2009-03-101-0/+4
| | | | | | | | | This is a new file committed in r11323, adding a proper copyright header. Review URL: http://codereview.chromium.org/43013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11324 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a GTK LocationBarView and Autocomplete{Edit,Popup}View.deanm@chromium.org2009-03-109-89/+1114
| | | | | | | | | | | This implements some beginning functionality of "omnibox". It uses GtkTextView for a rich text edit for the location bar. Color emphasis, inline autocomplete, and the results popup work. You can select one of the omnibox results using the keyboard. Mouse selection doesn't work. The results popup code will have to be scraped and reimplemented with cairo / pango. BUG=8236 Review URL: http://codereview.chromium.org/40013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11323 0039d316-1c4b-4281-b951-d872f2087c98
* Added null-check for current DOMUI.yurys@google.com2009-03-101-2/+2
| | | | | | | BUG=8546 Review URL: http://codereview.chromium.org/43010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11322 0039d316-1c4b-4281-b951-d872f2087c98
* If the flag is specified developer tools window will be opened instead of ↵yurys@google.com2009-03-101-6/+12
| | | | | | | | Console Debugger when user clicks Debug JavaScript. This is a temporary solution and we will get rid of this flag as well as of debugger console when developer tools implement all their functionality. Review URL: http://codereview.chromium.org/39259 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11321 0039d316-1c4b-4281-b951-d872f2087c98
* InputWindow's window delegate should pass DeleteDelegate through to its own ↵ben@chromium.org2009-03-101-0/+5
| | | | | | | | | | | | delegate to avoid crashing because of not cleaning up. http://crbug.com/8573 Review URL: http://codereview.chromium.org/40326 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11311 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for BlockTillLoaded to Linux.markus@chromium.org2009-03-092-26/+6
| | | | | | Review URL: http://codereview.chromium.org/39298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11300 0039d316-1c4b-4281-b951-d872f2087c98
* Make the last tab part of the client area instead of the non-client as it is ↵ben@chromium.org2009-03-092-14/+0
| | | | | | | | | | | | now. Remove some stupid code in the Tab's mouse pressed handler that was duplicating the nc-hittest handler. o_O. http://crbug.com/8519 Review URL: http://codereview.chromium.org/41018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11299 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 11294.mpcomplete@google.com2009-03-098-135/+54
| | | | | | Review URL: http://codereview.chromium.org/40321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11295 0039d316-1c4b-4281-b951-d872f2087c98
* Support loading extensions into the bookmark toolbar.mpcomplete@google.com2009-03-098-54/+135
| | | | | | | | | Misc cleanup: - remove duplicate comments on Extension accessors - remove useless function in ExtensionsService Review URL: http://codereview.chromium.org/39285 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11294 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding the CL removing Windows specific code from the interstitial page.jcampan@chromium.org2009-03-091-34/+7
| | | | | | | | | | Somehow it was not compiling in non-debug anymore because of a this being used in the initializer without the right warning removed macro. BUG=None TEST=Visit a bad HTTPS page, make sure interstitial still shows and works properly. Review URL: http://codereview.chromium.org/41015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11292 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the spellcheck language preference setting when UI language is ↵sidchat@google.com2009-03-091-0/+5
| | | | | | | | changed, so that spellcheck language falls back to default. Issue=7811 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11289 0039d316-1c4b-4281-b951-d872f2087c98
* Enable download_request_manager_unittest on linux.estade@chromium.org2009-03-092-4/+20
| | | | | | Review URL: http://codereview.chromium.org/41002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11288 0039d316-1c4b-4281-b951-d872f2087c98