Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2608)

Unified Diff: content/renderer/render_widget.h

Issue 10534099: Delete code used to invert web content for high-contrast mode. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added back include that's needed by other code Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 1e69ac0b6d812f2dc47c708ed2d80def1da6083f..194d40c2153aa6bb397789a3184645814b226511 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -255,7 +255,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
@@ -529,12 +528,6 @@ class CONTENT_EXPORT RenderWidget
// |screen_info_| on some platforms, and defaults to 1 on other platforms.
int device_scale_factor_;
- // 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);
};
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698