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