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

Side by Side Diff: third_party/WebKit/Source/core/editing/DOMSelection.h

Issue 2151323004: Calculate correct cull rect for SVG inline text boxes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Allow 8 pixels delta. Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 27 matching lines...) Expand all
38 #include "platform/heap/Handle.h" 38 #include "platform/heap/Handle.h"
39 #include "wtf/Forward.h" 39 #include "wtf/Forward.h"
40 40
41 namespace blink { 41 namespace blink {
42 42
43 class ExceptionState; 43 class ExceptionState;
44 class Node; 44 class Node;
45 class Range; 45 class Range;
46 class TreeScope; 46 class TreeScope;
47 47
48 class DOMSelection final : public GarbageCollected<DOMSelection>, public ScriptW rappable, public DOMWindowProperty { 48 class CORE_EXPORT DOMSelection final : public GarbageCollected<DOMSelection>, pu blic ScriptWrappable, public DOMWindowProperty {
49 DEFINE_WRAPPERTYPEINFO(); 49 DEFINE_WRAPPERTYPEINFO();
50 USING_GARBAGE_COLLECTED_MIXIN(DOMSelection); 50 USING_GARBAGE_COLLECTED_MIXIN(DOMSelection);
51 public: 51 public:
52 static DOMSelection* create(const TreeScope* treeScope) 52 static DOMSelection* create(const TreeScope* treeScope)
53 { 53 {
54 return new DOMSelection(treeScope); 54 return new DOMSelection(treeScope);
55 } 55 }
56 56
57 void clearTreeScope(); 57 void clearTreeScope();
58 58
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 bool isValidForPosition(Node*) const; 110 bool isValidForPosition(Node*) const;
111 111
112 void addConsoleError(const String& message); 112 void addConsoleError(const String& message);
113 113
114 Member<const TreeScope> m_treeScope; 114 Member<const TreeScope> m_treeScope;
115 }; 115 };
116 116
117 } // namespace blink 117 } // namespace blink
118 118
119 #endif // DOMSelection_h 119 #endif // DOMSelection_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698