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

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

Issue 12277023: Define frame subscription interface and implementation on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac impl Created 7 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 | 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_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 const WebKit::WebMouseWheelEvent& event) OVERRIDE; 59 const WebKit::WebMouseWheelEvent& event) OVERRIDE;
60 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; 60 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE;
61 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; 61 virtual WebKit::WebPopupType GetPopupType() OVERRIDE;
62 virtual BrowserAccessibilityManager* 62 virtual BrowserAccessibilityManager*
63 GetBrowserAccessibilityManager() const OVERRIDE; 63 GetBrowserAccessibilityManager() const OVERRIDE;
64 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch, 64 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch,
65 InputEventAckState ack_result) OVERRIDE; 65 InputEventAckState ack_result) OVERRIDE;
66 virtual SmoothScrollGesture* CreateSmoothScrollGesture( 66 virtual SmoothScrollGesture* CreateSmoothScrollGesture(
67 bool scroll_down, int pixels_to_scroll, int mouse_event_x, 67 bool scroll_down, int pixels_to_scroll, int mouse_event_x,
68 int mouse_event_y) OVERRIDE; 68 int mouse_event_y) OVERRIDE;
69 virtual bool CanSubscribeFrame() const OVERRIDE;
70 virtual void BeginFrameSubscription(
71 RenderWidgetHostViewFrameSubscriber* subscriber) OVERRIDE;
72 virtual void EndFrameSubscription() OVERRIDE;
69 73
70 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); 74 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager);
71 75
72 // Notification that a resize or move session ended on the native widget. 76 // Notification that a resize or move session ended on the native widget.
73 void UpdateScreenInfo(gfx::NativeView view); 77 void UpdateScreenInfo(gfx::NativeView view);
74 78
75 #if defined(OS_WIN) 79 #if defined(OS_WIN)
76 // The callback that DetachPluginsHelper calls for each child window. Call 80 // The callback that DetachPluginsHelper calls for each child window. Call
77 // this directly if you want to do custom filtering on plugin windows first. 81 // this directly if you want to do custom filtering on plugin windows first.
78 static void DetachPluginWindowsCallback(HWND window); 82 static void DetachPluginWindowsCallback(HWND window);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 135
132 gfx::Rect current_display_area_; 136 gfx::Rect current_display_area_;
133 float current_device_scale_factor_; 137 float current_device_scale_factor_;
134 138
135 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 139 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
136 }; 140 };
137 141
138 } // namespace content 142 } // namespace content
139 143
140 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 144 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698