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

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, 7 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 | « no previous file | content/browser/renderer_host/delegated_frame_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 183265968c7274d4d27f72d56c622c57d159a88e..9fda24d18ed3f9610f4e5a98af3aebd9b60ae215 100644
--- a/content/browser/renderer_host/delegated_frame_host.h
+++ b/content/browser/renderer_host/delegated_frame_host.h
@@ -58,6 +58,10 @@ class CONTENT_EXPORT DelegatedFrameHostClient {
public:
virtual ui::Layer* DelegatedFrameHostGetLayer() const = 0;
virtual bool DelegatedFrameHostIsVisible() const = 0;
+
+ // Returns the color that the resize gutters should be drawn with. Takes the
+ // suggested color from the current page background.
+ virtual SkColor DelegatedFrameHostGetGutterColor(SkColor color) const = 0;
virtual gfx::Size DelegatedFrameHostDesiredSizeInDIP() const = 0;
virtual bool DelegatedFrameCanCreateResizeLock() const = 0;
@@ -207,6 +211,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();
« no previous file with comments | « no previous file | content/browser/renderer_host/delegated_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698