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

Side by Side Diff: content/port/browser/render_view_host_delegate_view.h

Issue 11195033: Upstream hooks for javascript touch handlers on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 2 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_PORT_BROWSER_RENDER_VIEW_HOST_DELEGATE_VIEW_H_ 5 #ifndef CONTENT_PORT_BROWSER_RENDER_VIEW_HOST_DELEGATE_VIEW_H_
6 #define CONTENT_PORT_BROWSER_RENDER_VIEW_HOST_DELEGATE_VIEW_H_ 6 #define CONTENT_PORT_BROWSER_RENDER_VIEW_HOST_DELEGATE_VIEW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {} 60 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {}
61 61
62 // Notification that view for this delegate got the focus. 62 // Notification that view for this delegate got the focus.
63 virtual void GotFocus() {} 63 virtual void GotFocus() {}
64 64
65 // Callback to inform the browser that the page is returning the focus to 65 // Callback to inform the browser that the page is returning the focus to
66 // the browser's chrome. If reverse is true, it means the focus was 66 // the browser's chrome. If reverse is true, it means the focus was
67 // retrieved by doing a Shift-Tab. 67 // retrieved by doing a Shift-Tab.
68 virtual void TakeFocus(bool reverse) {} 68 virtual void TakeFocus(bool reverse) {}
69 69
70 #if defined(OS_ANDROID)
71 // Called when an unhandled touch event is sent back from the renderer.
72 // TODO(joth): This should be pure virtual.
73 virtual void ConfirmTouchEvent(bool handled) {}
74 #endif
75
76 protected: 70 protected:
77 virtual ~RenderViewHostDelegateView() {} 71 virtual ~RenderViewHostDelegateView() {}
78 }; 72 };
79 73
80 } // namespace content 74 } // namespace content
81 75
82 #endif // CONTENT_PORT_BROWSER_RENDER_VIEW_HOST_DELEGATE_VIEW_H_ 76 #endif // CONTENT_PORT_BROWSER_RENDER_VIEW_HOST_DELEGATE_VIEW_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_android.cc ('k') | content/port/browser/render_widget_host_view_port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698