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

Side by Side Diff: chrome/browser/ui/tabs/tab_resources.h

Issue 7657009: Revert 96674 - Gtk: Make click target of tabs match their appearance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc ('k') | chrome/browser/ui/tabs/tab_resources.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc ('k') | chrome/browser/ui/tabs/tab_resources.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698