OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 class BrowserContext; | 44 class BrowserContext; |
45 class CrossSiteTransferringRequest; | 45 class CrossSiteTransferringRequest; |
46 class FrameTree; | 46 class FrameTree; |
47 class PageState; | 47 class PageState; |
48 class RenderViewHost; | 48 class RenderViewHost; |
49 class RenderViewHostDelegateView; | 49 class RenderViewHostDelegateView; |
50 class SessionStorageNamespace; | 50 class SessionStorageNamespace; |
51 class SiteInstance; | 51 class SiteInstance; |
52 class WebContents; | 52 class WebContents; |
53 class WebContentsImpl; | 53 class WebContentsImpl; |
| 54 struct AXEventNotificationDetails; |
54 struct FileChooserParams; | 55 struct FileChooserParams; |
55 struct GlobalRequestID; | 56 struct GlobalRequestID; |
56 struct NativeWebKeyboardEvent; | 57 struct NativeWebKeyboardEvent; |
57 struct Referrer; | 58 struct Referrer; |
58 struct RendererPreferences; | 59 struct RendererPreferences; |
59 struct WebPreferences; | 60 struct WebPreferences; |
60 | 61 |
61 // | 62 // |
62 // RenderViewHostDelegate | 63 // RenderViewHostDelegate |
63 // | 64 // |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 // Returns true if the RenderViewHost will never be visible. | 277 // Returns true if the RenderViewHost will never be visible. |
277 virtual bool IsNeverVisible(); | 278 virtual bool IsNeverVisible(); |
278 | 279 |
279 // Returns the FrameTree the render view should use. Guaranteed to be constant | 280 // Returns the FrameTree the render view should use. Guaranteed to be constant |
280 // for the lifetime of the render view. | 281 // for the lifetime of the render view. |
281 // | 282 // |
282 // TODO(ajwong): Remove once the main frame RenderFrameHost is no longer | 283 // TODO(ajwong): Remove once the main frame RenderFrameHost is no longer |
283 // created by the RenderViewHost. | 284 // created by the RenderViewHost. |
284 virtual FrameTree* GetFrameTree(); | 285 virtual FrameTree* GetFrameTree(); |
285 | 286 |
| 287 // Invoked when an accessibility event is received from the renderer. |
| 288 virtual void AccessibilityEventReceived( |
| 289 const std::vector<AXEventNotificationDetails>& details) {} |
| 290 |
286 protected: | 291 protected: |
287 virtual ~RenderViewHostDelegate() {} | 292 virtual ~RenderViewHostDelegate() {} |
288 }; | 293 }; |
289 | 294 |
290 } // namespace content | 295 } // namespace content |
291 | 296 |
292 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 297 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |