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

Side by Side Diff: chrome/browser/views/autocomplete/autocomplete_popup_contents_view.cc

Issue 115309: Remove even more ATL dependencies. (Closed) Base URL: svn://svn.chromium.org/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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #include "chrome/browser/views/autocomplete/autocomplete_popup_contents_view.h" 5 #include "chrome/browser/views/autocomplete/autocomplete_popup_contents_view.h"
6 6
7 #include <objidl.h>
8 #include <commctrl.h>
7 #include <dwmapi.h> 9 #include <dwmapi.h>
8 10
9 #include "app/gfx/chrome_canvas.h" 11 #include "app/gfx/chrome_canvas.h"
10 #include "app/gfx/color_utils.h" 12 #include "app/gfx/color_utils.h"
11 #include "app/gfx/insets.h" 13 #include "app/gfx/insets.h"
12 #include "app/gfx/path.h" 14 #include "app/gfx/path.h"
13 #include "app/l10n_util.h" 15 #include "app/l10n_util.h"
14 #include "app/resource_bundle.h" 16 #include "app/resource_bundle.h"
15 #include "app/win_util.h" 17 #include "app/win_util.h"
16 #include "chrome/browser/autocomplete/autocomplete_edit_view_win.h" 18 #include "chrome/browser/autocomplete/autocomplete_edit_view_win.h"
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 // Allow the window blur effect to show through the popup background. 861 // Allow the window blur effect to show through the popup background.
860 SkPaint paint; 862 SkPaint paint;
861 SkColor transparency = win_util::ShouldUseVistaFrame() ? 863 SkColor transparency = win_util::ShouldUseVistaFrame() ?
862 kGlassPopupTransparency : kOpaquePopupTransparency; 864 kGlassPopupTransparency : kOpaquePopupTransparency;
863 paint.setColor(SkColorSetARGB(transparency, 255, 255, 255)); 865 paint.setColor(SkColorSetARGB(transparency, 255, 255, 255));
864 paint.setPorterDuffXfermode(SkPorterDuff::kDstIn_Mode); 866 paint.setPorterDuffXfermode(SkPorterDuff::kDstIn_Mode);
865 paint.setStyle(SkPaint::kFill_Style); 867 paint.setStyle(SkPaint::kFill_Style);
866 canvas->FillRectInt(0, 0, canvas->getDevice()->width(), 868 canvas->FillRectInt(0, 0, canvas->getDevice()->width(),
867 canvas->getDevice()->height(), paint); 869 canvas->getDevice()->height(), paint);
868 } 870 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_view_win.h ('k') | chrome/browser/views/bookmark_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698