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

Side by Side Diff: views/controls/tabbed_pane.cc

Issue 65012: Move skia to DEPS, and put it in third_party. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « views/controls/scrollbar/bitmap_scroll_bar.cc ('k') | views/controls/table/table_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "views/controls/tabbed_pane.h" 5 #include "views/controls/tabbed_pane.h"
6 6
7 #include <vssym32.h> 7 #include <vssym32.h>
8 8
9 #include "app/gfx/chrome_canvas.h" 9 #include "app/gfx/chrome_canvas.h"
10 #include "app/gfx/chrome_font.h" 10 #include "app/gfx/chrome_font.h"
11 #include "app/l10n_util_win.h" 11 #include "app/l10n_util_win.h"
12 #include "app/resource_bundle.h" 12 #include "app/resource_bundle.h"
13 #include "base/gfx/native_theme.h" 13 #include "base/gfx/native_theme.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/stl_util-inl.h" 15 #include "base/stl_util-inl.h"
16 #include "skia/ext/skia_utils_win.h" 16 #include "skia/ext/skia_utils_win.h"
17 #include "skia/include/SkColor.h" 17 #include "third_party/skia/include/core/SkColor.h"
18 #include "views/background.h" 18 #include "views/background.h"
19 #include "views/fill_layout.h" 19 #include "views/fill_layout.h"
20 #include "views/widget/root_view.h" 20 #include "views/widget/root_view.h"
21 #include "views/widget/widget_win.h" 21 #include "views/widget/widget_win.h"
22 22
23 namespace views { 23 namespace views {
24 24
25 // A background object that paints the tab panel background which may be 25 // A background object that paints the tab panel background which may be
26 // rendered by the system visual styles system. 26 // rendered by the system visual styles system.
27 class TabBackground : public Background { 27 class TabBackground : public Background {
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 CRect content_bounds; 255 CRect content_bounds;
256 if (!GetClientRect(tab_control, &content_bounds)) 256 if (!GetClientRect(tab_control, &content_bounds))
257 return; 257 return;
258 TabCtrl_AdjustRect(tab_control, FALSE, &content_bounds); 258 TabCtrl_AdjustRect(tab_control, FALSE, &content_bounds);
259 content_window_->MoveWindow(content_bounds.left, content_bounds.top, 259 content_window_->MoveWindow(content_bounds.left, content_bounds.top,
260 content_bounds.Width(), content_bounds.Height(), 260 content_bounds.Width(), content_bounds.Height(),
261 TRUE); 261 TRUE);
262 } 262 }
263 263
264 } // namespace views 264 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/scrollbar/bitmap_scroll_bar.cc ('k') | views/controls/table/table_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698