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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_strip.cc

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more two win fixes Created 8 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/views/tabs/tab_strip.h" 5 #include "chrome/browser/ui/views/tabs/tab_strip.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 14 matching lines...) Expand all
25 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h" 25 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h"
26 #include "grit/generated_resources.h" 26 #include "grit/generated_resources.h"
27 #include "grit/theme_resources.h" 27 #include "grit/theme_resources.h"
28 #include "grit/theme_resources_standard.h" 28 #include "grit/theme_resources_standard.h"
29 #include "ui/base/accessibility/accessible_view_state.h" 29 #include "ui/base/accessibility/accessible_view_state.h"
30 #include "ui/base/animation/animation_container.h" 30 #include "ui/base/animation/animation_container.h"
31 #include "ui/base/animation/throb_animation.h" 31 #include "ui/base/animation/throb_animation.h"
32 #include "ui/base/dragdrop/drag_drop_types.h" 32 #include "ui/base/dragdrop/drag_drop_types.h"
33 #include "ui/base/l10n/l10n_util.h" 33 #include "ui/base/l10n/l10n_util.h"
34 #include "ui/base/resource/resource_bundle.h" 34 #include "ui/base/resource/resource_bundle.h"
35 #include "ui/gfx/canvas_skia.h" 35 #include "ui/gfx/canvas.h"
36 #include "ui/gfx/path.h" 36 #include "ui/gfx/path.h"
37 #include "ui/gfx/skbitmap_operations.h" 37 #include "ui/gfx/skbitmap_operations.h"
38 #include "ui/gfx/size.h" 38 #include "ui/gfx/size.h"
39 #include "ui/views/controls/image_view.h" 39 #include "ui/views/controls/image_view.h"
40 #include "ui/views/mouse_watcher_view_host.h" 40 #include "ui/views/mouse_watcher_view_host.h"
41 #include "ui/views/touchui/touch_mode_support.h" 41 #include "ui/views/touchui/touch_mode_support.h"
42 #include "ui/views/widget/default_theme_provider.h" 42 #include "ui/views/widget/default_theme_provider.h"
43 #include "ui/views/widget/root_view.h" 43 #include "ui/views/widget/root_view.h"
44 #include "ui/views/widget/widget.h" 44 #include "ui/views/widget/widget.h"
45 #include "ui/views/window/non_client_view.h" 45 #include "ui/views/window/non_client_view.h"
(...skipping 1778 matching lines...) Expand 10 before | Expand all | Expand 10 after
1824 ui::AnimationDelegate* TabStrip::CreateRemoveTabDelegate(BaseTab* tab) { 1824 ui::AnimationDelegate* TabStrip::CreateRemoveTabDelegate(BaseTab* tab) {
1825 return new RemoveTabDelegate(this, tab); 1825 return new RemoveTabDelegate(this, tab);
1826 } 1826 }
1827 1827
1828 bool TabStrip::IsPointInTab(Tab* tab, 1828 bool TabStrip::IsPointInTab(Tab* tab,
1829 const gfx::Point& point_in_tabstrip_coords) { 1829 const gfx::Point& point_in_tabstrip_coords) {
1830 gfx::Point point_in_tab_coords(point_in_tabstrip_coords); 1830 gfx::Point point_in_tab_coords(point_in_tabstrip_coords);
1831 View::ConvertPointToView(this, tab, &point_in_tab_coords); 1831 View::ConvertPointToView(this, tab, &point_in_tab_coords);
1832 return tab->HitTest(point_in_tab_coords); 1832 return tab->HitTest(point_in_tab_coords);
1833 } 1833 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_drag_controller2.cc ('k') | chrome/common/extensions/extension_action.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698