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

Side by Side Diff: chrome/renderer/chrome_render_view_observer.h

Issue 11622009: Forward Webkit Gesture events to interested RenderViewObservers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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 | « no previous file | chrome/renderer/chrome_render_view_observer.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 CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ 5 #ifndef CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ 6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 }; 63 };
64 64
65 // RenderViewObserver implementation. 65 // RenderViewObserver implementation.
66 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 66 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
67 virtual void DidStartLoading() OVERRIDE; 67 virtual void DidStartLoading() OVERRIDE;
68 virtual void DidStopLoading() OVERRIDE; 68 virtual void DidStopLoading() OVERRIDE;
69 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, 69 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame,
70 bool is_new_navigation) OVERRIDE; 70 bool is_new_navigation) OVERRIDE;
71 virtual void DidClearWindowObject(WebKit::WebFrame* frame) OVERRIDE; 71 virtual void DidClearWindowObject(WebKit::WebFrame* frame) OVERRIDE;
72 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) OVERRIDE; 72 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) OVERRIDE;
73 virtual void DidHandleGestureEvent(
74 const WebKit::WebGestureEvent& event) OVERRIDE;
73 75
74 // WebKit::WebPermissionClient implementation. 76 // WebKit::WebPermissionClient implementation.
75 virtual bool allowDatabase(WebKit::WebFrame* frame, 77 virtual bool allowDatabase(WebKit::WebFrame* frame,
76 const WebKit::WebString& name, 78 const WebKit::WebString& name,
77 const WebKit::WebString& display_name, 79 const WebKit::WebString& display_name,
78 unsigned long estimated_size) OVERRIDE; 80 unsigned long estimated_size) OVERRIDE;
79 virtual bool allowFileSystem(WebKit::WebFrame* frame) OVERRIDE; 81 virtual bool allowFileSystem(WebKit::WebFrame* frame) OVERRIDE;
80 virtual bool allowImage(WebKit::WebFrame* frame, 82 virtual bool allowImage(WebKit::WebFrame* frame,
81 bool enabled_per_settings, 83 bool enabled_per_settings,
82 const WebKit::WebURL& image_url) OVERRIDE; 84 const WebKit::WebURL& image_url) OVERRIDE;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 // A color page overlay when visually de-emaphasized. 197 // A color page overlay when visually de-emaphasized.
196 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; 198 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_;
197 199
198 // Used to delay calling CapturePageInfo. 200 // Used to delay calling CapturePageInfo.
199 base::Timer capture_timer_; 201 base::Timer capture_timer_;
200 202
201 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); 203 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver);
202 }; 204 };
203 205
204 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ 206 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/chrome_render_view_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698