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

Unified Diff: content/public/browser/render_widget_host_view.h

Issue 654123004: Revert of Sets the default background color of inline signin and user manager to grey (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/public/browser/render_widget_host_view.h
diff --git a/content/public/browser/render_widget_host_view.h b/content/public/browser/render_widget_host_view.h
index 86732eeb7dd7aa17ed37f5f8bae6308d4f09ef95..9fe797c755f1d0cc2002b0fdd87f99c3e636efc3 100644
--- a/content/public/browser/render_widget_host_view.h
+++ b/content/public/browser/render_widget_host_view.h
@@ -10,7 +10,6 @@
#include "base/strings/string16.h"
#include "content/common/content_export.h"
#include "third_party/skia/include/core/SkBitmap.h"
-#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkRegion.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
#include "ui/gfx/native_widget_types.h"
@@ -105,12 +104,9 @@
// Returns the currently selected text.
virtual base::string16 GetSelectedText() const = 0;
- // Subclasses should override this method to set the background color. |color|
- // could be transparent or opaque.
- virtual void SetBackgroundColor(SkColor color) = 0;
- // Convenience method to fill the background layer with the default color by
- // calling |SetBackgroundColor|.
- virtual void SetBackgroundColorToDefault() = 0;
+ // Subclasses should override this method to do what is appropriate to set
+ // the background to be transparent or opaque.
+ virtual void SetBackgroundOpaque(bool opaque) = 0;
virtual bool GetBackgroundOpaque() = 0;
// Return value indicates whether the mouse is locked successfully or not.
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | extensions/browser/guest_view/web_view/web_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698