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

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

Issue 10868012: Browser Plugin: New Implementation (Browser Side) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master-trial-obrowser
Patch Set: Fixed tests. Also fixed a case where UpdateRect was being sent from bp renderer before NavigateGues… Created 8 years, 4 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
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_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 #endif 383 #endif
384 384
385 // Signals that the compositing surface was updated, e.g. after a lost context 385 // Signals that the compositing surface was updated, e.g. after a lost context
386 // event. 386 // event.
387 void CompositingSurfaceUpdated(); 387 void CompositingSurfaceUpdated();
388 388
389 void set_allow_privileged_mouse_lock(bool allow) { 389 void set_allow_privileged_mouse_lock(bool allow) {
390 allow_privileged_mouse_lock_ = allow; 390 allow_privileged_mouse_lock_ = allow;
391 } 391 }
392 392
393 // Resets state variables related to events, size/resize, painting so things
rjkroege 2012/08/22 21:57:38 call RendererExited?
lazyboy 2012/08/23 00:45:22 Not sure if I understand the comment. At first I t
394 // work with a new renderer.
395 void ResetFlags();
396
393 protected: 397 protected:
394 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE; 398 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE;
395 399
396 // Internal implementation of the public Forward*Event() methods. 400 // Internal implementation of the public Forward*Event() methods.
397 void ForwardInputEvent(const WebKit::WebInputEvent& input_event, 401 void ForwardInputEvent(const WebKit::WebInputEvent& input_event,
398 int event_size, bool is_keyboard_shortcut); 402 int event_size, bool is_keyboard_shortcut);
399 403
400 // Called when we receive a notification indicating that the renderer 404 // Called when we receive a notification indicating that the renderer
401 // process has gone. This will reset our state so that our state will be 405 // process has gone. This will reset our state so that our state will be
402 // consistent if a new renderer is created. 406 // consistent if a new renderer is created.
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_; 777 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_;
774 778
775 scoped_ptr<GestureEventFilter> gesture_event_filter_; 779 scoped_ptr<GestureEventFilter> gesture_event_filter_;
776 780
777 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 781 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
778 }; 782 };
779 783
780 } // namespace content 784 } // namespace content
781 785
782 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 786 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698