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

Side by Side Diff: third_party/WebKit/Source/web/WebFontImpl.h

Issue 1508223005: Client side display item cache flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Created 5 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 int calculateWidth(const WebTextRun&) const override; 57 int calculateWidth(const WebTextRun&) const override;
58 int offsetForPosition(const WebTextRun&, float position) const override; 58 int offsetForPosition(const WebTextRun&, float position) const override;
59 WebFloatRect selectionRectForText(const WebTextRun&, const WebFloatPoint& le ftBaseline, 59 WebFloatRect selectionRectForText(const WebTextRun&, const WebFloatPoint& le ftBaseline,
60 int height, int from = 0, int to = -1) const override; 60 int height, int from = 0, int to = -1) const override;
61 61
62 String debugName() const final { return "WebFontImpl"; } 62 String debugName() const final { return "WebFontImpl"; }
63 IntRect visualRect() const override; 63 IntRect visualRect() const override;
64 64
65 private: 65 private:
66 DISPLAY_ITEM_CACHE_STATUS_UNCACHEABLE_IMPLEMENTATION
66 Font m_font; 67 Font m_font;
67 }; 68 };
68 69
69 } // namespace blink 70 } // namespace blink
70 71
71 #endif 72 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698