| OLD | NEW |
| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 class WebApplicationCacheHostClient; | 118 class WebApplicationCacheHostClient; |
| 119 class WebDataSource; | 119 class WebDataSource; |
| 120 class WebDocument; | 120 class WebDocument; |
| 121 class WebDragData; | 121 class WebDragData; |
| 122 class WebFrame; | 122 class WebFrame; |
| 123 class WebGeolocationClient; | 123 class WebGeolocationClient; |
| 124 class WebGeolocationServiceInterface; | 124 class WebGeolocationServiceInterface; |
| 125 class WebIconURL; | 125 class WebIconURL; |
| 126 class WebImage; | 126 class WebImage; |
| 127 class WebInputElement; | 127 class WebInputElement; |
| 128 class WebInputEvent; |
| 128 class WebKeyboardEvent; | 129 class WebKeyboardEvent; |
| 129 class WebMediaPlayer; | 130 class WebMediaPlayer; |
| 130 class WebMediaPlayerClient; | 131 class WebMediaPlayerClient; |
| 131 class WebMouseEvent; | 132 class WebMouseEvent; |
| 132 class WebPlugin; | 133 class WebPlugin; |
| 133 class WebSpeechInputController; | 134 class WebSpeechInputController; |
| 134 class WebSpeechInputListener; | 135 class WebSpeechInputListener; |
| 135 class WebStorageNamespace; | 136 class WebStorageNamespace; |
| 136 class WebURLLoader; | 137 class WebURLLoader; |
| 137 class WebURLRequest; | 138 class WebURLRequest; |
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 616 const gfx::Rect& resizer_rect); | 617 const gfx::Rect& resizer_rect); |
| 617 virtual void DidInitiatePaint(); | 618 virtual void DidInitiatePaint(); |
| 618 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( | 619 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( |
| 619 const gfx::Rect& paint_bounds, | 620 const gfx::Rect& paint_bounds, |
| 620 TransportDIB** dib, | 621 TransportDIB** dib, |
| 621 gfx::Rect* location, | 622 gfx::Rect* location, |
| 622 gfx::Rect* clip); | 623 gfx::Rect* clip); |
| 623 virtual gfx::Point GetScrollOffset(); | 624 virtual gfx::Point GetScrollOffset(); |
| 624 virtual void DidHandleKeyEvent(); | 625 virtual void DidHandleKeyEvent(); |
| 625 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event); | 626 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event); |
| 627 virtual bool OnBeforeHandleInputEvent( |
| 628 const WebKit::WebInputEvent& event) OVERRIDE; |
| 626 virtual void OnSetFocus(bool enable); | 629 virtual void OnSetFocus(bool enable); |
| 627 virtual void OnWasHidden(); | 630 virtual void OnWasHidden(); |
| 628 virtual void OnWasRestored(bool needs_repainting); | 631 virtual void OnWasRestored(bool needs_repainting); |
| 629 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; | 632 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; |
| 630 virtual void OnImeSetComposition( | 633 virtual void OnImeSetComposition( |
| 631 const string16& text, | 634 const string16& text, |
| 632 const std::vector<WebKit::WebCompositionUnderline>& underlines, | 635 const std::vector<WebKit::WebCompositionUnderline>& underlines, |
| 633 int selection_start, | 636 int selection_start, |
| 634 int selection_end) OVERRIDE; | 637 int selection_end) OVERRIDE; |
| 635 virtual void OnImeConfirmComposition(const string16& text) OVERRIDE; | 638 virtual void OnImeConfirmComposition(const string16& text) OVERRIDE; |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 void OnExecuteEditCommand(const std::string& name, const std::string& value); | 799 void OnExecuteEditCommand(const std::string& name, const std::string& value); |
| 797 void OnFileChooserResponse(const std::vector<FilePath>& paths); | 800 void OnFileChooserResponse(const std::vector<FilePath>& paths); |
| 798 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); | 801 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); |
| 799 void OnFindReplyAck(); | 802 void OnFindReplyAck(); |
| 800 void OnEnableAccessibility(); | 803 void OnEnableAccessibility(); |
| 801 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); | 804 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); |
| 802 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( | 805 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( |
| 803 const std::vector<GURL>& links, | 806 const std::vector<GURL>& links, |
| 804 const std::vector<FilePath>& local_paths, | 807 const std::vector<FilePath>& local_paths, |
| 805 const FilePath& local_directory_name); | 808 const FilePath& local_directory_name); |
| 809 void OnLockMouseACK(bool succeeded); |
| 806 void OnMediaPlayerActionAt(const gfx::Point& location, | 810 void OnMediaPlayerActionAt(const gfx::Point& location, |
| 807 const WebKit::WebMediaPlayerAction& action); | 811 const WebKit::WebMediaPlayerAction& action); |
| 812 void OnMouseLockLost(); |
| 808 void OnMoveOrResizeStarted(); | 813 void OnMoveOrResizeStarted(); |
| 809 void OnNavigate(const ViewMsg_Navigate_Params& params); | 814 void OnNavigate(const ViewMsg_Navigate_Params& params); |
| 810 void OnPaste(); | 815 void OnPaste(); |
| 811 #if defined(OS_MACOSX) | 816 #if defined(OS_MACOSX) |
| 812 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id); | 817 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id); |
| 813 #endif | 818 #endif |
| 814 void OnRedo(); | 819 void OnRedo(); |
| 815 void OnReloadFrame(); | 820 void OnReloadFrame(); |
| 816 void OnReplace(const string16& text); | 821 void OnReplace(const string16& text); |
| 817 void OnReservePageIDRange(int size_of_range); | 822 void OnReservePageIDRange(int size_of_range); |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1227 // bunch of stuff, you should probably create a helper class and put your | 1232 // bunch of stuff, you should probably create a helper class and put your |
| 1228 // data and methods on that to avoid bloating RenderView more. You can use | 1233 // data and methods on that to avoid bloating RenderView more. You can use |
| 1229 // the Observer interface to filter IPC messages and receive frame change | 1234 // the Observer interface to filter IPC messages and receive frame change |
| 1230 // notifications. | 1235 // notifications. |
| 1231 // --------------------------------------------------------------------------- | 1236 // --------------------------------------------------------------------------- |
| 1232 | 1237 |
| 1233 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1238 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1234 }; | 1239 }; |
| 1235 | 1240 |
| 1236 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1241 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |