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

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

Issue 46039: Removed unneeded includes of base/scoped_ptr.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc ('k') | chrome/browser/browser.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/browser/autocomplete/autocomplete_popup_view_win.h" 5 #include "chrome/browser/autocomplete/autocomplete_popup_view_win.h"
6 6
7 // TODO(deanm): Clean up these includes, not going to fight it now. 7 // TODO(deanm): Clean up these includes, not going to fight it now.
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
11 #include <atlmisc.h> 11 #include <atlmisc.h>
12 #include <cmath> 12 #include <cmath>
13 13
14 #include "base/scoped_ptr.h"
15 #include "base/string_util.h" 14 #include "base/string_util.h"
16 #include "base/win_util.h" 15 #include "base/win_util.h"
17 #include "chrome/browser/autocomplete/autocomplete.h" 16 #include "chrome/browser/autocomplete/autocomplete.h"
18 #include "chrome/browser/autocomplete/autocomplete_edit.h" 17 #include "chrome/browser/autocomplete/autocomplete_edit.h"
19 #include "chrome/browser/autocomplete/autocomplete_popup_model.h" 18 #include "chrome/browser/autocomplete/autocomplete_popup_model.h"
20 #include "chrome/browser/browser_process.h" 19 #include "chrome/browser/browser_process.h"
21 #include "chrome/browser/net/dns_global.h" 20 #include "chrome/browser/net/dns_global.h"
22 #include "chrome/browser/profile.h" 21 #include "chrome/browser/profile.h"
23 #include "chrome/browser/search_engines/template_url.h" 22 #include "chrome/browser/search_engines/template_url.h"
24 #include "chrome/browser/search_engines/template_url_model.h" 23 #include "chrome/browser/search_engines/template_url_model.h"
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 } 656 }
658 657
659 void AutocompletePopupViewWin::DrawStar(HDC dc, int x, int y) const { 658 void AutocompletePopupViewWin::DrawStar(HDC dc, int x, int y) const {
660 ChromeCanvas canvas(star_->width(), star_->height(), false); 659 ChromeCanvas canvas(star_->width(), star_->height(), false);
661 // Make the background completely transparent. 660 // Make the background completely transparent.
662 canvas.drawColor(SK_ColorBLACK, SkPorterDuff::kClear_Mode); 661 canvas.drawColor(SK_ColorBLACK, SkPorterDuff::kClear_Mode);
663 canvas.DrawBitmapInt(*star_, 0, 0); 662 canvas.DrawBitmapInt(*star_, 0, 0);
664 canvas.getTopPlatformDevice().drawToHDC( 663 canvas.getTopPlatformDevice().drawToHDC(
665 dc, mirroring_context_->GetLeft(x, x + star_->width()), y, NULL); 664 dc, mirroring_context_->GetLeft(x, x + star_->width()), y, NULL);
666 } 665 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc ('k') | chrome/browser/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698