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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view_win.h

Issue 5790002: [gtk] tabcontents fade-out for instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile fixes Created 10 years 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: chrome/browser/renderer_host/render_widget_host_view_win.h
diff --git a/chrome/browser/renderer_host/render_widget_host_view_win.h b/chrome/browser/renderer_host/render_widget_host_view_win.h
index b2b754612bce5e89ed2c146fa465908f6c23a09a..282dfe95747538d59879732167641bb2099f9cec 100644
--- a/chrome/browser/renderer_host/render_widget_host_view_win.h
+++ b/chrome/browser/renderer_host/render_widget_host_view_win.h
@@ -156,7 +156,7 @@ class RenderWidgetHostViewWin
virtual BackingStore* AllocBackingStore(const gfx::Size& size);
virtual void SetBackground(const SkBitmap& background);
virtual bool ContainsNativeView(gfx::NativeView native_view) const;
- virtual void SetVisuallyDeemphasized(bool deemphasized);
+ virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate);
virtual gfx::PluginWindowHandle GetCompositorHostWindow();
virtual void ShowCompositorHostWindow(bool show);
@@ -338,9 +338,9 @@ class RenderWidgetHostViewWin
// The time it took after this view was selected for it to be fully painted.
base::TimeTicks tab_switch_paint_time_;
- // True if we are showing a constrained window. We will grey out the view
- // whenever we paint.
- bool visually_deemphasized_;
+ // A color we use to shade the entire render view. If 100% transparent, we do
+ // not shade the render view.
+ SkColor overlay_color_;
// Registrar so we can listen to RENDERER_PROCESS_TERMINATED events.
NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698