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

Unified Diff: ui/views/bubble/bubble_border.h

Issue 73533002: Remove the Views bubble double widget hack. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « no previous file | ui/views/bubble/bubble_border.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_border.h
diff --git a/ui/views/bubble/bubble_border.h b/ui/views/bubble/bubble_border.h
index 23fdde32f023979099ebf43cbc91253293555eb1..558f14f5d0138d9d3d1445b919fca96d3eebcf82 100644
--- a/ui/views/bubble/bubble_border.h
+++ b/ui/views/bubble/bubble_border.h
@@ -135,10 +135,6 @@ class VIEWS_EXPORT BubbleBorder : public Border {
void set_background_color(SkColor color) { background_color_ = color; }
SkColor background_color() const { return background_color_; }
- // Get or set the client_bounds, a Windows-only temporary hack.
- void set_client_bounds(const gfx::Rect& bounds) { client_bounds_ = bounds; }
- const gfx::Rect& client_bounds() const { return client_bounds_; }
-
// Sets a desired pixel distance between the arrow tip and the outside edge of
// the neighboring border image. For example: |----offset----|
// '(' represents shadow around the '{' edge: ((({ ^ })))
@@ -180,10 +176,6 @@ class VIEWS_EXPORT BubbleBorder : public Border {
internal::BorderImages* images_;
SkColor background_color_;
- // The client/content bounds; must be clipped from the background on Windows.
- // TODO(msw): Clean this up when Windows native controls are no longer needed.
- gfx::Rect client_bounds_;
-
DISALLOW_COPY_AND_ASSIGN(BubbleBorder);
};
« no previous file with comments | « no previous file | ui/views/bubble/bubble_border.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698