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

Side by Side Diff: content/port/browser/render_widget_host_view_port.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
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 // Called when a mousewheel event was not processed by the renderer. 273 // Called when a mousewheel event was not processed by the renderer.
274 virtual void UnhandledWheelEvent(const WebKit::WebMouseWheelEvent& event) = 0; 274 virtual void UnhandledWheelEvent(const WebKit::WebMouseWheelEvent& event) = 0;
275 275
276 // Called prior to forwarding input event messages to the renderer, giving 276 // Called prior to forwarding input event messages to the renderer, giving
277 // the view a chance to perform in-process event filtering or processing. 277 // the view a chance to perform in-process event filtering or processing.
278 // Return values of |NOT_CONSUMED| or |UNKNOWN| will result in |input_event| 278 // Return values of |NOT_CONSUMED| or |UNKNOWN| will result in |input_event|
279 // being forwarded. 279 // being forwarded.
280 virtual InputEventAckState FilterInputEvent( 280 virtual InputEventAckState FilterInputEvent(
281 const WebKit::WebInputEvent& input_event) = 0; 281 const WebKit::WebInputEvent& input_event) = 0;
282 282
283 virtual void GestureEventAck(int gesture_event_type) = 0;
284
283 virtual void SetPopupType(WebKit::WebPopupType popup_type) = 0; 285 virtual void SetPopupType(WebKit::WebPopupType popup_type) = 0;
284 virtual WebKit::WebPopupType GetPopupType() = 0; 286 virtual WebKit::WebPopupType GetPopupType() = 0;
285 287
286 virtual BrowserAccessibilityManager* 288 virtual BrowserAccessibilityManager*
287 GetBrowserAccessibilityManager() const = 0; 289 GetBrowserAccessibilityManager() const = 0;
288 virtual void OnAccessibilityNotifications( 290 virtual void OnAccessibilityNotifications(
289 const std::vector<AccessibilityHostMsg_NotificationParams>& params) = 0; 291 const std::vector<AccessibilityHostMsg_NotificationParams>& params) = 0;
290 292
291 #if defined(OS_MACOSX) 293 #if defined(OS_MACOSX)
292 // Called just before GetBackingStore blocks for an updated frame. 294 // Called just before GetBackingStore blocks for an updated frame.
(...skipping 14 matching lines...) Expand all
307 #endif 309 #endif
308 310
309 #if defined(OS_WIN) && !defined(USE_AURA) 311 #if defined(OS_WIN) && !defined(USE_AURA)
310 virtual void WillWmDestroy() = 0; 312 virtual void WillWmDestroy() = 0;
311 #endif 313 #endif
312 }; 314 };
313 315
314 } // namespace content 316 } // namespace content
315 317
316 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 318 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698