summaryrefslogtreecommitdiffstats
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* Refactor: Move app/surface to ui/gfx/surface.backer@chromium.org2011-03-259-1412/+0
| | | | | | | | | | | | | This is progress towards moving app/gfx/gl to ui/gfx/gl. Currently, surface depends on gl, but gl depends on app_base (which contains surface). This refactor gets rid of this potential cyclic dependency. surface.gyp is in a separate file (not a .gypi include) because cyclic dependency checking is at the file level (not target level). BUG=none TEST=by hand and try bots Review URL: http://codereview.chromium.org/6718027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79396 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a TransportDIB::Id value that is explicitly invalid and use it when ↵jamesr@chromium.org2011-03-255-19/+46
| | | | | | | | | | | compositing BUG=76001 TEST= Review URL: http://codereview.chromium.org/6665029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79349 0039d316-1c4b-4281-b951-d872f2087c98
* Convert some WidgetWin construction to use CreateParams.ben@chromium.org2011-03-241-0/+4
| | | | | | | | | BUG=72040 TEST=none R=erg@chromium.org,estade@chromium.org Review URL: http://codereview.chromium.org/6719006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79279 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 79211 - Convert some WidgetWin construction to use CreateParams.ben@chromium.org2011-03-231-4/+0
| | | | | | | | | | | BUG=72040 TEST=none Review URL: http://codereview.chromium.org/6719006 TBR=ben@chromium.org Review URL: http://codereview.chromium.org/6696053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79212 0039d316-1c4b-4281-b951-d872f2087c98
* Convert some WidgetWin construction to use CreateParams.ben@chromium.org2011-03-231-0/+4
| | | | | | | | BUG=72040 TEST=none Review URL: http://codereview.chromium.org/6719006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79211 0039d316-1c4b-4281-b951-d872f2087c98
* Adding larger throbbers for touch case. This is not the final PNGs that ↵saintlou@chromium.org2011-03-232-1/+6
| | | | | | | | | | | | require PNG transparency. BUG=none TEST=none Review URL: http://codereview.chromium.org/6673108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79143 0039d316-1c4b-4281-b951-d872f2087c98
* Lands http://codereview.chromium.org/2928005/ for Dill:sky@chromium.org2011-03-221-0/+1
| | | | | | | | | | | | Loads favicons when openning back/forward menu for any urls that don't have favicons. BUG=5679 TEST=Restore a tab with a navigation history, check favicons. Review URL: http://codereview.chromium.org/6708029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79000 0039d316-1c4b-4281-b951-d872f2087c98
* Roll skia r970->r980bsalomon@google.com2011-03-221-1/+0
| | | | | | Review URL: http://codereview.chromium.org/6708084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78998 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit of reverted CL: http://codereview.chromium.org/6677105twiz@chromium.org2011-03-215-1/+542
| | | | | | | | | Addition of GL-redirecting mechanism for the Skia/GPU back-end. During execution of the layout tests (DumpRenderTree), all GL-calls are invoked via Mesa. A GL re-direction mechanism was added to skia in revision (http://code.google.com/p/skia/source/detail?r=937) These changes populate the skia re-direction interface with the gl implementation currently in use in Chrome: The app\gfx\gl bindings. R=kbr, bsalomon Review URL: http://codereview.chromium.org/6708066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78941 0039d316-1c4b-4281-b951-d872f2087c98
* Move app/app_switches to ui/gfx/gl/gl_switches.backer@chromium.org2011-03-215-44/+4
| | | | | | | | | | | | | This is in preparation of moving app/gfx/gl to ui/gfx/gl. All of the switches in app_switches are GL related. Removed many includes that were unnecessary. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/6685089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78875 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 78801 - Addition of GL-redirecting mechanism for the Skia/GPU ↵bradnelson@google.com2011-03-195-547/+1
| | | | | | | | | | | | | back-end. During execution of the layout tests (DumpRenderTree), all GL-calls are invoked via Mesa. A GL re-direction mechanism was added to skia in revision (http://code.google.com/p/skia/source/detail?r=937) These changes populate the skia re-direction interface with the gl implementation currently in use in Chrome: The app\gfx\gl bindings. R=kbr, bsalomon Review URL: http://codereview.chromium.org/6677105 TBR=twiz@chromium.org R=* Review URL: http://codereview.chromium.org/6712050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78808 0039d316-1c4b-4281-b951-d872f2087c98
* Addition of GL-redirecting mechanism for the Skia/GPU back-end. During ↵twiz@chromium.org2011-03-195-1/+547
| | | | | | | | execution of the layout tests (DumpRenderTree), all GL-calls are invoked via Mesa. A GL re-direction mechanism was added to skia in revision (http://code.google.com/p/skia/source/detail?r=937) These changes populate the skia re-direction interface with the gl implementation currently in use in Chrome: The app\gfx\gl bindings. R=kbr, bsalomon Review URL: http://codereview.chromium.org/6677105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78801 0039d316-1c4b-4281-b951-d872f2087c98
* Normalize the top-level ui/ module.rsesek@chromium.org2011-03-181-1/+1
| | | | | | | | | | | | | | | | This CL creates four .gypi files that are included in /ui/ui.gyp. This allows for a single unittest binary for all the submodules, rather than having individual unittest binaries for each submodule. To not break the buildbot, this creates a fake target that copies ui_unittests to gfx_unittests as temporary scaffolding. BUG=72317 TEST=gfx_unittests (really ui_unittests) passes Review URL: http://codereview.chromium.org/6688007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78711 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 78536 - Use gl_bindings instead of linking against OpenGL directly.backer@chromium.org2011-03-171-0/+1
| | | | | | | | | | | | | | | The GPU process uses gl_bindings to decide which GL library (OpenGL, OpenGL ES, or Angle) to link against at run-time. We should do the same. BUG=none TEST=by hand with 3D CSS and WebGL on Linux Review URL: http://codereview.chromium.org/6673094 TBR=backer@chromium.org Review URL: http://codereview.chromium.org/6665066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78537 0039d316-1c4b-4281-b951-d872f2087c98
* Use gl_bindings instead of linking against OpenGL directly.backer@chromium.org2011-03-171-1/+0
| | | | | | | | | | | | The GPU process uses gl_bindings to decide which GL library (OpenGL, OpenGL ES, or Angle) to link against at run-time. We should do the same. BUG=none TEST=by hand with 3D CSS and WebGL on Linux Review URL: http://codereview.chromium.org/6673094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78536 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r77777 (a temporary hack) and roll in the fix from ANGLE (567:571).apatrick@chromium.org2011-03-151-21/+1
| | | | | | | | | | | | | | | | | | I put both in the same patch so I can merge them into m11 atomically. ANGLE revisions: 571 ANGLE depends statically on D3DCompiler_x.dll. 570 Fix NULL dereference for empty constructors. 569 Newlines in multi-line comments don't count as a newline. 568 Improve debug log formatting. TEST=try, check D3DCompiler_42.dll is loaded before the sandbox is turned on. BUG=75349 Review URL: http://codereview.chromium.org/6694008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78145 0039d316-1c4b-4281-b951-d872f2087c98
* Continuing with DCHECK() replacement. Switching to DCHECK_GT for better ↵kushi.p@gmail.com2011-03-131-1/+1
| | | | | | | | | | | debug of broken contracts BUG=58409 Review URL: http://codereview.chromium.org/6690002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77977 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 77769apatrick@chromium.org2011-03-111-1/+21
| | | | | | | | | | | | Preload D3DCompiler_42.dll. This needs to be loaded before the sandbox is turned on. TEST=The DLL is not loaded after initialization BUG=75349 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77777 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 77769 - Reland 77766apatrick@chromium.org2011-03-111-14/+0
| | | | | | | | | | | | | | | Preload D3DCompiler_42.dll. This needs to be loaded before the sandbox is turned on. TEST=The DLL is not loaded after initialization BUG=none TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/6672020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77772 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 77766apatrick@chromium.org2011-03-111-0/+14
| | | | | | | | | | | | Preload D3DCompiler_42.dll. This needs to be loaded before the sandbox is turned on. TEST=The DLL is not loaded after initialization BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77769 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 77766 - Preload D3DCompiler_42.dll.apatrick@chromium.org2011-03-111-16/+1
| | | | | | | | | | | | | | This needs to be loaded before the sandbox is turned on. TEST=The DLL is not loaded after initialization BUG=none Review URL: http://codereview.chromium.org/6674011 TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/6667027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77767 0039d316-1c4b-4281-b951-d872f2087c98
* Preload D3DCompiler_42.dll.apatrick@chromium.org2011-03-111-1/+16
| | | | | | | | | | | This needs to be loaded before the sandbox is turned on. TEST=The DLL is not loaded after initialization BUG=none Review URL: http://codereview.chromium.org/6674011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77766 0039d316-1c4b-4281-b951-d872f2087c98
* Carnitas: Move app_strings to ui/base/stringssail@chromium.org2011-03-08106-3476/+5
| | | | | | | | | | To fix circular dependencies between ui/base/ui_base.gyp and app/app.gyp I'm moving app_strings to ui/base/strings. BUG=72317 TEST=Compiled on Mac, Linux, Windows. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77337 0039d316-1c4b-4281-b951-d872f2087c98
* Update translations using strings from launchpad.net r144tony@chromium.org2011-03-071-0/+1
| | | | | | | | (incl. the full Uyghur translations) Review URL: http://codereview.chromium.org/6628062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77203 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 77068 - Carnitas: Move app_strings to ui/base/stringssail@chromium.org2011-03-07106-5/+3474
| | | | | | | | | | | | | | To fix circular dependencies between ui/base/ui_base.gyp and app/app.gyp I'm moving app_strings to ui/base/strings. BUG=72317 TEST=Compiled on Mac, Linux, Windows. Review URL: http://codereview.chromium.org/6541035 TBR=sail@chromium.org Review URL: http://codereview.chromium.org/6623055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77142 0039d316-1c4b-4281-b951-d872f2087c98
* Carnitas: Move app_strings to ui/base/stringssail@chromium.org2011-03-06106-3474/+5
| | | | | | | | | | | To fix circular dependencies between ui/base/ui_base.gyp and app/app.gyp I'm moving app_strings to ui/base/strings. BUG=72317 TEST=Compiled on Mac, Linux, Windows. Review URL: http://codereview.chromium.org/6541035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77068 0039d316-1c4b-4281-b951-d872f2087c98
* Update translations using strings from launchpad.net r141tony@chromium.org2011-03-051-0/+1
| | | | | | Review URL: http://codereview.chromium.org/6625029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77001 0039d316-1c4b-4281-b951-d872f2087c98
* Add a function to get the processor architecture. I will be using this in ↵pkasting@chromium.org2011-03-041-2/+2
| | | | | | | | | | | | the user agent construction code. Also cleans up a few nearby things. BUG=none TEST=none Review URL: http://codereview.chromium.org/6632002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76945 0039d316-1c4b-4281-b951-d872f2087c98
* New OOL violations on linux since last week, along with the final Mac OOL fixes.erg@google.com2011-03-011-0/+1
| | | | | | | | | | | At the time of writing, everything compiles cleanly now. BUG=carnitas TEST=compiles Review URL: http://codereview.chromium.org/6597049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76396 0039d316-1c4b-4281-b951-d872f2087c98
* Out of line cleanups for Mac.erg@google.com2011-02-222-1/+3
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6542027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75626 0039d316-1c4b-4281-b951-d872f2087c98
* More test out-of-lining.erg@google.com2011-02-143-59/+70
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6484043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74879 0039d316-1c4b-4281-b951-d872f2087c98
* Carnitas: Delete stub src/gfx/* headerssail@chromium.org2011-02-131-1/+0
| | | | | | | | | | | The last references to src/gfx/* have been updated so it's safe to delete the stub headers. BUG=None TEST=None Review URL: http://codereview.chromium.org/6474031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74741 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate Event API methods to Google Style.ben@chromium.org2011-02-101-0/+1
| | | | | | | | | | | | | | Re-landing, moving the bits Mac uses to ui/base/events.h BUG=72040 TEST=none TBR=sky Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=74377 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74408 0039d316-1c4b-4281-b951-d872f2087c98
* Fix key identifier conversion.bryeung@chromium.org2011-02-091-3/+1
| | | | | | | | | | | | | | | Key identifiers are more expressive than simple key codes. This patch expands the target of the mapping to include modifier keys. This also moves the key identifier conversion into the only directory from which it is used. BUG=none TEST=unit test updated Review URL: http://codereview.chromium.org/6264020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74227 0039d316-1c4b-4281-b951-d872f2087c98
* linux: fix gl_context_egl header orderevan@chromium.org2011-02-071-7/+10
| | | | | | | | | | | | Chrome style is matching header first, then Chrome headers. We only need one reordering tweak to make this file compile. BUG=72233 Review URL: http://codereview.chromium.org/6312197 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74037 0039d316-1c4b-4281-b951-d872f2087c98
* Change includes of gfx/* to ui/gfx/*sail@chromium.org2011-02-056-8/+8
| | | | | | | | | BUG=71063 TEST=compiled Review URL: http://codereview.chromium.org/6312156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73890 0039d316-1c4b-4281-b951-d872f2087c98
* GPU process does not fall back to alternative GL implementation.apatrick@chromium.org2011-02-045-20/+20
| | | | | | | | | | | | | Unless the --use-gl command line switch is specified, only the default GL implementation will be used. On windows this is ANGLE. On other platforms it it OpenGL. Falling back on OpenGL implementations that are generally not as reliable as the default was causing crashes. TEST=try, check GL implementation does not fallback BUG=none Review URL: http://codereview.chromium.org/6246116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73857 0039d316-1c4b-4281-b951-d872f2087c98
* Cross-platform CL to remove app/win/win_util.h&cc and related work.msw@chromium.org2011-02-035-503/+2
| | | | | | | | | | | | | | | | | | | | See Issue 70141 for the full move details; see my inline review comments. Changes significantly different from or beyond those prescribed by the bug: *Consolidated a lot of GrabWindowSnapshot code. *Moved EnsureRectIsVisibleInRect to views::internal namespace for test access. *Moved app/win/win_util_unittest.cc to views/window/window_win_unittest.h *Named ui/base/message_box_win.h instead of ui/base/message_box.h *Made WindowWin::GetWindowTitleFont static; needed in static contexts. *Denoted WindowWin::FrameTypeChanged as a Window override, moved code. *Moved TestGrabWindowSnapshot into new file: chrome/browser/ui/window_snapshot/window_snapshot_mac_unittest.mm BUG=70141 TEST=none Review URL: http://codereview.chromium.org/6386009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73589 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup base & app unit test MockCrApp NSApp initialization.msw@chromium.org2011-02-031-8/+2
| | | | | | | | | | | | | | Provide chrome unit test CrApplication NSApp initialization. Chrome requires a legitimate message loop for its unit tests. Ensure that init occurs before the base class MockCrApp init. BUG=71686 TEST=Run all base/app/chrome unit tests on Mac; try bug repro Review URL: http://codereview.chromium.org/6349058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73581 0039d316-1c4b-4281-b951-d872f2087c98
* Move src/gfx/ to src/ui/gfxsail@chromium.org2011-02-021-1/+1
| | | | | | | | | | | To reduce the size of this change I've left stub header files in src/gfx/. Once all includes have been updated I'll delete the stub files. BUG=71063 TEST=Still doing test builds. Review URL: http://codereview.chromium.org/6246027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73530 0039d316-1c4b-4281-b951-d872f2087c98
* Pull in new launchpad.net translations and actually build thetony@chromium.org2011-02-022-0/+40
| | | | | | | | | | | | 6 new languages on Linux if gyp is run with with use_third_party_translations=1. I also moved the translations from src/chrome/third_party to src/third_party, since the translations cover more than chrome/. Review URL: http://codereview.chromium.org/6410010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73381 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete files from 'sources'. This causes needless work on ↵jeanluc@chromium.org2011-01-311-1/+0
| | | | | | | | | | | incremental builds in VS2010. BUG=71130 TEST=Check that Chrome builds. Review URL: http://codereview.chromium.org/6386019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73190 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 73121 - Remove obsolete files from 'sources'. This causes needless ↵nsylvain@chromium.org2011-01-311-0/+1
| | | | | | | | | | | | | | | | | | work on incremental builds in VS2010. This is breaking clobber builds with this error : e:\b\build\slave\google-chrome-rel-win\build\src\chrome_frame\iids.cc(6) : fatal error C1083: Cannot open include file: 'chrome_tab.h': No such file or directory BUG=71130 TEST=Check that Chrome builds. Review URL: http://codereview.chromium.org/6307018 TBR=jeanluc@chromium.org Review URL: http://codereview.chromium.org/6347032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73124 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete files from 'sources'. This causes needless work on ↵jeanluc@chromium.org2011-01-301-1/+0
| | | | | | | | | | | incremental builds in VS2010. BUG=71130 TEST=Check that Chrome builds. Review URL: http://codereview.chromium.org/6307018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73121 0039d316-1c4b-4281-b951-d872f2087c98
* Exposed GL_NV_fence bindings to GPU process.apatrick@chromium.org2011-01-262-0/+21
| | | | | | | | | TEST=try, call GL_NV_fence functions BUG=none Review URL: http://codereview.chromium.org/6313013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72667 0039d316-1c4b-4281-b951-d872f2087c98
* Call sqlite3Preload() only when not using system sqlite. Modify therohitrao@chromium.org2011-01-261-0/+4
| | | | | | | | | | sqlite3.h header to not include a stub definition of sqlite3Preload(). BUG=None TEST=None Review URL: http://codereview.chromium.org/6356012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72637 0039d316-1c4b-4281-b951-d872f2087c98
* appp: Remove tween.h header file.tfarina@chromium.org2011-01-251-44/+0
| | | | | | | | | | | | It seems this file was left when all the other animation files were moved to ui/base/animation/. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6376010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72432 0039d316-1c4b-4281-b951-d872f2087c98
* Conditionally add compile-time enable for the web audio API only on Mac OS Xcrogers@google.com2011-01-241-0/+2
| | | | | | | | | | This is effectively a pared-down version of the already reviewed: http://codereview.chromium.org/6308014/ BUG=none TEST=none (tested locally for Mac OS X which is the only platform this affects) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72308 0039d316-1c4b-4281-b951-d872f2087c98
* Move l10n_util to ui/baseben@chromium.org2011-01-2113-2157/+12
| | | | | | | | | BUG=none TEST=none TBR=brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72227 0039d316-1c4b-4281-b951-d872f2087c98
* Final pass at removing unused strings.estade@chromium.org2011-01-211-2/+1
| | | | | | | | | | | All strings that remain are either probably actually used (e.g. by chrome frame or chromeos or the windows installer), or may be used soon (i.e. less than 6 months old). BUG=none TEST=trybots Review URL: http://codereview.chromium.org/6360009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72169 0039d316-1c4b-4281-b951-d872f2087c98