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

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

Issue 12321005: Enable touch based selection and editing for webpages behind a flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: include unittest in only chromeos builds Created 7 years, 8 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; 54 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE;
55 virtual float GetOverdrawBottomHeight() const OVERRIDE; 55 virtual float GetOverdrawBottomHeight() const OVERRIDE;
56 virtual bool IsShowingContextMenu() const OVERRIDE; 56 virtual bool IsShowingContextMenu() const OVERRIDE;
57 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; 57 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE;
58 virtual string16 GetSelectedText() const OVERRIDE; 58 virtual string16 GetSelectedText() const OVERRIDE;
59 virtual bool IsMouseLocked() OVERRIDE; 59 virtual bool IsMouseLocked() OVERRIDE;
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) OVERRIDE;
64 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; 65 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE;
65 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; 66 virtual WebKit::WebPopupType GetPopupType() OVERRIDE;
66 virtual BrowserAccessibilityManager* 67 virtual BrowserAccessibilityManager*
67 GetBrowserAccessibilityManager() const OVERRIDE; 68 GetBrowserAccessibilityManager() const OVERRIDE;
68 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch, 69 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch,
69 InputEventAckState ack_result) OVERRIDE; 70 InputEventAckState ack_result) OVERRIDE;
70 virtual SmoothScrollGesture* CreateSmoothScrollGesture( 71 virtual SmoothScrollGesture* CreateSmoothScrollGesture(
71 bool scroll_down, int pixels_to_scroll, int mouse_event_x, 72 bool scroll_down, int pixels_to_scroll, int mouse_event_x,
72 int mouse_event_y) OVERRIDE; 73 int mouse_event_y) OVERRIDE;
73 virtual bool CanSubscribeFrame() const OVERRIDE; 74 virtual bool CanSubscribeFrame() const OVERRIDE;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; 145 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
145 146
146 gfx::Rect current_display_area_; 147 gfx::Rect current_display_area_;
147 148
148 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 149 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
149 }; 150 };
150 151
151 } // namespace content 152 } // namespace content
152 153
153 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 154 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698