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

Side by Side Diff: Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 /* 1 /*
2 * Copyright (c) 2007, 2008, 2010 Google Inc. All rights reserved. 2 * Copyright (c) 2007, 2008, 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 26 matching lines...) Expand all
37 #include "platform/fonts/harfbuzz/HarfBuzzShaper.h" 37 #include "platform/fonts/harfbuzz/HarfBuzzShaper.h"
38 #include "platform/fonts/GlyphBuffer.h" 38 #include "platform/fonts/GlyphBuffer.h"
39 #include "platform/geometry/FloatRect.h" 39 #include "platform/geometry/FloatRect.h"
40 #include "platform/graphics/GraphicsContext.h" 40 #include "platform/graphics/GraphicsContext.h"
41 41
42 #include "SkPaint.h" 42 #include "SkPaint.h"
43 #include "SkTemplates.h" 43 #include "SkTemplates.h"
44 44
45 #include "wtf/unicode/Unicode.h" 45 #include "wtf/unicode/Unicode.h"
46 46
47 namespace WebCore { 47 namespace blink {
48 48
49 bool FontPlatformFeatures::canReturnFallbackFontsForComplexText() 49 bool FontPlatformFeatures::canReturnFallbackFontsForComplexText()
50 { 50 {
51 return false; 51 return false;
52 } 52 }
53 53
54 bool FontPlatformFeatures::canExpandAroundIdeographsInComplexText() 54 bool FontPlatformFeatures::canExpandAroundIdeographsInComplexText()
55 { 55 {
56 return false; 56 return false;
57 } 57 }
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 FloatRect Font::selectionRectForComplexText(const TextRun& run, 271 FloatRect Font::selectionRectForComplexText(const TextRun& run,
272 const FloatPoint& point, int height, 272 const FloatPoint& point, int height,
273 int from, int to) const 273 int from, int to) const
274 { 274 {
275 HarfBuzzShaper shaper(this, run); 275 HarfBuzzShaper shaper(this, run);
276 if (!shaper.shape()) 276 if (!shaper.shape())
277 return FloatRect(); 277 return FloatRect();
278 return shaper.selectionRect(point, height, from, to); 278 return shaper.selectionRect(point, height, from, to);
279 } 279 }
280 280
281 } // namespace WebCore 281 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/fonts/cocoa/FontPlatformDataCocoa.mm ('k') | Source/platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698