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

Side by Side Diff: chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc

Issue 6676030: WinDDK ATL and MSVC express compatability (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Address OS_WIN ifdefs in source files; update to 78547 and fix merge conflict Created 9 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/ui/views/about_ipc_dialog.h ('k') | chrome/default_plugin/install_dialog.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/ui/views/autocomplete/autocomplete_result_view.h" 5 #include "chrome/browser/ui/views/autocomplete/autocomplete_result_view.h"
6 6
7 #if defined(OS_WIN)
Mark Mentovai 2011/03/17 16:54:18 http://www.chromium.org/developers/coding-style:
RN 2011/03/17 20:15:11 Actually, that's what half (or more, may as well n
8 #include <atlbase.h>
9 #include <atlwin.h>
10 #endif
11
7 #include "base/i18n/bidi_line_iterator.h" 12 #include "base/i18n/bidi_line_iterator.h"
8 #include "chrome/browser/ui/views/autocomplete/autocomplete_result_view_model.h" 13 #include "chrome/browser/ui/views/autocomplete/autocomplete_result_view_model.h"
9 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" 14 #include "chrome/browser/ui/views/location_bar/location_bar_view.h"
10 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
11 #include "grit/theme_resources.h" 16 #include "grit/theme_resources.h"
12 #include "ui/base/l10n/l10n_util.h" 17 #include "ui/base/l10n/l10n_util.h"
13 #include "ui/base/resource/resource_bundle.h" 18 #include "ui/base/resource/resource_bundle.h"
14 #include "ui/base/text/text_elider.h" 19 #include "ui/base/text/text_elider.h"
15 #include "ui/gfx/canvas_skia.h" 20 #include "ui/gfx/canvas_skia.h"
16 #include "ui/gfx/color_utils.h" 21 #include "ui/gfx/color_utils.h"
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 // * It's normal, and will be able to draw successfully with the 494 // * It's normal, and will be able to draw successfully with the
490 // ellipsis we'll append to it, or 495 // ellipsis we'll append to it, or
491 // * It is also bold, in which case we don't want to fall back 496 // * It is also bold, in which case we don't want to fall back
492 // to a normal ellipsis anyway (see comment above). 497 // to a normal ellipsis anyway (see comment above).
493 } 498 }
494 } 499 }
495 500
496 // We couldn't draw anything. 501 // We couldn't draw anything.
497 runs->clear(); 502 runs->clear();
498 } 503 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/about_ipc_dialog.h ('k') | chrome/default_plugin/install_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698