1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_TABS_TAB_RESOURCES_H_
6 #define CHROME_BROWSER_UI_TABS_TAB_RESOURCES_H_
12 // Common resources for tab widgets. Currently this is used on Views and Gtk,
16 // Return a |path| containing the region that matches the bitmap display of
17 // a tab of the given |width| and |height|, for input event hit testing.
18 // Set |include_top_shadow| to include the mostly-transparent shadow pixels
19 // above the top edge of the tab in the path.
20 static void GetHitTestMask(int width
,
22 bool include_top_shadow
,
26 #endif // CHROME_BROWSER_UI_TABS_TAB_RESOURCES_H_