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

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

Issue 23364004: Implementation of device metrics emulation in render view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Moved helper class to cc Created 7 years, 3 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual void UnhandledWheelEvent( 60 virtual void UnhandledWheelEvent(
61 const WebKit::WebMouseWheelEvent& event) OVERRIDE; 61 const WebKit::WebMouseWheelEvent& event) OVERRIDE;
62 virtual InputEventAckState FilterInputEvent( 62 virtual InputEventAckState FilterInputEvent(
63 const WebKit::WebInputEvent& input_event) OVERRIDE; 63 const WebKit::WebInputEvent& input_event) OVERRIDE;
64 virtual void GestureEventAck(int gesture_event_type, 64 virtual void GestureEventAck(int gesture_event_type,
65 InputEventAckState ack_result) OVERRIDE; 65 InputEventAckState ack_result) OVERRIDE;
66 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; 66 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE;
67 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; 67 virtual WebKit::WebPopupType GetPopupType() OVERRIDE;
68 virtual BrowserAccessibilityManager* 68 virtual BrowserAccessibilityManager*
69 GetBrowserAccessibilityManager() const OVERRIDE; 69 GetBrowserAccessibilityManager() const OVERRIDE;
70 virtual void SetExpectedRenderedSize(const gfx::Size& size) OVERRIDE {}
70 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 71 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
71 InputEventAckState ack_result) OVERRIDE; 72 InputEventAckState ack_result) OVERRIDE;
72 virtual SyntheticGesture* CreateSmoothScrollGesture( 73 virtual SyntheticGesture* CreateSmoothScrollGesture(
73 bool scroll_down, int pixels_to_scroll, int mouse_event_x, 74 bool scroll_down, int pixels_to_scroll, int mouse_event_x,
74 int mouse_event_y) OVERRIDE; 75 int mouse_event_y) OVERRIDE;
75 virtual bool CanSubscribeFrame() const OVERRIDE; 76 virtual bool CanSubscribeFrame() const OVERRIDE;
76 virtual void BeginFrameSubscription( 77 virtual void BeginFrameSubscription(
77 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; 78 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE;
78 virtual void EndFrameSubscription() OVERRIDE; 79 virtual void EndFrameSubscription() OVERRIDE;
79 virtual void OnSwapCompositorFrame( 80 virtual void OnSwapCompositorFrame(
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 gfx::Rect current_display_area_; 158 gfx::Rect current_display_area_;
158 159
159 uint32 renderer_frame_number_; 160 uint32 renderer_frame_number_;
160 161
161 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 162 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
162 }; 163 };
163 164
164 } // namespace content 165 } // namespace content
165 166
166 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 167 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698