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

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

Issue 899283004: Remove pinch zoom handling from the browser process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_delegate.cc » ('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_BROWSER_RENDER_WIDGET_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDER_WIDGET_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDER_WIDGET_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDER_WIDGET_HOST_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // Callback to inform the browser that the renderer did not process the 54 // Callback to inform the browser that the renderer did not process the
55 // specified mouse wheel event. Returns true if the browser has handled 55 // specified mouse wheel event. Returns true if the browser has handled
56 // the event itself. 56 // the event itself.
57 virtual bool HandleWheelEvent(const blink::WebMouseWheelEvent& event); 57 virtual bool HandleWheelEvent(const blink::WebMouseWheelEvent& event);
58 58
59 // Callback to give the browser a chance to handle the specified gesture 59 // Callback to give the browser a chance to handle the specified gesture
60 // event before sending it to the renderer. 60 // event before sending it to the renderer.
61 // Returns true if the |event| was handled. 61 // Returns true if the |event| was handled.
62 virtual bool PreHandleGestureEvent(const blink::WebGestureEvent& event); 62 virtual bool PreHandleGestureEvent(const blink::WebGestureEvent& event);
63 63
64 // Callback to inform the browser that the renderer did not process the
65 // specified gesture event. Returns true if the |event| was handled.
66 virtual bool HandleGestureEvent(const blink::WebGestureEvent& event);
67
68 // Notifies that screen rects were sent to renderer process. 64 // Notifies that screen rects were sent to renderer process.
69 virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) {} 65 virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) {}
70 66
71 // Get the root BrowserAccessibilityManager for this frame tree. 67 // Get the root BrowserAccessibilityManager for this frame tree.
72 virtual BrowserAccessibilityManager* GetRootBrowserAccessibilityManager(); 68 virtual BrowserAccessibilityManager* GetRootBrowserAccessibilityManager();
73 69
74 // Get the root BrowserAccessibilityManager for this frame tree, 70 // Get the root BrowserAccessibilityManager for this frame tree,
75 // or create it if it doesn't exist. 71 // or create it if it doesn't exist.
76 virtual BrowserAccessibilityManager* 72 virtual BrowserAccessibilityManager*
77 GetOrCreateRootBrowserAccessibilityManager(); 73 GetOrCreateRootBrowserAccessibilityManager();
78 74
79 #if defined(OS_WIN) 75 #if defined(OS_WIN)
80 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); 76 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
81 #endif 77 #endif
82 78
83 protected: 79 protected:
84 virtual ~RenderWidgetHostDelegate() {} 80 virtual ~RenderWidgetHostDelegate() {}
85 }; 81 };
86 82
87 } // namespace content 83 } // namespace content
88 84
89 #endif // CONTENT_BROWSER_RENDER_WIDGET_HOST_DELEGATE_H_ 85 #endif // CONTENT_BROWSER_RENDER_WIDGET_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698