summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace lots of "int x, int y" with gfx::Point. Also use gfx::Size and ↵pkasting@chromium.org2010-03-0882-592/+455
| | | | | | | | | | gfx::Rect in a few more places. BUG=none TEST=none Review URL: http://codereview.chromium.org/669130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40966 0039d316-1c4b-4281-b951-d872f2087c98
* Set eol-style for mini_installer.gyp to unbreak the build for people who use ↵pkasting@chromium.org2010-03-081-278/+278
| | | | | | | | | | | Windows Pythons that barf on CRLF. TBR=gregoryd BUG=none TEST=none Review URL: http://codereview.chromium.org/674001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40965 0039d316-1c4b-4281-b951-d872f2087c98
* chrome 6: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-0818-16/+31
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/671025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40964 0039d316-1c4b-4281-b951-d872f2087c98
* chrome 5: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-0820-19/+52
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/671024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40963 0039d316-1c4b-4281-b951-d872f2087c98
* Use web app icon as ICON_BIG for Windowsxiyuan@chromium.org2010-03-0810-7/+52
| | | | | | | | | | | | | | | | | - Add a WindowDelegate::GetWindowAppIcon for BrowserView to expose an icon to use as ICON_BIG; - Add an app_icon_ memeber and accessor functions to TabContents; - Update/Set the app_icon_ of TabContents when web app icon is downloaded for converting a tab to app or for chrome web app shortcuts update (this happens when chrome is opened as an app; - Use the app icon as ICON_BIG in WindowWin::UpdateWindowIcon; BUG=32039 TEST=Verify fix for issue 32039 and also Alt-Tab list on XP/Vista uses big icon. Review URL: http://codereview.chromium.org/668265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40962 0039d316-1c4b-4281-b951-d872f2087c98
* Expose 'type' and 'incognito' bits to the extension window object, and makempcomplete@chromium.org2010-03-087-13/+218
| | | | | | | | | | | them settable in chrome.windows.create(). BUG=12658 BUG=28599 Review URL: http://codereview.chromium.org/669189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40961 0039d316-1c4b-4281-b951-d872f2087c98
* chrome 4: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-0820-13/+37
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/671019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40960 0039d316-1c4b-4281-b951-d872f2087c98
* chrome 3: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-0820-13/+49
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/671014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40959 0039d316-1c4b-4281-b951-d872f2087c98
* Turns out isValidName is still used by flakiness_dashboard.html.ojan@chromium.org2010-03-081-0/+4
| | | | | | Review URL: http://codereview.chromium.org/672010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40958 0039d316-1c4b-4281-b951-d872f2087c98
* Remove nacl win64 binary from chrome dependencies, add it to installer ↵gregoryd@google.com2010-03-082-278/+278
| | | | | | | | | | | dependencies. This will allow developers who don't have the 64-bit tools installed to build Chrome successfully (without the support for NaCl on Win64), while making sure all the binaries are in place when building the installer. To build Chrome with NaCl support for Win64 developers will have to build both 'chrome' and 'chrome_nacl_win64' targets. Review URL: http://codereview.chromium.org/671017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40957 0039d316-1c4b-4281-b951-d872f2087c98
* Rearrange GLES2 files so they are easier to usegman@chromium.org2010-03-0835-676/+226
| | | | | | | | | | | from native client and pepper. TEST=none BUG=none Review URL: http://codereview.chromium.org/668205 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40956 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash due to CHECK() hit in SafeBrowsingResourceHandler.eroman@chromium.org2010-03-082-2/+10
| | | | | | | | | | | | The problem was the CHECK() doesn't apply when the resource request has been cancelled via the interstitial page -- if you close the tab displaying the warning, the request is cancelled leading to OnResponseCompleted() firing with an error status, so state_ == STATE_DISPLAYING_BLOCKING_PAGE. Also made sure this code path handles cancellation of any outstanding url check. BUG=37674 TEST=Open a URL that causes the safe browsing warning page to be display. Now close the tab containing the warning; should not crash. Review URL: http://codereview.chromium.org/671009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40955 0039d316-1c4b-4281-b951-d872f2087c98
* Webkit Roll to r55674 (from r55670)michaeln@chromium.org2010-03-082-2/+5
| | | | | | | | | | TEST=bots BUG=none TBR=japhet Review URL: http://codereview.chromium.org/669292 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40954 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing ARM build. ARM cannot compile code in src/gpu/ directory.apatrick@chromium.org2010-03-081-1/+4
| | | | | | | | | TEST=none BUG=none TBR=kbr@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40953 0039d316-1c4b-4281-b951-d872f2087c98
* Skip media/video-src-change.html and see if it helps mac dbg.tim@chromium.org2010-03-081-1/+3
| | | | | | | | BUG=37710 Review URL: http://codereview.chromium.org/671021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40952 0039d316-1c4b-4281-b951-d872f2087c98
* UpStreamimg *image_decoder_unittest. Used WebKit API's ImageDecoder toyaar@chromium.org2010-03-085-194/+130
| | | | | | | | | | | decouple WebCore deps. Corresponding WebKit Bug 35415. BUG=28063 TEST=Run unit tests. Review URL: http://codereview.chromium.org/661231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40951 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up/fix more frame code. In general this is bringing the less-common ↵pkasting@chromium.org2010-03-086-425/+465
| | | | | | | | | | | | frame classes up to speed with recent changes in OpaqueBrowserFrameView, but there's also some other fixing of bustage, old patches that didn't make it into all the classes, etc. This isn't perfect yet: the calculations of icon and titlebar size/position for really large icons need to have more padding in them. But this change is already so large I'd rather get it in and then patch that up. BUG=6961 TEST=Sysmenu works on all frame types, app panels can be maximized, all frame types handle larger titlebar sizes and/or fonts Review URL: http://codereview.chromium.org/669291 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40950 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] When scrolling a webpage, invalidate the web content area instead of ↵rohitrao@chromium.org2010-03-081-8/+8
| | | | | | | | | | painting immediately. This should prevent us from painting twice per scroll event. BUG=37442 TEST=See scrolling test case in bug 28947, comment 29. Should match Safari, not be jerky. Review URL: http://codereview.chromium.org/668093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40949 0039d316-1c4b-4281-b951-d872f2087c98
* Take out temp code now that WebKit patch has landed.jam@chromium.org2010-03-082-12/+0
| | | | | | | TBR=darin Review URL: http://codereview.chromium.org/671018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40948 0039d316-1c4b-4281-b951-d872f2087c98
* Propagate logging command line switches from browser process to GPU process.scherkus@chromium.org2010-03-082-0/+28
| | | | | | | | | BUG=33329 TEST=try out --log-level=0, you should see log messages Review URL: http://codereview.chromium.org/668195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40947 0039d316-1c4b-4281-b951-d872f2087c98
* Added missing copyright header.markus@chromium.org2010-03-0822-0/+88
| | | | | | | | BUG=32501 TEST=none Review URL: http://codereview.chromium.org/672011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40946 0039d316-1c4b-4281-b951-d872f2087c98
* chrome 2: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-0820-17/+39
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/672007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40945 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Lock bar visibility during a bookmark button drag, forcing the ↵rohitrao@chromium.org2010-03-082-1/+29
| | | | | | | | | | fullscreen overlay to stay shown. BUG=37433 TEST=Go fullscreen. Open a folder on the bookmark bar and drag a button around such that the folder closes. The overlay should not disappear. Review URL: http://codereview.chromium.org/669166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40944 0039d316-1c4b-4281-b951-d872f2087c98
* Flip the ui_tests to use WebKitTools/Scripts/new-run-webkit-httpd insteaddpranke@chromium.org2010-03-081-7/+5
| | | | | | | | | | | | | of calling into the python port/http_server code directly. This is attempt #3 - the actual fix for this was in WebKit r55602, where we fixed a dereference of an unset python attribute. BUG=23099 R=maruel@chromium.org TEST=none Review URL: http://codereview.chromium.org/669289 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40943 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor chunk ownership in SafeBrowsing code.shess@chromium.org2010-03-0812-206/+212
| | | | | | | | | | | | | | | | | | | This attempts to clean up ownership so that it's more clear who creates and deletes the chunk data between parsing and storage in the database. SBChunkList replaces std::deque<SBChunk>, mostly to add correct cleanup in the destructor rather than requiring FreeChunks() to be called manually. Additionally remove deletion of chunk info from the database layer, now it processes const data. Additionally remove the need for SafeBrowsingDatabase to have a chunk-inserted callback by having the caller handle it directly. BUG=none TEST=none Review URL: http://codereview.chromium.org/668123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40942 0039d316-1c4b-4281-b951-d872f2087c98
* Terminate NaCl broker process when no loader processes are runninggregoryd@google.com2010-03-0810-15/+86
| | | | | | | | | | BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=40744 Review URL: http://codereview.chromium.org/669019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40941 0039d316-1c4b-4281-b951-d872f2087c98
* GGL library is a variant of the WGL, EGL and PGL libraries.apatrick@chromium.org2010-03-083-0/+340
| | | | | | | | | | It is used to create and destroy OpenGL contexts and make them current. TEST=none BUG=none Review URL: http://codereview.chromium.org/661043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40940 0039d316-1c4b-4281-b951-d872f2087c98
* Use 0 for successful end of stream.vandebo@chromium.org2010-03-084-19/+13
| | | | | | | | | BUG=25032 TEST=none Review URL: http://codereview.chromium.org/669122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40938 0039d316-1c4b-4281-b951-d872f2087c98
* chrome 1: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-0821-16/+32
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/672001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40937 0039d316-1c4b-4281-b951-d872f2087c98
* net: string_utils.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-0822-3/+25
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40935 0039d316-1c4b-4281-b951-d872f2087c98
* Add checks to track down bug 31096vandebo@chromium.org2010-03-082-0/+5
| | | | | | | | | BUG=31096 TEST=none Review URL: http://codereview.chromium.org/669226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40934 0039d316-1c4b-4281-b951-d872f2087c98
* Windows: fix some graphical glitches with render view deemphasis.estade@chromium.org2010-03-081-1/+5
| | | | | | | | | | | This doesn't fix bullet points 3 or 4 from the bug report, which are cross-platform. This only fixes the windows-specific painting issues. BUG=37563 TEST=manual Review URL: http://codereview.chromium.org/669228 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40933 0039d316-1c4b-4281-b951-d872f2087c98
* Use new libcros loading api to display better error messages.davemoore@chromium.org2010-03-0818-68/+45
| | | | | | | | Also remove all EnsureLoaded() methods except one. Review URL: http://codereview.chromium.org/671004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40932 0039d316-1c4b-4281-b951-d872f2087c98
* Kill fil.finnur@chromium.org2010-03-083-3/+1
| | | | | | | | | | | | | | | | | Temporarily remove RSS Extension support for locale 'fil' until we figure out why it prevents some users from installing the extension. Also revert the Feed link color to make the link more obvious to people (this change is already live on the gallery -- just happened after I checked in my last changes). BUG=None TEST=Locale 'fil' is no longer supported for the RSS extension. [Feed] link in subscribe page should be blue now. Review URL: http://codereview.chromium.org/671006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40930 0039d316-1c4b-4281-b951-d872f2087c98
* chrome/common: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-0813-13/+32
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40927 0039d316-1c4b-4281-b951-d872f2087c98
* Add a link to the failure log for a given failure for non-webkit tests.ojan@chromium.org2010-03-081-6/+29
| | | | | | Review URL: http://codereview.chromium.org/671003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40925 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 40920 - Use the WebViewClient* passed in from the StorageAreaProxy ↵jorlow@chromium.org2010-03-083-28/+15
| | | | | | | | | | | | | | | | | | | | | instead of using RenderThread::RoutingIDForCurrentContext() whenever possible. In addition, call OnContentBlocked directly from within the browser instead of sending another IPC message. Lastly, make sure that we don't crash in the event that we can't determine the routing id. WebKit side: https://bugs.webkit.org/show_bug.cgi?id=35758 TEST=none BUG=none Review URL: http://codereview.chromium.org/669084 TBR=jorlow@chromium.org Review URL: http://codereview.chromium.org/669293 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40922 0039d316-1c4b-4281-b951-d872f2087c98
* Correctly handle trailing dots in hostname blacklist. jschuh@google.com2010-03-084-2/+95
| | | | | | | | | | | Submitted for inferno@chromium.org BUG=35510 TEST=HostContentSettingsMapTest.HostTrimEndingDotCheck Review URL: http://codereview.chromium.org/669284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40921 0039d316-1c4b-4281-b951-d872f2087c98
* Use the WebViewClient* passed in from the StorageAreaProxy instead of usingjorlow@chromium.org2010-03-083-15/+28
| | | | | | | | | | | | | | | | RenderThread::RoutingIDForCurrentContext() whenever possible. In addition, call OnContentBlocked directly from within the browser instead of sending another IPC message. Lastly, make sure that we don't crash in the event that we can't determine the routing id. WebKit side: https://bugs.webkit.org/show_bug.cgi?id=35758 TEST=none BUG=none Review URL: http://codereview.chromium.org/669084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40920 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos/linux: fix for the shared build.craig.schlenter@chromium.org2010-03-081-1/+2
| | | | | | | | | | | | | | | | | | | | | Errors: out/Release/obj.target/chrome/libbrowser.so: undefined reference to `BalloonCollectionImpl::Layout::InterBalloonMargin() const' out/Release/obj.target/chrome/libbrowser.so: undefined reference to `BalloonCollectionImpl::Layout::VerticalEdgeMargin() const' out/Release/obj.target/chrome/libbrowser.so: undefined reference to `BalloonCollectionImpl::MakeBalloon(Notification const&, Profile*)' out/Release/obj.target/chrome/libbrowser.so: undefined reference to `BalloonCollectionImpl::Layout::HorizontalEdgeMargin() const' BUG=None TEST=compile and out/Debug/chrome Patch by Thiago Farina <thiago.farina@gmail.com> Review URL: http://codereview.chromium.org/668218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40915 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for auto-installing extensions at first run via master prefscpu@chromium.org2010-03-084-2/+143
| | | | | | | | | | | | | | | | | | This a even lower impact method, with no new fields added. This is how it works: 1- The extension pared down manifest goes into the master prefs 2- The master prefs become the prefs at first run 3- First run notices an extensions block, an triggers an extensions check 4- The full extension gets updated then BUG=37573 TEST=ut included, also see bug Review URL: http://codereview.chromium.org/669218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40914 0039d316-1c4b-4281-b951-d872f2087c98
* Webkit Roll to r55670 (from r55654)michaeln@chromium.org2010-03-082-1/+3
| | | | | | | | | TBR=japhet TEST=bots Review URL: http://codereview.chromium.org/669283 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40913 0039d316-1c4b-4281-b951-d872f2087c98
* linux: handle basic metric-compatibile font fallbackevan@chromium.org2010-03-082-24/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a page CSS asks for: font-family: Arial, sans-serif; and you don't have Arial, fontconfig tries to provide a substitute. However, as far as I can tell there is no way to distinguish fontconfig picking Liberation Sans (a metric-equivalent substitute for Arial) or it picking a bad substitute like Times New Roman. So historically we didn't allow fontconfig to do any fallback at all. (In this example, we would then match attempt to match sans-serif, which as a last resort we do allow fontconfig to do fallback on, so it could pick e.g. DejaVu Sans or any other font matching "sans".) Frustratingly, fontconfig knows whether a font substitute is an equivalent font or just a last-resort fallback one -- in the XML files the equivalents are marked with 'binding="same"' -- but I played around with the API for a few hours and couldn't figure out any way to get this information out of it. So I hardcode a list of equivalent fonts. Ugh. This fixes some sites where they specify Arial and then have pixel-width-specified page layout that breaks when you use any other sans-serif font. BUG=18159,32005,33125,others I've since forgotten about TEST=uninstall Arial; visit one of the sites mentioned in the bug list Review URL: http://codereview.chromium.org/668127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40912 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed a command buffer wrap around bug.gman@chromium.org2010-03-082-1/+5
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/668212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40910 0039d316-1c4b-4281-b951-d872f2087c98
* Change gl2.h to default to C bindingsgman@chromium.org2010-03-083-4/+26
| | | | | | | | | | | | This is a smaller change than rearranging the files under gpu. That will be the next step. TEST=none BUG=none Review URL: http://codereview.chromium.org/669258 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40909 0039d316-1c4b-4281-b951-d872f2087c98
* Fix KeyToTag and add unit testskrul@chromium.org2010-03-083-2/+30
| | | | | | | | BUG=37559 Review URL: http://codereview.chromium.org/669211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40908 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: clean-up of incognito badge code and float -> CGFloat.viettrungluu@chromium.org2010-03-087-41/+38
| | | | | | | | | BUG=none TEST=everything still builds and works Review URL: http://codereview.chromium.org/669277 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40906 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Minor adjustments to the history menu, per the UI team.rsesek@chromium.org2010-03-083-127/+113
| | | | | | | | | | | | | * Increase the number of Recently Closed items to 10. * Move the "Show Full History" item to be at the end of the menu (XIB change). BUG=37209 TEST=Open and navigate 12 tabs. Close 10 of them; History menu should be full. Close one more; history menu stays at 10. TEST="Show Full History" is the last item in the menu. Review URL: http://codereview.chromium.org/660438 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40905 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit test for the "aborted by shutdown" case.skrul@chromium.org2010-03-081-0/+13
| | | | | | | | | | This unit test would crash the code that is on the current dev branch, however with the addition of the DataTypeManager this is no longer a problem on trunk. In the dev version, the PSS would try to try to stop a data type in mid startp causing it to abort, which then rasies and error and tries to stop the same data type again. With the DTM, it knows how to handle aborting a data type startup at shutdown by not letting an aborted stop raise an error. BUG=37243 Review URL: http://codereview.chromium.org/668183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40904 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing extension install case. Changing the file browser to only get the ↵dhg@chromium.org2010-03-085-9/+162
| | | | | | | | | | list of current downloads, not the history. BUG=none TEST=none Review URL: http://codereview.chromium.org/669186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40903 0039d316-1c4b-4281-b951-d872f2087c98