| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 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. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_TABS_TAB_RESOURCES_H_ | |
| 6 #define CHROME_BROWSER_UI_TABS_TAB_RESOURCES_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 namespace gfx { | |
| 10 class Path; | |
| 11 } | |
| 12 | |
| 13 // Common resources for tab widgets. Currently this is used on Views and Gtk, | |
| 14 // but not on Cocoa. | |
| 15 class TabResources { | |
| 16 public: | |
| 17 // Return a |path| containing the region that matches the bitmap display of | |
| 18 // a tab of the given |width| and |height|, for input event hit testing. | |
| 19 static void GetHitTestMask(int width, int height, gfx::Path* path); | |
| 20 }; | |
| 21 | |
| 22 #endif // CHROME_BROWSER_UI_TABS_TAB_RESOURCES_H_ | |
| OLD | NEW |