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