0
Commit Graph

16 Commits

Author SHA1 Message Date
dcheng
6d18e40fc2 Standardize usage of virtual/override/final in content/renderer/
This patch was automatically generated by applying clang fixit hints
generated by the plugin to the source tree.

BUG=417463
TBR=jamesr@chromium.org

Review URL: https://codereview.chromium.org/670683003

Cr-Commit-Position: refs/heads/master@{#300473}
2014-10-21 12:33:10 +00:00
mohan.reddy
ee0b42adc4 Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer
This step is a giant search and replace for OVERRIDE and FINAL to
replace them with their lowercase versions.

BUG=417463

Review URL: https://codereview.chromium.org/633303002

Cr-Commit-Position: refs/heads/master@{#298655}
2014-10-08 04:53:33 +00:00
simonhong@chromium.org
dd72d81c04 Remove unused code in the RenderProcess[Impl]
R=jamesr@chromium.org
BUG=NONE
TEST=NONE(No functional change)

Review URL: https://codereview.chromium.org/310733003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274814 0039d316-1c4b-4281-b951-d872f2087c98
2014-06-04 14:01:24 +00:00
jbauman@chromium.org
1cf03f7f0c Remove TransportDIB methods from RenderProcess(Host)
These aren't needed now that the legacy 2d path is gone.

BUG=362164

Review URL: https://codereview.chromium.org/247263005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265826 0039d316-1c4b-4281-b951-d872f2087c98
2014-04-24 03:09:49 +00:00
jam@chromium.org
7c85e7a40a Start removing support for in-process NPAPI plugins. This was a debugging mode and was only supported by non-Aura Windows code.
BUG=330735
R=avi@chromium.org

Review URL: https://codereview.chromium.org/111613005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242552 0039d316-1c4b-4281-b951-d872f2087c98
2013-12-26 20:52:58 +00:00
avi@chromium.org
abb52216b1 Use a direct include of time headers in content/, part 2.
BUG=254986
TEST=none
TBR=ben@chromium.org

Review URL: https://chromiumcodereview.appspot.com/18154002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209062 0039d316-1c4b-4281-b951-d872f2087c98
2013-06-28 01:54:16 +00:00
reed@google.com
9d611ca037 Simplify platform_canvas.h by recognizing that PlatformCanvas does not actually extend
SkCanvas in any way, other than provide a host of constructors (and delayed constructors
in the form of 'initialize' methods).

These late initializers are a problem, as SkCanvas is deprecating its setDevice() call,
moving to model where the backingstore/device for the canvas must be created before the
canvas is created. This is necessary to allow skia to continue to extend SkCanvas for
its backends (e.g. GPU, PDF, Picture, Pipe, etc.).

The practical change in this CL is to make PlatformCanvas just a typedef for SkCanvas,
and change the call-sites that want to call initialize() to instead create the canvas
using one of the provided Factory functions (e.g. CreatePlatformCanvas). The modifier
Platform is maintained, to document that this canvas may be backed by platform-specific
pixels (e.g. allocated by GDI or cairo).
Review URL: https://codereview.chromium.org/11138024

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167669 0039d316-1c4b-4281-b951-d872f2087c98
2012-11-14 13:46:56 +00:00
jam@chromium.org
eb39819364 Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace.
Review URL: https://codereview.chromium.org/11227033

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163359 0039d316-1c4b-4281-b951-d872f2087c98
2012-10-22 20:16:19 +00:00
fsamuel@chromium.org
1b88d9f90a Make RenderProcessImpl::CreateTransportDIB and RenderProcessImpl::FreeTransportDIB public
This code allows for platform-specific ways to allocate and free TransportDIBs. This is needed by the BrowserPlugin. Make them public so that they can be accessed by the BrowserPlugin

BUG=none

Review URL: https://chromiumcodereview.appspot.com/10826100

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149538 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-02 00:09:09 +00:00
ajwong@chromium.org
f78671752a Remove #pragma once from content
Review URL: https://chromiumcodereview.appspot.com/10696166

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98
2012-07-11 07:04:07 +00:00
mseaborn@chromium.org
66eeb5290b Remove an unused #include of a native_client header
BUG=none
TEST=build


Review URL: http://codereview.chromium.org/10207027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134179 0039d316-1c4b-4281-b951-d872f2087c98
2012-04-27 00:13:04 +00:00
creis@chromium.org
744c2a2d90 Allow browser to handle all WebUI navigations.
BUG=113496
TEST="Google Dashboard" link in Sync settings loads in new process.


Review URL: http://codereview.chromium.org/9663045

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126949 0039d316-1c4b-4281-b951-d872f2087c98
2012-03-15 18:42:04 +00:00
avi@chromium.org
edc64de774 Add OVERRIDE to content/.
BUG=104314
TEST=no change

Review URL: http://codereview.chromium.org/8587009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110544 0039d316-1c4b-4281-b951-d872f2087c98
2011-11-17 20:07:38 +00:00
jam@chromium.org
f1933791ea Get rid of the following dependencies from content:
chrome/common/chrome_constants.h
  chrome/common/chrome_paths.h
  chrome/common/logging_chrome.h

BUG=76697
Review URL: http://codereview.chromium.org/7104144

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88935 0039d316-1c4b-4281-b951-d872f2087c98
2011-06-14 00:49:34 +00:00
hans@chromium.org
3690ebe09a Virtual destructors should have virtual keyword.
Make sure user-declared virtual destructors always have the virtual keyword.
The Clang style-check plugin will check for this soon.

No functionality change: virtual is only added
to destructors that are already implicitly virtual.

Also fix a couple of in-line destructor definitions.

BUG=83408
TEST=none

Review URL: http://codereview.chromium.org/7064033

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86587 0039d316-1c4b-4281-b951-d872f2087c98
2011-05-25 09:08:19 +00:00
jam@chromium.org
8704f89ba4 Move RenderProcess to content.
TBR=avi
Review URL: http://codereview.chromium.org/6864001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81681 0039d316-1c4b-4281-b951-d872f2087c98
2011-04-15 00:30:05 +00:00