| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 return accessibility_mode_; | 197 return accessibility_mode_; |
| 198 } | 198 } |
| 199 | 199 |
| 200 RendererAccessibility* renderer_accessibility() { | 200 RendererAccessibility* renderer_accessibility() { |
| 201 return renderer_accessibility_; | 201 return renderer_accessibility_; |
| 202 } | 202 } |
| 203 | 203 |
| 204 void HandleWebAccessibilityEvent(const blink::WebAXObject& obj, | 204 void HandleWebAccessibilityEvent(const blink::WebAXObject& obj, |
| 205 blink::WebAXEvent event); | 205 blink::WebAXEvent event); |
| 206 | 206 |
| 207 // The focused node changed to |node|. If focus was lost from this frame, |
| 208 // |node| will be null. |
| 209 void FocusedNodeChanged(const blink::WebNode& node); |
| 210 |
| 207 // TODO(dmazzoni): the only reason this is here is to plumb it through to | 211 // TODO(dmazzoni): the only reason this is here is to plumb it through to |
| 208 // RendererAccessibility. It should be part of RenderFrameObserver, once | 212 // RendererAccessibility. It should use the RenderFrameObserver method, once |
| 209 // blink has a separate accessibility tree per frame. | 213 // blink has a separate accessibility tree per frame. |
| 210 void FocusedNodeChanged(const blink::WebNode& node); | 214 void FocusedNodeChangedForAccessibility(const blink::WebNode& node); |
| 211 | 215 |
| 212 #if defined(ENABLE_PLUGINS) | 216 #if defined(ENABLE_PLUGINS) |
| 213 // Notification that a PPAPI plugin has been created. | 217 // Notification that a PPAPI plugin has been created. |
| 214 void PepperPluginCreated(RendererPpapiHost* host); | 218 void PepperPluginCreated(RendererPpapiHost* host); |
| 215 | 219 |
| 216 // Notifies that |instance| has changed the cursor. | 220 // Notifies that |instance| has changed the cursor. |
| 217 // This will update the cursor appearance if it is currently over the plugin | 221 // This will update the cursor appearance if it is currently over the plugin |
| 218 // instance. | 222 // instance. |
| 219 void PepperDidChangeCursor(PepperPluginInstanceImpl* instance, | 223 void PepperDidChangeCursor(PepperPluginInstanceImpl* instance, |
| 220 const blink::WebCursorInfo& cursor); | 224 const blink::WebCursorInfo& cursor); |
| (...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 #endif | 856 #endif |
| 853 | 857 |
| 854 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 858 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 855 | 859 |
| 856 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 860 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 857 }; | 861 }; |
| 858 | 862 |
| 859 } // namespace content | 863 } // namespace content |
| 860 | 864 |
| 861 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 865 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |