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. |