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

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: Disable BrowserPluginHostTest.NavigateGuest on win, flaking. Created 8 years, 3 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 <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 405
406 void set_allow_privileged_mouse_lock(bool allow) { 406 void set_allow_privileged_mouse_lock(bool allow) {
407 allow_privileged_mouse_lock_ = allow; 407 allow_privileged_mouse_lock_ = allow;
408 } 408 }
409 409
410 #if defined(OS_ANDROID) 410 #if defined(OS_ANDROID)
411 virtual void AttachLayer(WebKit::WebLayer* layer) {} 411 virtual void AttachLayer(WebKit::WebLayer* layer) {}
412 virtual void RemoveLayer(WebKit::WebLayer* layer) {} 412 virtual void RemoveLayer(WebKit::WebLayer* layer) {}
413 #endif 413 #endif
414 414
415 // Resets state variables related to tracking pending size and painting.
416 //
417 // We need to reset these flags when we want to repaint the contents of
418 // browser plugin in this RWH. Resetting these flags will ensure we ignore
419 // any previous pending acks that are not relevant upon repaint.
420 void ResetSizeAndRepaintPendingFlags();
421
415 protected: 422 protected:
416 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE; 423 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE;
417 424
418 // Internal implementation of the public Forward*Event() methods. 425 // Internal implementation of the public Forward*Event() methods.
419 void ForwardInputEvent(const WebKit::WebInputEvent& input_event, 426 void ForwardInputEvent(const WebKit::WebInputEvent& input_event,
420 int event_size, bool is_keyboard_shortcut); 427 int event_size, bool is_keyboard_shortcut);
421 428
422 // Called when we receive a notification indicating that the renderer 429 // Called when we receive a notification indicating that the renderer
423 // process has gone. This will reset our state so that our state will be 430 // process has gone. This will reset our state so that our state will be
424 // consistent if a new renderer is created. 431 // consistent if a new renderer is created.
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 SmoothScrollGestureMap active_smooth_scroll_gestures_; 816 SmoothScrollGestureMap active_smooth_scroll_gestures_;
810 817
811 scoped_ptr<GestureEventFilter> gesture_event_filter_; 818 scoped_ptr<GestureEventFilter> gesture_event_filter_;
812 819
813 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 820 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
814 }; 821 };
815 822
816 } // namespace content 823 } // namespace content
817 824
818 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 825 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698