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

Side by Side Diff: chrome/views/button.cc

Issue 13080: Move convolver and image_operations from base/gfx to skia/ext. This is just... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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/renderer/render_view.cc ('k') | skia/ext/convolver.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 "chrome/views/button.h" 5 #include "chrome/views/button.h"
6 6
7 #include <atlbase.h> 7 #include <atlbase.h>
8 #include <atlapp.h> 8 #include <atlapp.h>
9 9
10 #include "base/gfx/image_operations.h"
11 #include "chrome/app/chrome_dll_resource.h" 10 #include "chrome/app/chrome_dll_resource.h"
12 #include "chrome/common/gfx/chrome_canvas.h" 11 #include "chrome/common/gfx/chrome_canvas.h"
13 #include "chrome/common/l10n_util.h" 12 #include "chrome/common/l10n_util.h"
14 #include "chrome/common/throb_animation.h" 13 #include "chrome/common/throb_animation.h"
15 #include "chrome/views/event.h" 14 #include "chrome/views/event.h"
15 #include "skia/ext/image_operations.h"
16 16
17 #include "generated_resources.h" 17 #include "generated_resources.h"
18 18
19 namespace views { 19 namespace views {
20 20
21 static const int kDefaultWidth = 16; // Default button width if no theme. 21 static const int kDefaultWidth = 16; // Default button width if no theme.
22 static const int kDefaultHeight = 14; // Default button height if no theme. 22 static const int kDefaultHeight = 14; // Default button height if no theme.
23 23
24 //////////////////////////////////////////////////////////////////////////////// 24 ////////////////////////////////////////////////////////////////////////////////
25 // 25 //
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 toggled_ = toggled; 194 toggled_ = toggled;
195 SchedulePaint(); 195 SchedulePaint();
196 } 196 }
197 197
198 void ToggleButton::SetToggledTooltipText(const std::wstring& tooltip) { 198 void ToggleButton::SetToggledTooltipText(const std::wstring& tooltip) {
199 toggled_tooltip_text_.assign(tooltip); 199 toggled_tooltip_text_.assign(tooltip);
200 } 200 }
201 201
202 } // namespace views 202 } // namespace views
203 203
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | skia/ext/convolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698