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

Side by Side Diff: Source/modules/canvas2d/CanvasRenderingContext2D.h

Issue 1240663002: Canvas2d: Remove the updateAccessibility() method in HitRegion class. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | Source/modules/canvas2d/CanvasRenderingContext2D.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv ed.
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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 bool rectContainsTransformedRect(const FloatRect&, const SkIRect&) const; 262 bool rectContainsTransformedRect(const FloatRect&, const SkIRect&) const;
263 263
264 void inflateStrokeRect(FloatRect&) const; 264 void inflateStrokeRect(FloatRect&) const;
265 265
266 template<typename DrawFunc> 266 template<typename DrawFunc>
267 void compositedDraw(const DrawFunc&, CanvasRenderingContext2DState::PaintTyp e, CanvasRenderingContext2DState::ImageType); 267 void compositedDraw(const DrawFunc&, CanvasRenderingContext2DState::PaintTyp e, CanvasRenderingContext2DState::ImageType);
268 268
269 void drawFocusIfNeededInternal(const Path&, Element*); 269 void drawFocusIfNeededInternal(const Path&, Element*);
270 bool focusRingCallIsValid(const Path&, Element*); 270 bool focusRingCallIsValid(const Path&, Element*);
271 void drawFocusRing(const Path&); 271 void drawFocusRing(const Path&);
272 void updateFocusRingElementAccessibility(const Path&, Element*); 272 void updateElementAccessibility(const Path&, Element*);
273 273
274 void validateStateStack(); 274 void validateStateStack();
275 275
276 enum DrawType { 276 enum DrawType {
277 ClipFill, // Fill that is already known to cover the current clip 277 ClipFill, // Fill that is already known to cover the current clip
278 UntransformedUnclippedFill 278 UntransformedUnclippedFill
279 }; 279 };
280 280
281 void checkOverdraw(const SkRect&, const SkPaint*, CanvasRenderingContext2DSt ate::ImageType, DrawType); 281 void checkOverdraw(const SkRect&, const SkPaint*, CanvasRenderingContext2DSt ate::ImageType, DrawType);
282 282
(...skipping 19 matching lines...) Expand all
302 Timer<CanvasRenderingContext2D> m_dispatchContextLostEventTimer; 302 Timer<CanvasRenderingContext2D> m_dispatchContextLostEventTimer;
303 Timer<CanvasRenderingContext2D> m_dispatchContextRestoredEventTimer; 303 Timer<CanvasRenderingContext2D> m_dispatchContextRestoredEventTimer;
304 Timer<CanvasRenderingContext2D> m_tryRestoreContextEventTimer; 304 Timer<CanvasRenderingContext2D> m_tryRestoreContextEventTimer;
305 }; 305 };
306 306
307 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, CanvasRenderingContext, context, con text->is2d(), context.is2d()); 307 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, CanvasRenderingContext, context, con text->is2d(), context.is2d());
308 308
309 } // namespace blink 309 } // namespace blink
310 310
311 #endif // CanvasRenderingContext2D_h 311 #endif // CanvasRenderingContext2D_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/canvas2d/CanvasRenderingContext2D.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698