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; | |
55 struct FileChooserParams; | 54 struct FileChooserParams; |
56 struct GlobalRequestID; | 55 struct GlobalRequestID; |
57 struct NativeWebKeyboardEvent; | 56 struct NativeWebKeyboardEvent; |
58 struct Referrer; | 57 struct Referrer; |
59 struct RendererPreferences; | 58 struct RendererPreferences; |
60 struct WebPreferences; | 59 struct WebPreferences; |
61 | 60 |
62 // | 61 // |
63 // RenderViewHostDelegate | 62 // RenderViewHostDelegate |
64 // | 63 // |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 // Returns true if the RenderViewHost will never be visible. | 276 // Returns true if the RenderViewHost will never be visible. |
278 virtual bool IsNeverVisible(); | 277 virtual bool IsNeverVisible(); |
279 | 278 |
280 // Returns the FrameTree the render view should use. Guaranteed to be constant | 279 // Returns the FrameTree the render view should use. Guaranteed to be constant |
281 // for the lifetime of the render view. | 280 // for the lifetime of the render view. |
282 // | 281 // |
283 // TODO(ajwong): Remove once the main frame RenderFrameHost is no longer | 282 // TODO(ajwong): Remove once the main frame RenderFrameHost is no longer |
284 // created by the RenderViewHost. | 283 // created by the RenderViewHost. |
285 virtual FrameTree* GetFrameTree(); | 284 virtual FrameTree* GetFrameTree(); |
286 | 285 |
287 // Invoked when an accessibility event is received from the renderer. | |
288 virtual void AccessibilityEventReceived( | |
289 const std::vector<AXEventNotificationDetails>& details) {} | |
290 | |
291 protected: | 286 protected: |
292 virtual ~RenderViewHostDelegate() {} | 287 virtual ~RenderViewHostDelegate() {} |
293 }; | 288 }; |
294 | 289 |
295 } // namespace content | 290 } // namespace content |
296 | 291 |
297 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 292 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |