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

Unified Diff: content/public/browser/render_widget_host_view.h

Issue 1952003002: Mac: Plumb AcceleratedWidgetMac through RWHVMac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move out of base Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mus.cc ('k') | content/test/test_render_view_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_widget_host_view.h
diff --git a/content/public/browser/render_widget_host_view.h b/content/public/browser/render_widget_host_view.h
index 36f7e78456573110a81cf847a04ca7d9869dd732..b9022881a5fa6ab2eae49d2d766e45155539ac16 100644
--- a/content/public/browser/render_widget_host_view.h
+++ b/content/public/browser/render_widget_host_view.h
@@ -25,6 +25,7 @@ class Size;
namespace ui {
class TextInputClient;
+class AcceleratedWidgetMac;
}
namespace content {
@@ -160,6 +161,10 @@ class CONTENT_EXPORT RenderWidgetHostView {
virtual void EndFrameSubscription() = 0;
#if defined(OS_MACOSX)
+ // Return the accelerated widget which hosts the CALayers that draw the
+ // content of the view in GetNativeView. This may be null.
+ virtual ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const = 0;
+
// Set the view's active state (i.e., tint state of controls).
virtual void SetActive(bool active) = 0;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mus.cc ('k') | content/test/test_render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698