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

Side by Side Diff: Source/core/dom/Document.h

Issue 1118613002: Hook up Android closed captions 'enabled' setting to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed comments from fs Created 5 years, 6 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "core/dom/TreeScope.h" 46 #include "core/dom/TreeScope.h"
47 #include "core/dom/UserActionElementSet.h" 47 #include "core/dom/UserActionElementSet.h"
48 #include "core/dom/ViewportDescription.h" 48 #include "core/dom/ViewportDescription.h"
49 #include "core/dom/custom/CustomElement.h" 49 #include "core/dom/custom/CustomElement.h"
50 #include "core/fetch/ClientHintsPreferences.h" 50 #include "core/fetch/ClientHintsPreferences.h"
51 #include "core/frame/DOMTimerCoordinator.h" 51 #include "core/frame/DOMTimerCoordinator.h"
52 #include "core/frame/LocalDOMWindow.h" 52 #include "core/frame/LocalDOMWindow.h"
53 #include "core/frame/OriginsUsingFeatures.h" 53 #include "core/frame/OriginsUsingFeatures.h"
54 #include "core/html/CollectionType.h" 54 #include "core/html/CollectionType.h"
55 #include "core/html/parser/ParserSynchronizationPolicy.h" 55 #include "core/html/parser/ParserSynchronizationPolicy.h"
56 #include "core/html/track/TextTrackKindUserPreference.h"
fs 2015/06/24 08:59:07 Don't appear to need this (anymore)
srivats 2015/07/02 01:41:20 Done.
56 #include "core/page/PageVisibilityState.h" 57 #include "core/page/PageVisibilityState.h"
57 #include "platform/Length.h" 58 #include "platform/Length.h"
58 #include "platform/Timer.h" 59 #include "platform/Timer.h"
59 #include "platform/heap/Handle.h" 60 #include "platform/heap/Handle.h"
60 #include "platform/weborigin/KURL.h" 61 #include "platform/weborigin/KURL.h"
61 #include "platform/weborigin/ReferrerPolicy.h" 62 #include "platform/weborigin/ReferrerPolicy.h"
62 #include "public/platform/WebFocusType.h" 63 #include "public/platform/WebFocusType.h"
63 #include "wtf/HashSet.h" 64 #include "wtf/HashSet.h"
64 #include "wtf/OwnPtr.h" 65 #include "wtf/OwnPtr.h"
65 #include "wtf/PassOwnPtr.h" 66 #include "wtf/PassOwnPtr.h"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 static PassRefPtrWillBeRawPtr<Document> create(const DocumentInit& initializ er = DocumentInit()) 232 static PassRefPtrWillBeRawPtr<Document> create(const DocumentInit& initializ er = DocumentInit())
232 { 233 {
233 return adoptRefWillBeNoop(new Document(initializer)); 234 return adoptRefWillBeNoop(new Document(initializer));
234 } 235 }
235 virtual ~Document(); 236 virtual ~Document();
236 237
237 MediaQueryMatcher& mediaQueryMatcher(); 238 MediaQueryMatcher& mediaQueryMatcher();
238 239
239 void mediaQueryAffectingValueChanged(); 240 void mediaQueryAffectingValueChanged();
240 241
242 void textTrackKindUserPreferenceChanged();
philipj_slow 2015/06/24 09:54:20 Given how it's implemented, it ought to be possibl
srivats 2015/07/02 01:41:20 Done.
243
241 #if !ENABLE(OILPAN) 244 #if !ENABLE(OILPAN)
242 using ContainerNode::ref; 245 using ContainerNode::ref;
243 using ContainerNode::deref; 246 using ContainerNode::deref;
244 #endif 247 #endif
245 using SecurityContext::securityOrigin; 248 using SecurityContext::securityOrigin;
246 using SecurityContext::contentSecurityPolicy; 249 using SecurityContext::contentSecurityPolicy;
247 using TreeScope::getElementById; 250 using TreeScope::getElementById;
248 251
249 virtual bool canContainRangeEndPoint() const override { return true; } 252 virtual bool canContainRangeEndPoint() const override { return true; }
250 253
(...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after
1440 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1443 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1441 1444
1442 } // namespace blink 1445 } // namespace blink
1443 1446
1444 #ifndef NDEBUG 1447 #ifndef NDEBUG
1445 // Outside the WebCore namespace for ease of invocation from gdb. 1448 // Outside the WebCore namespace for ease of invocation from gdb.
1446 CORE_EXPORT void showLiveDocumentInstances(); 1449 CORE_EXPORT void showLiveDocumentInstances();
1447 #endif 1450 #endif
1448 1451
1449 #endif // Document_h 1452 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698