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

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

Issue 7863003: Mouse lock implementation, including the renderer side and the Windows version of the browser side. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.cc ('k') | content/renderer/render_view.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 virtual void OnResize(const gfx::Size& new_size, 625 virtual void OnResize(const gfx::Size& new_size,
626 const gfx::Rect& resizer_rect); 626 const gfx::Rect& resizer_rect);
627 virtual void DidInitiatePaint(); 627 virtual void DidInitiatePaint();
628 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( 628 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint(
629 const gfx::Rect& paint_bounds, 629 const gfx::Rect& paint_bounds,
630 TransportDIB** dib, 630 TransportDIB** dib,
631 gfx::Rect* location, 631 gfx::Rect* location,
632 gfx::Rect* clip); 632 gfx::Rect* clip);
633 virtual gfx::Point GetScrollOffset(); 633 virtual gfx::Point GetScrollOffset();
634 virtual void DidHandleKeyEvent(); 634 virtual void DidHandleKeyEvent();
635 virtual bool WillHandleMouseEvent(
636 const WebKit::WebMouseEvent& event) OVERRIDE;
635 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event); 637 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event);
636 virtual void OnSetFocus(bool enable); 638 virtual void OnSetFocus(bool enable);
637 virtual void OnWasHidden(); 639 virtual void OnWasHidden();
638 virtual void OnWasRestored(bool needs_repainting); 640 virtual void OnWasRestored(bool needs_repainting);
639 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; 641 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE;
640 virtual void OnImeSetComposition( 642 virtual void OnImeSetComposition(
641 const string16& text, 643 const string16& text,
642 const std::vector<WebKit::WebCompositionUnderline>& underlines, 644 const std::vector<WebKit::WebCompositionUnderline>& underlines,
643 int selection_start, 645 int selection_start,
644 int selection_end) OVERRIDE; 646 int selection_end) OVERRIDE;
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 void OnExecuteEditCommand(const std::string& name, const std::string& value); 808 void OnExecuteEditCommand(const std::string& name, const std::string& value);
807 void OnFileChooserResponse(const std::vector<FilePath>& paths); 809 void OnFileChooserResponse(const std::vector<FilePath>& paths);
808 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); 810 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&);
809 void OnFindReplyAck(); 811 void OnFindReplyAck();
810 void OnEnableAccessibility(); 812 void OnEnableAccessibility();
811 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); 813 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url);
812 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( 814 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks(
813 const std::vector<GURL>& links, 815 const std::vector<GURL>& links,
814 const std::vector<FilePath>& local_paths, 816 const std::vector<FilePath>& local_paths,
815 const FilePath& local_directory_name); 817 const FilePath& local_directory_name);
818 void OnLockMouseACK(bool succeeded);
816 void OnMediaPlayerActionAt(const gfx::Point& location, 819 void OnMediaPlayerActionAt(const gfx::Point& location,
817 const WebKit::WebMediaPlayerAction& action); 820 const WebKit::WebMediaPlayerAction& action);
821 void OnMouseLockLost();
818 void OnMoveOrResizeStarted(); 822 void OnMoveOrResizeStarted();
819 void OnNavigate(const ViewMsg_Navigate_Params& params); 823 void OnNavigate(const ViewMsg_Navigate_Params& params);
820 void OnPaste(); 824 void OnPaste();
821 #if defined(OS_MACOSX) 825 #if defined(OS_MACOSX)
822 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id); 826 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id);
823 #endif 827 #endif
824 void OnRedo(); 828 void OnRedo();
825 void OnReloadFrame(); 829 void OnReloadFrame();
826 void OnReplace(const string16& text); 830 void OnReplace(const string16& text);
827 void OnReservePageIDRange(int size_of_range); 831 void OnReservePageIDRange(int size_of_range);
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
1240 // bunch of stuff, you should probably create a helper class and put your 1244 // bunch of stuff, you should probably create a helper class and put your
1241 // data and methods on that to avoid bloating RenderView more. You can use 1245 // data and methods on that to avoid bloating RenderView more. You can use
1242 // the Observer interface to filter IPC messages and receive frame change 1246 // the Observer interface to filter IPC messages and receive frame change
1243 // notifications. 1247 // notifications.
1244 // --------------------------------------------------------------------------- 1248 // ---------------------------------------------------------------------------
1245 1249
1246 DISALLOW_COPY_AND_ASSIGN(RenderView); 1250 DISALLOW_COPY_AND_ASSIGN(RenderView);
1247 }; 1251 };
1248 1252
1249 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1253 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.cc ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698