OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 WebKit::WebDragOperationsMask mask, | 413 WebKit::WebDragOperationsMask mask, |
414 const WebKit::WebImage& image, | 414 const WebKit::WebImage& image, |
415 const WebKit::WebPoint& imageOffset); | 415 const WebKit::WebPoint& imageOffset); |
416 virtual bool acceptsLoadDrops(); | 416 virtual bool acceptsLoadDrops(); |
417 virtual void focusNext(); | 417 virtual void focusNext(); |
418 virtual void focusPrevious(); | 418 virtual void focusPrevious(); |
419 virtual void focusedNodeChanged(const WebKit::WebNode& node); | 419 virtual void focusedNodeChanged(const WebKit::WebNode& node); |
420 virtual void navigateBackForwardSoon(int offset); | 420 virtual void navigateBackForwardSoon(int offset); |
421 virtual int historyBackListCount(); | 421 virtual int historyBackListCount(); |
422 virtual int historyForwardListCount(); | 422 virtual int historyForwardListCount(); |
423 virtual void focusAccessibilityObject( | |
424 const WebKit::WebAccessibilityObject& acc_obj); | |
425 virtual void postAccessibilityNotification( | 423 virtual void postAccessibilityNotification( |
426 const WebKit::WebAccessibilityObject& obj, | 424 const WebKit::WebAccessibilityObject& obj, |
427 WebKit::WebAccessibilityNotification notification); | 425 WebKit::WebAccessibilityNotification notification); |
428 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, | 426 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, |
429 const WebKit::WebString& value); | 427 const WebKit::WebString& value); |
430 virtual void queryAutofillSuggestions(const WebKit::WebNode& node, | 428 virtual void queryAutofillSuggestions(const WebKit::WebNode& node, |
431 const WebKit::WebString& name, | 429 const WebKit::WebString& name, |
432 const WebKit::WebString& value); | 430 const WebKit::WebString& value); |
433 virtual void removeAutofillSuggestions(const WebKit::WebString& name, | 431 virtual void removeAutofillSuggestions(const WebKit::WebString& name, |
434 const WebKit::WebString& value); | 432 const WebKit::WebString& value); |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
802 void OnEnableViewSourceMode(); | 800 void OnEnableViewSourceMode(); |
803 void OnExecuteCode(const ViewMsg_ExecuteCode_Params& params); | 801 void OnExecuteCode(const ViewMsg_ExecuteCode_Params& params); |
804 void OnExecuteEditCommand(const std::string& name, const std::string& value); | 802 void OnExecuteEditCommand(const std::string& name, const std::string& value); |
805 void OnExtensionMessageInvoke(const std::string& function_name, | 803 void OnExtensionMessageInvoke(const std::string& function_name, |
806 const ListValue& args, | 804 const ListValue& args, |
807 bool requires_incognito_access, | 805 bool requires_incognito_access, |
808 const GURL& event_url); | 806 const GURL& event_url); |
809 void OnFileChooserResponse(const std::vector<FilePath>& paths); | 807 void OnFileChooserResponse(const std::vector<FilePath>& paths); |
810 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); | 808 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); |
811 void OnFindReplyAck(); | 809 void OnFindReplyAck(); |
812 void OnGetAccessibilityTree(); | 810 void OnEnableAccessibility(); |
813 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); | 811 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); |
814 void OnGetApplicationInfo(int page_id); | 812 void OnGetApplicationInfo(int page_id); |
815 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( | 813 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( |
816 const std::vector<GURL>& links, | 814 const std::vector<GURL>& links, |
817 const std::vector<FilePath>& local_paths, | 815 const std::vector<FilePath>& local_paths, |
818 const FilePath& local_directory_name); | 816 const FilePath& local_directory_name); |
819 void OnHandleMessageFromExternalHost(const std::string& message, | 817 void OnHandleMessageFromExternalHost(const std::string& message, |
820 const std::string& origin, | 818 const std::string& origin, |
821 const std::string& target); | 819 const std::string& target); |
822 void OnInstallMissingPlugin(); | 820 void OnInstallMissingPlugin(); |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1363 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1361 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
1364 // sections rather than throwing it randomly at the end. If you're adding a | 1362 // sections rather than throwing it randomly at the end. If you're adding a |
1365 // bunch of stuff, you should probably create a helper class and put your | 1363 // bunch of stuff, you should probably create a helper class and put your |
1366 // data and methods on that to avoid bloating RenderView more. | 1364 // data and methods on that to avoid bloating RenderView more. |
1367 // --------------------------------------------------------------------------- | 1365 // --------------------------------------------------------------------------- |
1368 | 1366 |
1369 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1367 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1370 }; | 1368 }; |
1371 | 1369 |
1372 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1370 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |