| 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_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 virtual void setMouseOverURL(const WebKit::WebURL& url); | 354 virtual void setMouseOverURL(const WebKit::WebURL& url); |
| 355 virtual void setKeyboardFocusURL(const WebKit::WebURL& url); | 355 virtual void setKeyboardFocusURL(const WebKit::WebURL& url); |
| 356 virtual void startDragging(const WebKit::WebDragData& data, | 356 virtual void startDragging(const WebKit::WebDragData& data, |
| 357 WebKit::WebDragOperationsMask mask, | 357 WebKit::WebDragOperationsMask mask, |
| 358 const WebKit::WebImage& image, | 358 const WebKit::WebImage& image, |
| 359 const WebKit::WebPoint& imageOffset); | 359 const WebKit::WebPoint& imageOffset); |
| 360 virtual bool acceptsLoadDrops(); | 360 virtual bool acceptsLoadDrops(); |
| 361 virtual void focusNext(); | 361 virtual void focusNext(); |
| 362 virtual void focusPrevious(); | 362 virtual void focusPrevious(); |
| 363 virtual void focusedNodeChanged(const WebKit::WebNode& node); | 363 virtual void focusedNodeChanged(const WebKit::WebNode& node); |
| 364 virtual void autoSizeChanged(const WebKit::WebSize& new_size); |
| 365 virtual void didUpdateLayout(); |
| 364 virtual void navigateBackForwardSoon(int offset); | 366 virtual void navigateBackForwardSoon(int offset); |
| 365 virtual int historyBackListCount(); | 367 virtual int historyBackListCount(); |
| 366 virtual int historyForwardListCount(); | 368 virtual int historyForwardListCount(); |
| 367 virtual void postAccessibilityNotification( | 369 virtual void postAccessibilityNotification( |
| 368 const WebKit::WebAccessibilityObject& obj, | 370 const WebKit::WebAccessibilityObject& obj, |
| 369 WebKit::WebAccessibilityNotification notification); | 371 WebKit::WebAccessibilityNotification notification); |
| 370 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, | 372 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, |
| 371 const WebKit::WebString& value); | 373 const WebKit::WebString& value); |
| 372 virtual WebKit::WebGeolocationClient* geolocationClient(); | 374 virtual WebKit::WebGeolocationClient* geolocationClient(); |
| 373 virtual WebKit::WebSpeechInputController* speechInputController( | 375 virtual WebKit::WebSpeechInputController* speechInputController( |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 const WebKit::WebSecurityOrigin& origin, | 498 const WebKit::WebSecurityOrigin& origin, |
| 497 const WebKit::WebURL& target); | 499 const WebKit::WebURL& target); |
| 498 virtual void didAdoptURLLoader(WebKit::WebURLLoader* loader); | 500 virtual void didAdoptURLLoader(WebKit::WebURLLoader* loader); |
| 499 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); | 501 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); |
| 500 virtual void didCreateScriptContext(WebKit::WebFrame* frame, | 502 virtual void didCreateScriptContext(WebKit::WebFrame* frame, |
| 501 v8::Handle<v8::Context>, | 503 v8::Handle<v8::Context>, |
| 502 int world_id); | 504 int world_id); |
| 503 virtual void willReleaseScriptContext(WebKit::WebFrame* frame, | 505 virtual void willReleaseScriptContext(WebKit::WebFrame* frame, |
| 504 v8::Handle<v8::Context>, | 506 v8::Handle<v8::Context>, |
| 505 int world_id); | 507 int world_id); |
| 506 virtual void didUpdateLayout(WebKit::WebFrame* frame); | |
| 507 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); | 508 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); |
| 508 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); | 509 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); |
| 509 virtual void didChangeContentsSize(WebKit::WebFrame* frame, | 510 virtual void didChangeContentsSize(WebKit::WebFrame* frame, |
| 510 const WebKit::WebSize& size); | 511 const WebKit::WebSize& size); |
| 511 virtual void reportFindInPageMatchCount(int request_id, | 512 virtual void reportFindInPageMatchCount(int request_id, |
| 512 int count, | 513 int count, |
| 513 bool final_update); | 514 bool final_update); |
| 514 virtual void reportFindInPageSelection(int request_id, | 515 virtual void reportFindInPageSelection(int request_id, |
| 515 int active_match_ordinal, | 516 int active_match_ordinal, |
| 516 const WebKit::WebRect& sel); | 517 const WebKit::WebRect& sel); |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 770 void OnDragTargetDrop(const gfx::Point& client_pt, | 771 void OnDragTargetDrop(const gfx::Point& client_pt, |
| 771 const gfx::Point& screen_pt); | 772 const gfx::Point& screen_pt); |
| 772 void OnDragTargetDragEnter(const WebDropData& drop_data, | 773 void OnDragTargetDragEnter(const WebDropData& drop_data, |
| 773 const gfx::Point& client_pt, | 774 const gfx::Point& client_pt, |
| 774 const gfx::Point& screen_pt, | 775 const gfx::Point& screen_pt, |
| 775 WebKit::WebDragOperationsMask operations_allowed); | 776 WebKit::WebDragOperationsMask operations_allowed); |
| 776 void OnDragTargetDragLeave(); | 777 void OnDragTargetDragLeave(); |
| 777 void OnDragTargetDragOver(const gfx::Point& client_pt, | 778 void OnDragTargetDragOver(const gfx::Point& client_pt, |
| 778 const gfx::Point& screen_pt, | 779 const gfx::Point& screen_pt, |
| 779 WebKit::WebDragOperationsMask operations_allowed); | 780 WebKit::WebDragOperationsMask operations_allowed); |
| 781 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); |
| 780 void OnEnablePreferredSizeChangedMode(); | 782 void OnEnablePreferredSizeChangedMode(); |
| 781 void OnEnumerateDirectoryResponse(int id, const std::vector<FilePath>& paths); | 783 void OnEnumerateDirectoryResponse(int id, const std::vector<FilePath>& paths); |
| 782 void OnExecuteEditCommand(const std::string& name, const std::string& value); | 784 void OnExecuteEditCommand(const std::string& name, const std::string& value); |
| 783 void OnFileChooserResponse(const std::vector<FilePath>& paths); | 785 void OnFileChooserResponse(const std::vector<FilePath>& paths); |
| 784 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); | 786 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); |
| 785 void OnFindReplyAck(); | 787 void OnFindReplyAck(); |
| 786 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); | 788 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); |
| 787 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( | 789 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( |
| 788 const std::vector<GURL>& links, | 790 const std::vector<GURL>& links, |
| 789 const std::vector<FilePath>& local_paths, | 791 const std::vector<FilePath>& local_paths, |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1218 // bunch of stuff, you should probably create a helper class and put your | 1220 // bunch of stuff, you should probably create a helper class and put your |
| 1219 // data and methods on that to avoid bloating RenderView more. You can | 1221 // data and methods on that to avoid bloating RenderView more. You can |
| 1220 // use the Observer interface to filter IPC messages and receive frame change | 1222 // use the Observer interface to filter IPC messages and receive frame change |
| 1221 // notifications. | 1223 // notifications. |
| 1222 // --------------------------------------------------------------------------- | 1224 // --------------------------------------------------------------------------- |
| 1223 | 1225 |
| 1224 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1226 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1225 }; | 1227 }; |
| 1226 | 1228 |
| 1227 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1229 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |