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

Unified Diff: chrome/browser/views/hwnd_html_view.h

Issue 99042: Fix several painting glitches for toolstrips. (Closed)
Patch Set: Review responses Created 11 years, 8 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: chrome/browser/views/hwnd_html_view.h
diff --git a/chrome/browser/views/hwnd_html_view.h b/chrome/browser/views/hwnd_html_view.h
index 49e2c88bedca5a901d9e6c78b3148344d51381a7..275c891565416a04c00bdc1ccdeabfa09d300261 100644
--- a/chrome/browser/views/hwnd_html_view.h
+++ b/chrome/browser/views/hwnd_html_view.h
@@ -22,6 +22,13 @@ class HWNDHtmlView : public views::HWNDView {
bool allow_dom_ui_bindings, SiteInstance* instance);
virtual ~HWNDHtmlView();
+ // View
+ virtual void SetVisible(bool is_visible);
+
+ virtual void DidChangeBounds(const gfx::Rect& previous,
+ const gfx::Rect& current);
+
+ // HWNDHtmlView
RenderViewHost* render_view_host() { return render_view_host_; }
// Initialize the view without a parent window. Used for extensions that
@@ -29,7 +36,7 @@ class HWNDHtmlView : public views::HWNDView {
void InitHidden();
// Set a custom background for the view. The background will be tiled.
- void SetBackground(const SkBitmap& background);
+ virtual void SetBackground(const SkBitmap& background);
protected:
// View overrides.

Powered by Google App Engine
This is Rietveld 408576698