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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view.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.h
diff --git a/chrome/browser/renderer_host/render_widget_host_view.h b/chrome/browser/renderer_host/render_widget_host_view.h
index 81de5060842a36195d24403051900cf1b35f22c2..af6300e5cda2019bd3e1da32e29b011e9f7cd64f 100644
--- a/chrome/browser/renderer_host/render_widget_host_view.h
+++ b/chrome/browser/renderer_host/render_widget_host_view.h
@@ -17,6 +17,7 @@
#include "gfx/native_widget_types.h"
#include "gfx/rect.h"
#include "third_party/skia/include/core/SkBitmap.h"
+#include "third_party/skia/include/core/SkColor.h"
#include "third_party/WebKit/WebKit/chromium/public/WebPopupType.h"
#include "third_party/WebKit/WebKit/chromium/public/WebTextInputType.h"
@@ -253,8 +254,12 @@ class RenderWidgetHostView {
#endif
// Toggles visual muting of the render view area. This is on when a
- // constrained window is showing.
- virtual void SetVisuallyDeemphasized(bool deemphasized) = 0;
+ // constrained window is showing, for example. |color| is the shade of
+ // the overlay that covers the render view. If |animate| is true, the overlay
+ // gradually fades in; otherwise it takes effect immediately. To remove the
+ // fade effect, pass a NULL value for |color|. In this case, |animate| is
+ // ignored.
+ virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate) = 0;
void set_popup_type(WebKit::WebPopupType popup_type) {
popup_type_ = popup_type;
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698