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

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

Issue 1809793002: Fix connection between BrowserAccessibilityManager and ContentViewCore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: InternalGetChild -> PlatformGetChild so we can walk into iframes Created 4 years, 9 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
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 <IOSurface/IOSurface.h> 9 #include <IOSurface/IOSurface.h>
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 const scoped_refptr<media::VideoFrame>& target, 326 const scoped_refptr<media::VideoFrame>& target,
327 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; 327 const base::Callback<void(const gfx::Rect&, bool)>& callback) override;
328 bool CanCopyToVideoFrame() const override; 328 bool CanCopyToVideoFrame() const override;
329 void BeginFrameSubscription( 329 void BeginFrameSubscription(
330 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; 330 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override;
331 void EndFrameSubscription() override; 331 void EndFrameSubscription() override;
332 void OnSwapCompositorFrame(uint32_t output_surface_id, 332 void OnSwapCompositorFrame(uint32_t output_surface_id,
333 scoped_ptr<cc::CompositorFrame> frame) override; 333 scoped_ptr<cc::CompositorFrame> frame) override;
334 void ClearCompositorFrame() override; 334 void ClearCompositorFrame() override;
335 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 335 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
336 BrowserAccessibilityDelegate* delegate) override; 336 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
337 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; 337 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override;
338 bool PostProcessEventForPluginIme( 338 bool PostProcessEventForPluginIme(
339 const NativeWebKeyboardEvent& event) override; 339 const NativeWebKeyboardEvent& event) override;
340 340
341 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; 341 bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
342 void GetScreenInfo(blink::WebScreenInfo* results) override; 342 void GetScreenInfo(blink::WebScreenInfo* results) override;
343 bool GetScreenColorProfile(std::vector<char>* color_profile) override; 343 bool GetScreenColorProfile(std::vector<char>* color_profile) override;
344 gfx::Rect GetBoundsInRootWindow() override; 344 gfx::Rect GetBoundsInRootWindow() override;
345 void LockCompositingSurface() override; 345 void LockCompositingSurface() override;
346 void UnlockCompositingSurface() override; 346 void UnlockCompositingSurface() override;
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 621
622 // Factory used to safely scope delayed calls to ShutdownHost(). 622 // Factory used to safely scope delayed calls to ShutdownHost().
623 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 623 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
624 624
625 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 625 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
626 }; 626 };
627 627
628 } // namespace content 628 } // namespace content
629 629
630 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 630 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698