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

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

Issue 109043: Move l10n_util to app/ (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
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 <dwmapi.h> 7 #include <dwmapi.h>
8 8
9 #include "app/l10n_util.h"
9 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
10 #include "chrome/browser/autocomplete/autocomplete_edit_view_win.h" 11 #include "chrome/browser/autocomplete/autocomplete_edit_view_win.h"
11 #include "chrome/browser/autocomplete/autocomplete_popup_model.h" 12 #include "chrome/browser/autocomplete/autocomplete_popup_model.h"
12 #include "chrome/browser/views/autocomplete/autocomplete_popup_win.h" 13 #include "chrome/browser/views/autocomplete/autocomplete_popup_win.h"
13 #include "chrome/common/gfx/chrome_canvas.h" 14 #include "chrome/common/gfx/chrome_canvas.h"
14 #include "chrome/common/gfx/color_utils.h" 15 #include "chrome/common/gfx/color_utils.h"
15 #include "chrome/common/gfx/insets.h" 16 #include "chrome/common/gfx/insets.h"
16 #include "chrome/common/gfx/path.h" 17 #include "chrome/common/gfx/path.h"
17 #include "chrome/common/l10n_util.h"
18 #include "chrome/common/win_util.h" 18 #include "chrome/common/win_util.h"
19 #include "chrome/views/widget/widget.h" 19 #include "chrome/views/widget/widget.h"
20 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
21 #include "grit/theme_resources.h" 21 #include "grit/theme_resources.h"
22 #include "skia/include/SkShader.h" 22 #include "skia/include/SkShader.h"
23 #include "third_party/icu38/public/common/unicode/ubidi.h" 23 #include "third_party/icu38/public/common/unicode/ubidi.h"
24 24
25 // Colors for various components of the view. 25 // Colors for various components of the view.
26 static const SkColor kBackgroundColor = 26 static const SkColor kBackgroundColor =
27 color_utils::GetSysSkColor(COLOR_WINDOW); 27 color_utils::GetSysSkColor(COLOR_WINDOW);
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 void AutocompletePopupContentsView::MakeCanvasTransparent( 795 void AutocompletePopupContentsView::MakeCanvasTransparent(
796 ChromeCanvas* canvas) { 796 ChromeCanvas* canvas) {
797 // Allow the window blur effect to show through the popup background. 797 // Allow the window blur effect to show through the popup background.
798 SkPaint paint; 798 SkPaint paint;
799 paint.setColor(SkColorSetARGB(kPopupTransparency, 255, 255, 255)); 799 paint.setColor(SkColorSetARGB(kPopupTransparency, 255, 255, 255));
800 paint.setPorterDuffXfermode(SkPorterDuff::kDstIn_Mode); 800 paint.setPorterDuffXfermode(SkPorterDuff::kDstIn_Mode);
801 paint.setStyle(SkPaint::kFill_Style); 801 paint.setStyle(SkPaint::kFill_Style);
802 canvas->FillRectInt(0, 0, canvas->getDevice()->width(), 802 canvas->FillRectInt(0, 0, canvas->getDevice()->width(),
803 canvas->getDevice()->height(), paint); 803 canvas->getDevice()->height(), paint);
804 } 804 }
OLDNEW
« no previous file with comments | « chrome/browser/views/about_chrome_view.cc ('k') | chrome/browser/views/blocked_popup_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698