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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 9802006: Implement active wheel fling transfer via WebCompositorInputHandlerClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 8 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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 class WebPeerConnectionHandler; 127 class WebPeerConnectionHandler;
128 class WebPeerConnectionHandlerClient; 128 class WebPeerConnectionHandlerClient;
129 class WebSocketStreamHandle; 129 class WebSocketStreamHandle;
130 class WebSpeechInputController; 130 class WebSpeechInputController;
131 class WebSpeechInputListener; 131 class WebSpeechInputListener;
132 class WebStorageNamespace; 132 class WebStorageNamespace;
133 class WebTouchEvent; 133 class WebTouchEvent;
134 class WebURLLoader; 134 class WebURLLoader;
135 class WebURLRequest; 135 class WebURLRequest;
136 class WebUserMediaClient; 136 class WebUserMediaClient;
137 struct WebActiveWheelFlingParameters;
137 struct WebFileChooserParams; 138 struct WebFileChooserParams;
138 struct WebFindOptions; 139 struct WebFindOptions;
139 struct WebMediaPlayerAction; 140 struct WebMediaPlayerAction;
140 struct WebPluginAction; 141 struct WebPluginAction;
141 struct WebPoint; 142 struct WebPoint;
142 struct WebWindowFeatures; 143 struct WebWindowFeatures;
143 } 144 }
144 145
145 // We need to prevent a page from trying to create infinite popups. It is not 146 // We need to prevent a page from trying to create infinite popups. It is not
146 // as simple as keeping a count of the number of immediate children 147 // as simple as keeping a count of the number of immediate children
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 // type. Returns false if no plugin was found. 317 // type. Returns false if no plugin was found.
317 // |actual_mime_type| is the actual mime type supported by the 318 // |actual_mime_type| is the actual mime type supported by the
318 // plugin found that match the URL given (one for each item in 319 // plugin found that match the URL given (one for each item in
319 // |info|). 320 // |info|).
320 CONTENT_EXPORT bool GetPluginInfo(const GURL& url, 321 CONTENT_EXPORT bool GetPluginInfo(const GURL& url,
321 const GURL& page_url, 322 const GURL& page_url,
322 const std::string& mime_type, 323 const std::string& mime_type,
323 webkit::WebPluginInfo* plugin_info, 324 webkit::WebPluginInfo* plugin_info,
324 std::string* actual_mime_type); 325 std::string* actual_mime_type);
325 326
327 void TransferActiveWheelFlingAnimation(
328 const WebKit::WebActiveWheelFlingParameters& params);
329
326 // IPC::Channel::Listener implementation ------------------------------------- 330 // IPC::Channel::Listener implementation -------------------------------------
327 331
328 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 332 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
329 333
330 // WebKit::WebWidgetClient implementation ------------------------------------ 334 // WebKit::WebWidgetClient implementation ------------------------------------
331 335
332 // Most methods are handled by RenderWidget. 336 // Most methods are handled by RenderWidget.
333 virtual void didFocus(); 337 virtual void didFocus();
334 virtual void didBlur(); 338 virtual void didBlur();
335 virtual void show(WebKit::WebNavigationPolicy policy); 339 virtual void show(WebKit::WebNavigationPolicy policy);
336 virtual void runModal(); 340 virtual void runModal();
337 virtual bool enterFullScreen(); 341 virtual bool enterFullScreen();
338 virtual void exitFullScreen(); 342 virtual void exitFullScreen();
339 virtual bool requestPointerLock(); 343 virtual bool requestPointerLock();
340 virtual void requestPointerUnlock(); 344 virtual void requestPointerUnlock();
341 virtual bool isPointerLocked(); 345 virtual bool isPointerLocked();
346 virtual void didActivateCompositor(int input_handler_identifier);
342 347
343 // WebKit::WebViewClient implementation -------------------------------------- 348 // WebKit::WebViewClient implementation --------------------------------------
344 349
345 virtual WebKit::WebView* createView( 350 virtual WebKit::WebView* createView(
346 WebKit::WebFrame* creator, 351 WebKit::WebFrame* creator,
347 const WebKit::WebURLRequest& request, 352 const WebKit::WebURLRequest& request,
348 const WebKit::WebWindowFeatures& features, 353 const WebKit::WebWindowFeatures& features,
349 const WebKit::WebString& frame_name, 354 const WebKit::WebString& frame_name,
350 WebKit::WebNavigationPolicy policy); 355 WebKit::WebNavigationPolicy policy);
351 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type); 356 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type);
(...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after
1311 // bunch of stuff, you should probably create a helper class and put your 1316 // bunch of stuff, you should probably create a helper class and put your
1312 // data and methods on that to avoid bloating RenderView more. You can 1317 // data and methods on that to avoid bloating RenderView more. You can
1313 // use the Observer interface to filter IPC messages and receive frame change 1318 // use the Observer interface to filter IPC messages and receive frame change
1314 // notifications. 1319 // notifications.
1315 // --------------------------------------------------------------------------- 1320 // ---------------------------------------------------------------------------
1316 1321
1317 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1322 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1318 }; 1323 };
1319 1324
1320 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1325 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698