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

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

Issue 852083002: Propagate focus type to plugins (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moved Created 5 years, 11 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
« no previous file with comments | « no previous file | Source/core/dom/Document.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) 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "core/dom/MutationObserver.h" 42 #include "core/dom/MutationObserver.h"
43 #include "core/dom/TextLinkColors.h" 43 #include "core/dom/TextLinkColors.h"
44 #include "core/dom/TreeScope.h" 44 #include "core/dom/TreeScope.h"
45 #include "core/dom/UserActionElementSet.h" 45 #include "core/dom/UserActionElementSet.h"
46 #include "core/dom/ViewportDescription.h" 46 #include "core/dom/ViewportDescription.h"
47 #include "core/dom/custom/CustomElement.h" 47 #include "core/dom/custom/CustomElement.h"
48 #include "core/frame/DOMTimerCoordinator.h" 48 #include "core/frame/DOMTimerCoordinator.h"
49 #include "core/frame/LocalDOMWindow.h" 49 #include "core/frame/LocalDOMWindow.h"
50 #include "core/html/CollectionType.h" 50 #include "core/html/CollectionType.h"
51 #include "core/html/parser/ParserSynchronizationPolicy.h" 51 #include "core/html/parser/ParserSynchronizationPolicy.h"
52 #include "core/page/FocusType.h"
53 #include "core/page/PageVisibilityState.h" 52 #include "core/page/PageVisibilityState.h"
54 #include "platform/Length.h" 53 #include "platform/Length.h"
55 #include "platform/Timer.h" 54 #include "platform/Timer.h"
56 #include "platform/heap/Handle.h" 55 #include "platform/heap/Handle.h"
57 #include "platform/weborigin/KURL.h" 56 #include "platform/weborigin/KURL.h"
58 #include "platform/weborigin/ReferrerPolicy.h" 57 #include "platform/weborigin/ReferrerPolicy.h"
58 #include "public/platform/WebFocusType.h"
59 #include "wtf/HashSet.h" 59 #include "wtf/HashSet.h"
60 #include "wtf/OwnPtr.h" 60 #include "wtf/OwnPtr.h"
61 #include "wtf/PassOwnPtr.h" 61 #include "wtf/PassOwnPtr.h"
62 #include "wtf/PassRefPtr.h" 62 #include "wtf/PassRefPtr.h"
63 #include "wtf/WeakPtr.h" 63 #include "wtf/WeakPtr.h"
64 64
65 namespace blink { 65 namespace blink {
66 66
67 class AnimationTimeline; 67 class AnimationTimeline;
68 class AXObjectCache; 68 class AXObjectCache;
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const LayoutPoint&, const PlatformMouseEvent&); 611 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const LayoutPoint&, const PlatformMouseEvent&);
612 612
613 /* Newly proposed CSS3 mechanism for selecting alternate 613 /* Newly proposed CSS3 mechanism for selecting alternate
614 stylesheets using the DOM. May be subject to change as 614 stylesheets using the DOM. May be subject to change as
615 spec matures. - dwh 615 spec matures. - dwh
616 */ 616 */
617 String preferredStylesheetSet() const; 617 String preferredStylesheetSet() const;
618 String selectedStylesheetSet() const; 618 String selectedStylesheetSet() const;
619 void setSelectedStylesheetSet(const String&); 619 void setSelectedStylesheetSet(const String&);
620 620
621 bool setFocusedElement(PassRefPtrWillBeRawPtr<Element>, FocusType = FocusTyp eNone); 621 bool setFocusedElement(PassRefPtrWillBeRawPtr<Element>, WebFocusType = WebFo cusTypeNone);
622 Element* focusedElement() const { return m_focusedElement.get(); } 622 Element* focusedElement() const { return m_focusedElement.get(); }
623 UserActionElementSet& userActionElements() { return m_userActionElements; } 623 UserActionElementSet& userActionElements() { return m_userActionElements; }
624 const UserActionElementSet& userActionElements() const { return m_userAction Elements; } 624 const UserActionElementSet& userActionElements() const { return m_userAction Elements; }
625 void setNeedsFocusedElementCheck(); 625 void setNeedsFocusedElementCheck();
626 void setAutofocusElement(Element*); 626 void setAutofocusElement(Element*);
627 Element* autofocusElement() const { return m_autofocusElement.get(); } 627 Element* autofocusElement() const { return m_autofocusElement.get(); }
628 628
629 void setActiveHoverElement(PassRefPtrWillBeRawPtr<Element>); 629 void setActiveHoverElement(PassRefPtrWillBeRawPtr<Element>);
630 Element* activeHoverElement() const { return m_activeHoverElement.get(); } 630 Element* activeHoverElement() const { return m_activeHoverElement.get(); }
631 631
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
1431 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1431 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1432 1432
1433 } // namespace blink 1433 } // namespace blink
1434 1434
1435 #ifndef NDEBUG 1435 #ifndef NDEBUG
1436 // Outside the WebCore namespace for ease of invocation from gdb. 1436 // Outside the WebCore namespace for ease of invocation from gdb.
1437 void showLiveDocumentInstances(); 1437 void showLiveDocumentInstances();
1438 #endif 1438 #endif
1439 1439
1440 #endif // Document_h 1440 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698