Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1227)

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 273423004: Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get rid of ForEachFrameAndPendingFrame Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 60
62 // 61 //
63 // RenderViewHostDelegate 62 // RenderViewHostDelegate
64 // 63 //
65 // An interface implemented by an object interested in knowing about the state 64 // An interface implemented by an object interested in knowing about the state
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 // Returns true if the RenderViewHost will never be visible. 279 // Returns true if the RenderViewHost will never be visible.
281 virtual bool IsNeverVisible(); 280 virtual bool IsNeverVisible();
282 281
283 // Returns the FrameTree the render view should use. Guaranteed to be constant 282 // Returns the FrameTree the render view should use. Guaranteed to be constant
284 // for the lifetime of the render view. 283 // for the lifetime of the render view.
285 // 284 //
286 // TODO(ajwong): Remove once the main frame RenderFrameHost is no longer 285 // TODO(ajwong): Remove once the main frame RenderFrameHost is no longer
287 // created by the RenderViewHost. 286 // created by the RenderViewHost.
288 virtual FrameTree* GetFrameTree(); 287 virtual FrameTree* GetFrameTree();
289 288
290 // Invoked when an accessibility event is received from the renderer.
291 virtual void AccessibilityEventReceived(
292 const std::vector<AXEventNotificationDetails>& details) {}
293
294 protected: 289 protected:
295 virtual ~RenderViewHostDelegate() {} 290 virtual ~RenderViewHostDelegate() {}
296 }; 291 };
297 292
298 } // namespace content 293 } // namespace content
299 294
300 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 295 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698