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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 class BrowserContext; | 47 class BrowserContext; |
48 class CrossSiteTransferringRequest; | 48 class CrossSiteTransferringRequest; |
49 class FrameTree; | 49 class FrameTree; |
50 class PageState; | 50 class PageState; |
51 class RenderViewHost; | 51 class RenderViewHost; |
52 class RenderViewHostDelegateView; | 52 class RenderViewHostDelegateView; |
53 class SessionStorageNamespace; | 53 class SessionStorageNamespace; |
54 class SiteInstance; | 54 class SiteInstance; |
55 class WebContents; | 55 class WebContents; |
56 class WebContentsImpl; | 56 class WebContentsImpl; |
57 struct AXEventNotificationDetails; | |
58 struct FileChooserParams; | 57 struct FileChooserParams; |
59 struct GlobalRequestID; | 58 struct GlobalRequestID; |
60 struct NativeWebKeyboardEvent; | 59 struct NativeWebKeyboardEvent; |
61 struct Referrer; | 60 struct Referrer; |
62 struct RendererPreferences; | 61 struct RendererPreferences; |
63 | 62 |
64 // | 63 // |
65 // RenderViewHostDelegate | 64 // RenderViewHostDelegate |
66 // | 65 // |
67 // An interface implemented by an object interested in knowing about the state | 66 // An interface implemented by an object interested in knowing about the state |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 // Returns true if the RenderViewHost will never be visible. | 296 // Returns true if the RenderViewHost will never be visible. |
298 virtual bool IsNeverVisible(); | 297 virtual bool IsNeverVisible(); |
299 | 298 |
300 // Returns the FrameTree the render view should use. Guaranteed to be constant | 299 // Returns the FrameTree the render view should use. Guaranteed to be constant |
301 // for the lifetime of the render view. | 300 // for the lifetime of the render view. |
302 // | 301 // |
303 // TODO(ajwong): Remove once the main frame RenderFrameHost is no longer | 302 // TODO(ajwong): Remove once the main frame RenderFrameHost is no longer |
304 // created by the RenderViewHost. | 303 // created by the RenderViewHost. |
305 virtual FrameTree* GetFrameTree(); | 304 virtual FrameTree* GetFrameTree(); |
306 | 305 |
307 // Invoked when an accessibility event is received from the renderer. | |
308 virtual void AccessibilityEventReceived( | |
309 const std::vector<AXEventNotificationDetails>& details) {} | |
310 | |
311 protected: | 306 protected: |
312 virtual ~RenderViewHostDelegate() {} | 307 virtual ~RenderViewHostDelegate() {} |
313 }; | 308 }; |
314 | 309 |
315 } // namespace content | 310 } // namespace content |
316 | 311 |
317 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 312 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |