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

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

Issue 1884043002: Use black for resize gutter in tab fullscreen mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/delegated_frame_host.h
diff --git a/content/browser/renderer_host/delegated_frame_host.h b/content/browser/renderer_host/delegated_frame_host.h
index 66b0ac29978c6eff8f1aa002acd80fd590775111..6b4ae2d82312a54715cfc3e6778c4148f04d77e2 100644
--- a/content/browser/renderer_host/delegated_frame_host.h
+++ b/content/browser/renderer_host/delegated_frame_host.h
@@ -55,6 +55,10 @@ class CONTENT_EXPORT DelegatedFrameHostClient {
public:
virtual ui::Layer* DelegatedFrameHostGetLayer() const = 0;
virtual bool DelegatedFrameHostIsVisible() const = 0;
+
+ // The callee can change the value of *color to modify what color the resize
+ // gutters are drawn with.
+ virtual void DelegatedFrameHostOverrideGutterColor(SkColor* color) const = 0;
virtual gfx::Size DelegatedFrameHostDesiredSizeInDIP() const = 0;
virtual bool DelegatedFrameCanCreateResizeLock() const = 0;
@@ -203,6 +207,8 @@ class CONTENT_EXPORT DelegatedFrameHost
// Checks if the resize lock can be released because we received an new frame.
void CheckResizeLock();
+ SkColor GetGutterColor() const;
+
// Update the layers for the resize gutters to the right and bottom of the
// surface layer.
void UpdateGutters();

Powered by Google App Engine
This is Rietveld 408576698