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

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

Issue 273423004: Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix more compile errors Created 6 years, 7 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_WIDGET_HOST_VIEW_MAC_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 virtual bool CanCopyToVideoFrame() const OVERRIDE; 301 virtual bool CanCopyToVideoFrame() const OVERRIDE;
302 virtual bool CanSubscribeFrame() const OVERRIDE; 302 virtual bool CanSubscribeFrame() const OVERRIDE;
303 virtual void BeginFrameSubscription( 303 virtual void BeginFrameSubscription(
304 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; 304 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE;
305 virtual void EndFrameSubscription() OVERRIDE; 305 virtual void EndFrameSubscription() OVERRIDE;
306 virtual void OnSwapCompositorFrame( 306 virtual void OnSwapCompositorFrame(
307 uint32 output_surface_id, scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; 307 uint32 output_surface_id, scoped_ptr<cc::CompositorFrame> frame) OVERRIDE;
308 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 308 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
309 virtual void AcceleratedSurfaceInitialized(int host_id, 309 virtual void AcceleratedSurfaceInitialized(int host_id,
310 int route_id) OVERRIDE; 310 int route_id) OVERRIDE;
311 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE; 311 virtual void CreateBrowserAccessibilityManagerIfNeeded(
312 BrowserAccessibilityDelegate* delegate) OVERRIDE;
312 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) 313 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds)
313 OVERRIDE; 314 OVERRIDE;
314 virtual void OnAccessibilitySetFocus(int acc_obj_id) OVERRIDE; 315 virtual void OnAccessibilitySetFocus(int acc_obj_id) OVERRIDE;
315 virtual void AccessibilityShowMenu(int acc_obj_id) OVERRIDE; 316 virtual void AccessibilityShowMenu(int acc_obj_id) OVERRIDE;
316 virtual bool PostProcessEventForPluginIme( 317 virtual bool PostProcessEventForPluginIme(
317 const NativeWebKeyboardEvent& event) OVERRIDE; 318 const NativeWebKeyboardEvent& event) OVERRIDE;
318 319
319 virtual void AcceleratedSurfaceBuffersSwapped( 320 virtual void AcceleratedSurfaceBuffersSwapped(
320 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 321 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
321 int gpu_host_id) OVERRIDE; 322 int gpu_host_id) OVERRIDE;
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; 644 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_;
644 645
645 base::WeakPtrFactory<RenderWidgetHostViewMac> 646 base::WeakPtrFactory<RenderWidgetHostViewMac>
646 software_frame_weak_ptr_factory_; 647 software_frame_weak_ptr_factory_;
647 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 648 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
648 }; 649 };
649 650
650 } // namespace content 651 } // namespace content
651 652
652 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 653 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698