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

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

Issue 966883002: renderer/RenderMenuList.* -> layout/LayoutMenuList.* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove OWNERS, allowing Source/core/rendering to be deleted. Created 5 years, 9 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 | « Source/core/core.gypi ('k') | Source/core/html/HTMLSelectElement.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) 2003, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010, 2011 Apple 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 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 15 matching lines...) Expand all
26 #ifndef AXObjectCache_h 26 #ifndef AXObjectCache_h
27 #define AXObjectCache_h 27 #define AXObjectCache_h
28 28
29 #include "core/dom/Document.h" 29 #include "core/dom/Document.h"
30 30
31 typedef unsigned AXID; 31 typedef unsigned AXID;
32 32
33 namespace blink { 33 namespace blink {
34 class AXObject; 34 class AXObject;
35 class FrameView; 35 class FrameView;
36 class LayoutMenuList;
36 class Page; 37 class Page;
37 class RenderMenuList;
38 class Widget; 38 class Widget;
39 39
40 class AXObjectCache { 40 class AXObjectCache {
41 WTF_MAKE_NONCOPYABLE(AXObjectCache); WTF_MAKE_FAST_ALLOCATED; 41 WTF_MAKE_NONCOPYABLE(AXObjectCache); WTF_MAKE_FAST_ALLOCATED;
42 public: 42 public:
43 static AXObjectCache* create(Document&); 43 static AXObjectCache* create(Document&);
44 44
45 static AXObject* focusedUIElementForPage(const Page*); 45 static AXObject* focusedUIElementForPage(const Page*);
46 46
47 virtual ~AXObjectCache(); 47 virtual ~AXObjectCache();
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 virtual void textChanged(LayoutObject*) = 0; 93 virtual void textChanged(LayoutObject*) = 0;
94 // Called when a node has just been attached, so we can make sure we have th e right subclass of AXObject. 94 // Called when a node has just been attached, so we can make sure we have th e right subclass of AXObject.
95 virtual void updateCacheAfterNodeIsAttached(Node*) = 0; 95 virtual void updateCacheAfterNodeIsAttached(Node*) = 0;
96 96
97 virtual void handleAttributeChanged(const QualifiedName& attrName, Element*) = 0; 97 virtual void handleAttributeChanged(const QualifiedName& attrName, Element*) = 0;
98 virtual void handleFocusedUIElementChanged(Node* oldFocusedNode, Node* newFo cusedNode) = 0; 98 virtual void handleFocusedUIElementChanged(Node* oldFocusedNode, Node* newFo cusedNode) = 0;
99 virtual void handleInitialFocus() = 0; 99 virtual void handleInitialFocus() = 0;
100 virtual void handleEditableTextContentChanged(Node*) = 0; 100 virtual void handleEditableTextContentChanged(Node*) = 0;
101 virtual void handleTextFormControlChanged(Node*) = 0; 101 virtual void handleTextFormControlChanged(Node*) = 0;
102 virtual void handleValueChanged(Node*) = 0; 102 virtual void handleValueChanged(Node*) = 0;
103 virtual void handleUpdateActiveMenuOption(RenderMenuList*, int optionIndex) = 0; 103 virtual void handleUpdateActiveMenuOption(LayoutMenuList*, int optionIndex) = 0;
104 virtual void handleLoadComplete(Document*) = 0; 104 virtual void handleLoadComplete(Document*) = 0;
105 virtual void handleLayoutComplete(Document*) = 0; 105 virtual void handleLayoutComplete(Document*) = 0;
106 106
107 virtual void setCanvasObjectBounds(Element*, const LayoutRect&) = 0; 107 virtual void setCanvasObjectBounds(Element*, const LayoutRect&) = 0;
108 108
109 virtual void clearWeakMembers(Visitor*) = 0; 109 virtual void clearWeakMembers(Visitor*) = 0;
110 110
111 virtual void inlineTextBoxesUpdated(LayoutObject* renderer) = 0; 111 virtual void inlineTextBoxesUpdated(LayoutObject* renderer) = 0;
112 112
113 // Called when the scroll offset changes. 113 // Called when the scroll offset changes.
(...skipping 29 matching lines...) Expand all
143 143
144 private: 144 private:
145 Document& m_document; 145 Document& m_document;
146 AXObjectCache* m_cache; 146 AXObjectCache* m_cache;
147 bool m_isScoped; 147 bool m_isScoped;
148 }; 148 };
149 149
150 } 150 }
151 151
152 #endif 152 #endif
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698