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

Side by Side Diff: public/web/WebFrame.h

Issue 495763005: Switch to using accessibilityEnabled and inlineTextBoxAccessibilityEnabled from settings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make WebAXObject methods noops Created 6 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 // For a WebFrame with contents being rendered in another process, this 147 // For a WebFrame with contents being rendered in another process, this
148 // sets a layer for use by the in-process compositor. WebLayer should be 148 // sets a layer for use by the in-process compositor. WebLayer should be
149 // null if the content is being rendered in the current process. 149 // null if the content is being rendered in the current process.
150 virtual void setRemoteWebLayer(WebLayer*) = 0; 150 virtual void setRemoteWebLayer(WebLayer*) = 0;
151 151
152 // Initializes the various client interfaces. 152 // Initializes the various client interfaces.
153 virtual void setPermissionClient(WebPermissionClient*) = 0; 153 virtual void setPermissionClient(WebPermissionClient*) = 0;
154 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient *) = 0; 154 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient *) = 0;
155 155
156 virtual void setAccessibilityEnabled(bool) = 0;
157 virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0;
abarth-chromium 2014/08/23 05:59:11 These aren't needed. You should put these on WebS
aboxhall 2014/08/27 15:26:33 Done.
156 158
157 // Geometry ----------------------------------------------------------- 159 // Geometry -----------------------------------------------------------
158 160
159 // NOTE: These routines do not force page layout so their results may 161 // NOTE: These routines do not force page layout so their results may
160 // not be accurate if the page layout is out-of-date. 162 // not be accurate if the page layout is out-of-date.
161 163
162 // If set to false, do not draw scrollbars on this frame's view. 164 // If set to false, do not draw scrollbars on this frame's view.
163 virtual void setCanHaveScrollbars(bool) = 0; 165 virtual void setCanHaveScrollbars(bool) = 0;
164 166
165 // The scroll offset from the top-left corner of the frame in pixels. 167 // The scroll offset from the top-left corner of the frame in pixels.
166 virtual WebSize scrollOffset() const = 0; 168 virtual WebSize scrollOffset() const = 0;
167 virtual void setScrollOffset(const WebSize&) = 0; 169 virtual void setScrollOffset(const WebSize&) = 0;
168 170
169 // The minimum and maxium scroll positions in pixels. 171 // The minimum and maxium scroll positions in pixels.
170 virtual WebSize minimumScrollOffset() const = 0; 172 virtual WebSize minimumScrollOffset() const = 0;
171 virtual WebSize maximumScrollOffset() const = 0; 173 virtual WebSize maximumScrollOffset() const = 0;
172 174
173 // The size of the contents area. 175 // The size of the contents area.
174 virtual WebSize contentsSize() const = 0; 176 virtual WebSize contentsSize() const = 0;
175 177
176 // Returns true if the contents (minus scrollbars) has non-zero area. 178 // Returns true if the contents (minus scrollbars) has non-zero area.
177 virtual bool hasVisibleContent() const = 0; 179 virtual bool hasVisibleContent() const = 0;
178 180
179 // Returns the visible content rect (minus scrollbars, in absolute coordinat e) 181 // Returns the visible content rect (minus scrollbars, in absolute coordinat e)
180 virtual WebRect visibleContentRect() const = 0; 182 virtual WebRect visibleContentRect() const = 0;
181 183
182 virtual bool hasHorizontalScrollbar() const = 0; 184 virtual bool hasHorizontalScrollbar() const = 0;
183 virtual bool hasVerticalScrollbar() const = 0; 185 virtual bool hasVerticalScrollbar() const = 0;
184 186
185
186 // Hierarchy ---------------------------------------------------------- 187 // Hierarchy ----------------------------------------------------------
187 188
188 // Returns the containing view. 189 // Returns the containing view.
189 virtual WebView* view() const = 0; 190 virtual WebView* view() const = 0;
190 191
191 // Returns the frame that opened this frame or 0 if there is none. 192 // Returns the frame that opened this frame or 0 if there is none.
192 BLINK_EXPORT WebFrame* opener() const; 193 BLINK_EXPORT WebFrame* opener() const;
193 194
194 // Sets the frame that opened this one or 0 if there is none. 195 // Sets the frame that opened this one or 0 if there is none.
195 virtual void setOpener(WebFrame*); 196 virtual void setOpener(WebFrame*);
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; 695 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker;
695 }; 696 };
696 697
697 #if BLINK_IMPLEMENTATION 698 #if BLINK_IMPLEMENTATION
698 Frame* toWebCoreFrame(const WebFrame*); 699 Frame* toWebCoreFrame(const WebFrame*);
699 #endif 700 #endif
700 701
701 } // namespace blink 702 } // namespace blink
702 703
703 #endif 704 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698