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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_edit.cc

Issue 12842: Move convolver, image_operations, and skia_utils from base/gfx to skia/ext.... (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 | « base/gfx/skia_utils_mac.cc ('k') | chrome/browser/download/download_util.cc » ('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/browser/autocomplete/autocomplete_edit.h" 5 #include "chrome/browser/autocomplete/autocomplete_edit.h"
6 6
7 #include <locale> 7 #include <locale>
8 8
9 #include "base/base_drag_source.h" 9 #include "base/base_drag_source.h"
10 #include "base/clipboard.h" 10 #include "base/clipboard.h"
11 #include "base/gfx/skia_utils.h"
12 #include "base/iat_patch.h" 11 #include "base/iat_patch.h"
13 #include "base/ref_counted.h" 12 #include "base/ref_counted.h"
14 #include "base/scoped_clipboard_writer.h" 13 #include "base/scoped_clipboard_writer.h"
15 #include "base/string_util.h" 14 #include "base/string_util.h"
16 #include "chrome/app/chrome_dll_resource.h" 15 #include "chrome/app/chrome_dll_resource.h"
17 #include "chrome/browser/autocomplete/autocomplete_popup.h" 16 #include "chrome/browser/autocomplete/autocomplete_popup.h"
18 #include "chrome/browser/autocomplete/edit_drop_target.h" 17 #include "chrome/browser/autocomplete/edit_drop_target.h"
19 #include "chrome/browser/autocomplete/keyword_provider.h" 18 #include "chrome/browser/autocomplete/keyword_provider.h"
20 #include "chrome/browser/browser_process.h" 19 #include "chrome/browser/browser_process.h"
21 #include "chrome/browser/controller.h" 20 #include "chrome/browser/controller.h"
(...skipping 2419 matching lines...) Expand 10 before | Expand all | Expand 10 after
2441 } 2440 }
2442 2441
2443 void AutocompleteEditView::RepaintDropHighlight(int position) { 2442 void AutocompleteEditView::RepaintDropHighlight(int position) {
2444 if ((position != -1) && (position <= GetTextLength())) { 2443 if ((position != -1) && (position <= GetTextLength())) {
2445 const POINT min_loc(PosFromChar(position)); 2444 const POINT min_loc(PosFromChar(position));
2446 const RECT highlight_bounds = {min_loc.x - 1, font_y_adjustment_, 2445 const RECT highlight_bounds = {min_loc.x - 1, font_y_adjustment_,
2447 min_loc.x + 2, font_ascent_ + font_descent_ + font_y_adjustment_}; 2446 min_loc.x + 2, font_ascent_ + font_descent_ + font_y_adjustment_};
2448 InvalidateRect(&highlight_bounds, false); 2447 InvalidateRect(&highlight_bounds, false);
2449 } 2448 }
2450 } 2449 }
OLDNEW
« no previous file with comments | « base/gfx/skia_utils_mac.cc ('k') | chrome/browser/download/download_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698