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

Unified Diff: content/browser/renderer_host/backing_store_mac.h

Issue 10548026: mac: Make dynamic DPI changes work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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
Index: content/browser/renderer_host/backing_store_mac.h
diff --git a/content/browser/renderer_host/backing_store_mac.h b/content/browser/renderer_host/backing_store_mac.h
index 17f3e2f4ccc288bad6f35287d6600fd49126097d..8f5ea7e613242114f05a362c0f744c2aab22e61d 100644
--- a/content/browser/renderer_host/backing_store_mac.h
+++ b/content/browser/renderer_host/backing_store_mac.h
@@ -27,6 +27,8 @@ class BackingStoreMac : public BackingStore {
// corresponding Cocoa view has not been inserted into an NSWindow yet.
CGContextRef cg_bitmap() { return cg_bitmap_; }
+ void ScaleFactorChanged(float device_scale_factor);
+
// BackingStore implementation.
virtual size_t MemorySize() OVERRIDE;
virtual void PaintToBackingStore(

Powered by Google App Engine
This is Rietveld 408576698