summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Port DictionaryValue to use string16 instead of wstring.dsh@google.com2009-03-0325-491/+660
| | | | | | | Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=10818 Review URL: http://codereview.chromium.org/31014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10833 0039d316-1c4b-4281-b951-d872f2087c98
* Remove NativeUI, HistoryTabUI, DownloadsTabUI since they've been superceded.ben@chromium.org2009-03-0318-5165/+4
| | | | | | Review URL: http://codereview.chromium.org/39005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10832 0039d316-1c4b-4281-b951-d872f2087c98
* Move RemoveTabAt to the TabStrip interface from RemoveTabAnimation.jhawkins@chromium.org2009-03-032-23/+21
| | | | | | | | * This change is needed to allow a clean refactoring of TabStrip. The animation classes should be as cross-platform as possible. * RemoveTabStrip animation now requests the TabStrip to remove a tab for it. Review URL: http://codereview.chromium.org/27366 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10830 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line flag --v8-proxy-resolver, to select the new PAC ↵ericroman@google.com2009-03-034-6/+42
| | | | | | | | | | | | | | | | | | implementation. When running in single process mode, this flag has no effect (since we can't run side by side with the renderer's V8). In regular mode, the v8 resolver is currently running in the browser process. This means it has to share with the v8 debugger shell. Added locking around the debugger shell so they can peacefully co-exist. When this flag is enabled, PAC scripts are downloaded through the browser. BUG=74,2764 Review URL: http://codereview.chromium.org/27365 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10827 0039d316-1c4b-4281-b951-d872f2087c98
* Nonfunctional cleanup change:pkasting@chromium.org2009-03-032-13/+10
| | | | | | | | * Fix two violations of 80-column lines * Use MSG_WM_SETTINGCHANGE instead of MESSAGE_RANGE_HANDLER_EX in order to simplify a function declaration/code. Review URL: http://codereview.chromium.org/27358 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10823 0039d316-1c4b-4281-b951-d872f2087c98
* Updating line endings.robertshield@google.com2009-03-031-7/+7
| | | | | | Review URL: http://codereview.chromium.org/40055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10822 0039d316-1c4b-4281-b951-d872f2087c98
* Revert dsh's change 10818nsylvain@chromium.org2009-03-0323-595/+466
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10821 0039d316-1c4b-4281-b951-d872f2087c98
* Implement some chrome path getters for Mac OS and un-comment their uses in ↵pinkerton@chromium.org2009-03-034-50/+62
| | | | | | | | the download manager. Move chrome_paths_mac from a .cc to a .mm to allow Cocoa. Review URL: http://codereview.chromium.org/39041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10820 0039d316-1c4b-4281-b951-d872f2087c98
* Port DictionaryValue to use string16 instead of wstring.dsh@google.com2009-03-0323-466/+595
| | | | | | Review URL: http://codereview.chromium.org/31014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10818 0039d316-1c4b-4281-b951-d872f2087c98
* delayed fix for comment in from http://codereview.chromium.org/28185thomasvl@chromium.org2009-03-031-1/+0
| | | | | | Review URL: http://codereview.chromium.org/40021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10816 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Use grit to generate locale rc files and remove the old locale rc ↵tc@google.com2009-03-03155-3209/+3958
| | | | | | | | | | | files from the tree." Revert "window_ is null during BrowserWindow creation. Assume full screen" Revert "Move SupportsWindowFeature from BrowserView to Browser so" git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10814 0039d316-1c4b-4281-b951-d872f2087c98
* Enables bookmark_model_unittest on Mac and Linux.avi@chromium.org2009-03-033-21/+19
| | | | | | | | | | Committed on behalf of rohitrao. http://codereview.chromium.org/28299/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10813 0039d316-1c4b-4281-b951-d872f2087c98
* disable test since it doesn't compiletc@google.com2009-03-031-2/+2
| | | | | | | | | TBR=nsylvain Review URL: http://codereview.chromium.org/39040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10812 0039d316-1c4b-4281-b951-d872f2087c98
* disable failing tests while I debugtc@google.com2009-03-031-9/+9
| | | | | | | | | TBR=nsylvain Review URL: http://codereview.chromium.org/40033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10811 0039d316-1c4b-4281-b951-d872f2087c98
* Use grit to generate locale rc files and remove the old locale rc files from ↵tc@google.com2009-03-03151-3919/+3169
| | | | | | | | | | | | | the tree. I made a small change to grit so we can use our resource ID as the translation ID making it a bit easier to read. I also used a script to convert the existing .rc files to .xtb files. Review URL: http://codereview.chromium.org/28327 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10809 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 10794.avi@chromium.org2009-03-036-10/+13
| | | | | | Review URL: http://codereview.chromium.org/40027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10808 0039d316-1c4b-4281-b951-d872f2087c98
* Removing CRLFs from extensions.htmlrafaelw@chromium.org2009-03-031-86/+86
| | | | | | Review URL: http://codereview.chromium.org/39025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10807 0039d316-1c4b-4281-b951-d872f2087c98
* Ship some tests which aren't related to what I'm working on:shess@chromium.org2009-03-033-11/+1
| | | | | | | | | | | | RenderViewHostTest, RenderWidgetHostTest (added to gyp) RenderDnsMasterTest, DnsQueueTest (already in gyp) MetricsLogTest, MetricsResponseTest (already in gyp) NOTE: Now that we're all-gyp-all-the-time, only the first couple tests are really being added. Review URL: http://codereview.chromium.org/27297 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10806 0039d316-1c4b-4281-b951-d872f2087c98
* window_ is null during BrowserWindow creation. Assume full screentc@google.com2009-03-031-1/+1
| | | | | | | | | | is false. TBR=pkasting Review URL: http://codereview.chromium.org/39023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10805 0039d316-1c4b-4281-b951-d872f2087c98
* Move SupportsWindowFeature from BrowserView to Browser sotc@google.com2009-03-034-39/+40
| | | | | | | | | | | we can share the code on all platforms. I still left a SupportsWindowFeature method in BrowserView that handles fullscreen mode which is (for now) a Windows specific feature. Review URL: http://codereview.chromium.org/27372 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10804 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes regression where escape was not removing a newly bookmarkedsky@google.com2009-03-031-1/+2
| | | | | | | | | | | | | | page. BUG=none TEST=press the star button on a page you haven't bookmarked. The star should light up. Press escape, the bubble should close and the bookmark should be removed. Repeat with an existing bookmark and make sure pressing escape doesn't remove the bookmark. Review URL: http://codereview.chromium.org/40019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10803 0039d316-1c4b-4281-b951-d872f2087c98
* Stub in the download shelf a little further.pinkerton@chromium.org2009-03-032-3/+32
| | | | | | Review URL: http://codereview.chromium.org/39021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10801 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up a few comments / formatting related to the location bar.deanm@chromium.org2009-03-032-11/+17
| | | | | | | | Correct the includes, forward declare TabContents. Review URL: http://codereview.chromium.org/39011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10800 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb GetLocationBar through to the toolbar.deanm@chromium.org2009-03-034-2/+13
| | | | | | | | | The toolbar will own the LocationBarView, which implements the LocationBar interface. Plumb the request for the LocationBar through from the browser window to the toolbar. Review URL: http://codereview.chromium.org/40008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10799 0039d316-1c4b-4281-b951-d872f2087c98
* Add a macutil for the main app bundle and overridethomasvl@chromium.org2009-03-033-45/+28
| | | | | | | | | | | | - provide apis to get and override the app bundle - w/in the core code, use this api for fetching the bundle - render sandbox config - resource bundles - test shell font - w/in the unittest boot straps, use the mac util to override the bundle so resources can be found. Review URL: http://codereview.chromium.org/28214 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10798 0039d316-1c4b-4281-b951-d872f2087c98
* Remove more ifdefs where all platforms now share the implementation.pinkerton@chromium.org2009-03-033-19/+1
| | | | | | Review URL: http://codereview.chromium.org/39017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10797 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ifdefs around parts ported by all platforms.pinkerton@chromium.org2009-03-031-15/+0
| | | | | | Review URL: http://codereview.chromium.org/39016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10795 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing WebKeyboardEvent. Third time's the charm.avi@chromium.org2009-03-036-13/+10
| | | | | | Review URL: http://codereview.chromium.org/27332 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10794 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some instances of NOTIMPLEMENTED in favor of hooking up functionality ↵pinkerton@chromium.org2009-03-0310-15/+49
| | | | | | | | or filing a bug as a placeholder. Reduces noise at startup. Review URL: http://codereview.chromium.org/27353 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10790 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some include guards in browser/gtk.deanm@chromium.org2009-03-033-10/+10
| | | | | | Review URL: http://codereview.chromium.org/39012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10789 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup the autocomplete model includes. Move from a deprecated ↵deanm@chromium.org2009-03-033-31/+4
| | | | | | | | | | | std::wstring to utf8 url fixer upper function. These files should now compile on Linux. Review URL: http://codereview.chromium.org/28323 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10788 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash when installing plugins.jhawkins@chromium.org2009-03-031-2/+5
| | | | | | | | | | | * Make sure the scoped_ptr is initialized before trying to open a file. * Assign the result of FilePath::Append to download_file_path_. R=ananta BUG=8087 Review URL: http://codereview.chromium.org/28349 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10787 0039d316-1c4b-4281-b951-d872f2087c98
* Make our IME backend platform-independent.hbono@chromium.org2009-03-034-7/+136
| | | | | | | This change makes our IME backend run not only on Windows but also on Linux and Mac. This change also adds another unit-test which verifies the backend runs on Linux and Mac without problems. Review URL: http://codereview.chromium.org/27124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10783 0039d316-1c4b-4281-b951-d872f2087c98
* Make history and downloads open once per window unless the user modifies ↵glen@chromium.org2009-03-033-16/+9
| | | | | | | | | | | | their view. Also fix the back dropdown so that it opens the DOMUI version of History rather than the NativeUI version. BUG=8086,8297 Review URL: http://codereview.chromium.org/39002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10782 0039d316-1c4b-4281-b951-d872f2087c98
* When you launch Chrome from a desktop shortcut, the window wasn't getting ↵ben@chromium.org2009-03-031-2/+12
| | | | | | activated because I removed code to explicitly activate the window in my change earlier today git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10780 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a small issue changing back to glass frame from opaque where theben@chromium.org2009-03-031-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10779 0039d316-1c4b-4281-b951-d872f2087c98
* Fix interactive ui tests. There was a bug in the ↵ben@chromium.org2009-03-032-4/+3
| | | | | | NonClientView::GetPreferredSize method... it was returning the preferred size of the client area not the non-client area! git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10778 0039d316-1c4b-4281-b951-d872f2087c98
* Make it so that dropdown selects don't deactivate the main frame when opened ↵ben@chromium.org2009-03-038-0/+24
| | | | | | http://crbug.com/8247 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10777 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break take 2jam@chromium.org2009-03-031-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10776 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break.jam@chromium.org2009-03-031-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10775 0039d316-1c4b-4281-b951-d872f2087c98
* Resolve crash when deleting history by preventing the deleter from being ↵glen@chromium.org2009-03-035-78/+163
| | | | | | | | called multiple times. We need to add UI to make what's happening clearer to the user, but this gets us over the hump for now. Also change the history page to queue deletions.Allow history search from the new tab page.Make history title inclusion safer (createTextNode changes).Show starred status on history page.BUG=8214,8163,8271,8284 Review URL: http://codereview.chromium.org/28308 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10773 0039d316-1c4b-4281-b951-d872f2087c98
* Workaround scons and xcode not understanding #include MESSAGES_INTERNAL_FILE.tc@google.com2009-03-031-0/+10
| | | | | | | | | | | | BUG=7828 Original patch by Craig Schlenter <craig.schlenter@gmail.com> at http://codereview.chromium.org/20529/show Review URL: http://codereview.chromium.org/27374 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10772 0039d316-1c4b-4281-b951-d872f2087c98
* Don't expose --single-process and --in-process-plugins for official Chrome ↵jam@chromium.org2009-03-035-13/+8
| | | | | | | | releases. Review URL: http://codereview.chromium.org/28347 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10771 0039d316-1c4b-4281-b951-d872f2087c98
* Port Replace(First)SubstringsAfterOffset to string16.dsh@google.com2009-03-034-43/+59
| | | | | | Review URL: http://codereview.chromium.org/28324 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10767 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build error caused due to the ↵ananta@chromium.org2009-03-031-1/+1
| | | | | | | | | | | | AutomationProvider::OnMessageFromExternalHost signature change. TBR=nsylvain Review URL: http://codereview.chromium.org/27368 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10764 0039d316-1c4b-4281-b951-d872f2087c98
* Move chrome/apps/result_codes.h to chrome/common/result_codes.hthestig@chromium.org2009-03-0319-31/+22
| | | | | | Review URL: http://codereview.chromium.org/28279 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10761 0039d316-1c4b-4281-b951-d872f2087c98
* Register an onmessage handler with the external host binding instead of ↵ananta@chromium.org2009-03-0312-37/+36
| | | | | | | | | | | explicitly passing in a target Javascript function to execute. The onmessage handler is a one argument Javascript function for now. Review URL: http://codereview.chromium.org/28291 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10760 0039d316-1c4b-4281-b951-d872f2087c98
* Support DWM switching.ben@chromium.org2009-03-0341-1943/+1375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This completes the collapsing of window types and browser frames around a single class: views::Window. CustomFrameWindow is removed with this change. The Browser window is represented by a single views::Window subclass: BrowserFrame, which replaces both AeroGlassFrame and OpaqueFrame. NonClientView is now a container of two sibling classes - the Window's ClientView (in the Browser's case, BrowserView), and a NonClientFrameView subclass, which provides the rendering for the non-client portions of the window. These Views are siblings rather than the ClientView a child of the NonClientFrameView because when the DWM is toggled, the ClientView would have to be re-parented. Many Views make the assumption they are only inserted into a View hierarchy once, and so this is problematic. By having the views be siblings, this is avoided. With this in mind, all of the former NonClientViews now become NonClientFrameView subclasses: DefaultNonClientView -> CustomFrameView (non-existent, NonClientView) -> NativeFrameView AeroGlassNonClientView -> GlassBrowserFrameView OpaqueNonClientView -> OpaqueBrowserFrameView The latter two derive from NonClientFrameView via BrowserNonClientFrameView, which adds some extras. I also had to modify the TabRenderer class to know how to drop its cache of tab background images when the theme changes since it uses different ones for Glass and non-Glass. This change also fixes a few non-client flicker issues relating to window non-client activation by using more ScopedRedrawLocks. (Touches info_bubble.cc, window.cc) Bugs fixed: http://crbug.com/153 http://crbug.com/747 http://crbug.com/2371 http://crbug.com/3264 http://crbug.com/8234 Plumbing for http://crbug.com/8247 Design docs: http://dev.chromium.org/developers/design-documents/views-windowing http://dev.chromium.org/developers/design-documents/browser-window Review URL: http://codereview.chromium.org/27317 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10757 0039d316-1c4b-4281-b951-d872f2087c98
* Add reliability test data (known crashes).patrick@chromium.org2009-03-031-0/+76
| | | | | | Review URL: http://codereview.chromium.org/28330 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10756 0039d316-1c4b-4281-b951-d872f2087c98
* Enable spellcheck_unittest.cc.mark@chromium.org2009-03-033-6/+12
| | | | | | Review URL: http://codereview.chromium.org/28335 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10754 0039d316-1c4b-4281-b951-d872f2087c98