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

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

Issue 11411016: [Mac] Fix issue where rubber-banding may get sporadically stuck. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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 | content/browser/renderer_host/render_widget_host_impl.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 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 <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 void ResetSizeAndRepaintPendingFlags(); 440 void ResetSizeAndRepaintPendingFlags();
441 441
442 void DetachDelegate(); 442 void DetachDelegate();
443 443
444 // Update the renderer's cache of the screen rect of the view and window. 444 // Update the renderer's cache of the screen rect of the view and window.
445 void SendScreenRects(); 445 void SendScreenRects();
446 446
447 protected: 447 protected:
448 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE; 448 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE;
449 449
450 // Transmits the given input event. This is an internal helper for
451 // |ForwardInputEvent()| and should not be used directly from elsewhere.
452 void SendInputEvent(const WebKit::WebInputEvent& input_event,
453 int event_size, bool is_keyboard_shortcut);
454
450 // Internal implementation of the public Forward*Event() methods. 455 // Internal implementation of the public Forward*Event() methods.
451 void ForwardInputEvent(const WebKit::WebInputEvent& input_event, 456 void ForwardInputEvent(const WebKit::WebInputEvent& input_event,
452 int event_size, bool is_keyboard_shortcut); 457 int event_size, bool is_keyboard_shortcut);
453 458
454 // Called when we receive a notification indicating that the renderer 459 // Called when we receive a notification indicating that the renderer
455 // process has gone. This will reset our state so that our state will be 460 // process has gone. This will reset our state so that our state will be
456 // consistent if a new renderer is created. 461 // consistent if a new renderer is created.
457 void RendererExited(base::TerminationStatus status, int exit_code); 462 void RendererExited(base::TerminationStatus status, int exit_code);
458 463
459 // Retrieves an id the renderer can use to refer to its view. 464 // Retrieves an id the renderer can use to refer to its view.
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 #if defined(OS_WIN) 869 #if defined(OS_WIN)
865 std::list<HWND> dummy_windows_for_activation_; 870 std::list<HWND> dummy_windows_for_activation_;
866 #endif 871 #endif
867 872
868 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 873 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
869 }; 874 };
870 875
871 } // namespace content 876 } // namespace content
872 877
873 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 878 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698