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

Unified Diff: chrome/browser/ui/views/tabs/tab.h

Issue 1392193004: Miscellaneous cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad merge Created 5 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: chrome/browser/ui/views/tabs/tab.h
diff --git a/chrome/browser/ui/views/tabs/tab.h b/chrome/browser/ui/views/tabs/tab.h
index 950c410813c7f87e74422025d5f32636439ebdd6..9b4b66ea83b3bb104b492299090038e7ef4c89ec 100644
--- a/chrome/browser/ui/views/tabs/tab.h
+++ b/chrome/browser/ui/views/tabs/tab.h
@@ -293,11 +293,8 @@ class Tab : public gfx::AnimationDelegate,
// Schedules repaint task for icon.
void ScheduleIconPaint();
- // Returns a |path| containing the region that matches the bitmap display of
- // this tab, for input event hit testing. Set |include_top_shadow| to include
- // the mostly-transparent shadow pixels above the top edge of the tab in the
- // path.
- void GetHitTestMaskHelper(bool include_top_shadow, gfx::Path* path) const;
+ // Returns the rect that can be used for content inside the tab borders.
+ gfx::Rect GetInteriorBounds() const;
// Returns the rectangle for the light bar in immersive mode.
gfx::Rect GetImmersiveBarRect() const;

Powered by Google App Engine
This is Rietveld 408576698