summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_widget.h
diff options
context:
space:
mode:
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-10 21:55:42 +0000
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-10 21:55:42 +0000
commit4e4412b70091791690e6c88e6ca9802f293c9c63 (patch)
tree8cda9805025b604ca38676616cb4a5311e61f9ff /content/renderer/render_widget.h
parent9b05cce5f8359069f5326cf7b60983fd804d7892 (diff)
downloadchromium_src-4e4412b70091791690e6c88e6ca9802f293c9c63.zip
chromium_src-4e4412b70091791690e6c88e6ca9802f293c9c63.tar.gz
chromium_src-4e4412b70091791690e6c88e6ca9802f293c9c63.tar.bz2
Revert 121541 - Add a switch to invert web contents (non-accel only).
The switch will just be used during development of this feature. The idea is for this to be turned automatically for Windows users who enable an inverted (white-on-black) color scheme - see bug for detail. This first patch only handles the non-accelerated graphics path; a subsequent change will handle the accelerated path. BUG=112944 TEST=manually test with --invert-web-contents switch Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120928 Review URL: http://codereview.chromium.org/9353012 TBR=dmazzoni@chromium.org Review URL: https://chromiumcodereview.appspot.com/9379022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121551 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_widget.h')
-rw-r--r--content/renderer/render_widget.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index d1968e0..c1f53cd 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -233,7 +233,6 @@ class CONTENT_EXPORT RenderWidget
void OnMsgRepaint(const gfx::Size& size_to_paint);
void OnSetTextDirection(WebKit::WebTextDirection direction);
void OnGetFPS();
- void OnInvertWebContent(bool invert);
// Override points to notify derived classes that a paint has happened.
// WillInitiatePaint happens when we're about to generate a new bitmap and
@@ -496,12 +495,6 @@ class CONTENT_EXPORT RenderWidget
// case NULL is added to the queue.
std::deque<ViewHostMsg_UpdateRect*> updates_pending_swap_;
- // Set to true if we should invert all pixels.
- bool invert_;
-
- // The Skia paint object for inverting.
- scoped_ptr<SkPaint> invert_paint_;
-
DISALLOW_COPY_AND_ASSIGN(RenderWidget);
};