| 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 568 void OnMsgDidStartLoading(); | 568 void OnMsgDidStartLoading(); |
| 569 void OnMsgDidStopLoading(); | 569 void OnMsgDidStopLoading(); |
| 570 void OnMsgDocumentAvailableInMainFrame(); | 570 void OnMsgDocumentAvailableInMainFrame(); |
| 571 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); | 571 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); |
| 572 void OnMsgDidLoadResourceFromMemoryCache(const GURL& url, | 572 void OnMsgDidLoadResourceFromMemoryCache(const GURL& url, |
| 573 const std::string& frame_origin, | 573 const std::string& frame_origin, |
| 574 const std::string& main_frame_origin, | 574 const std::string& main_frame_origin, |
| 575 const std::string& security_info); | 575 const std::string& security_info); |
| 576 void OnMsgDidDisplayInsecureContent(); | 576 void OnMsgDidDisplayInsecureContent(); |
| 577 void OnMsgDidRunInsecureContent(const std::string& security_origin); | 577 void OnMsgDidRunInsecureContent(const std::string& security_origin); |
| 578 void OnMsgDidStartProvisionalLoadForFrame(long long frame_id, | 578 void OnMsgDidStartProvisionalLoadForFrame(int64 frame_id, |
| 579 bool main_frame, | 579 bool main_frame, |
| 580 const GURL& url); | 580 const GURL& url); |
| 581 void OnMsgDidFailProvisionalLoadWithError(long long frame_id, | 581 void OnMsgDidFailProvisionalLoadWithError(int64 frame_id, |
| 582 bool main_frame, | 582 bool main_frame, |
| 583 int error_code, | 583 int error_code, |
| 584 const GURL& url, | 584 const GURL& url, |
| 585 bool showing_repost_interstitial); | 585 bool showing_repost_interstitial); |
| 586 void OnMsgFindReply(int request_id, | 586 void OnMsgFindReply(int request_id, |
| 587 int number_of_matches, | 587 int number_of_matches, |
| 588 const gfx::Rect& selection_rect, | 588 const gfx::Rect& selection_rect, |
| 589 int active_match_ordinal, | 589 int active_match_ordinal, |
| 590 bool final_update); | 590 bool final_update); |
| 591 void OnExecuteCodeFinished(int request_id, bool success); | 591 void OnExecuteCodeFinished(int request_id, bool success); |
| 592 void OnMsgUpdateFavIconURL(int32 page_id, const GURL& icon_url); | 592 void OnMsgUpdateFavIconURL(int32 page_id, const GURL& icon_url); |
| 593 void OnMsgDidDownloadFavIcon(int id, | 593 void OnMsgDidDownloadFavIcon(int id, |
| 594 const GURL& image_url, | 594 const GURL& image_url, |
| 595 bool errored, | 595 bool errored, |
| 596 const SkBitmap& image_data); | 596 const SkBitmap& image_data); |
| 597 void OnMsgContextMenu(const ContextMenuParams& params); | 597 void OnMsgContextMenu(const ContextMenuParams& params); |
| 598 void OnMsgOpenURL(const GURL& url, const GURL& referrer, | 598 void OnMsgOpenURL(const GURL& url, const GURL& referrer, |
| 599 WindowOpenDisposition disposition); | 599 WindowOpenDisposition disposition); |
| 600 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); | 600 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); |
| 601 void OnMsgDomOperationResponse(const std::string& json_string, | 601 void OnMsgDomOperationResponse(const std::string& json_string, |
| 602 int automation_id); | 602 int automation_id); |
| 603 void OnMsgDOMUISend(const GURL& source_url, | 603 void OnMsgDOMUISend(const GURL& source_url, |
| 604 const std::string& message, | 604 const std::string& message, |
| 605 const std::string& content); | 605 const std::string& content); |
| 606 void OnMsgForwardMessageToExternalHost(const std::string& message, | 606 void OnMsgForwardMessageToExternalHost(const std::string& message, |
| 607 const std::string& origin, | 607 const std::string& origin, |
| 608 const std::string& target); | 608 const std::string& target); |
| 609 void OnMsgDocumentLoadedInFrame(long long frame_id); | 609 void OnMsgDocumentLoadedInFrame(int64 frame_id); |
| 610 void OnMsgDidFinishLoad(long long frame_id); | 610 void OnMsgDidFinishLoad(int64 frame_id); |
| 611 void OnMsgGoToEntryAtOffset(int offset); | 611 void OnMsgGoToEntryAtOffset(int offset); |
| 612 void OnMsgSetTooltipText(const std::wstring& tooltip_text, | 612 void OnMsgSetTooltipText(const std::wstring& tooltip_text, |
| 613 WebKit::WebTextDirection text_direction_hint); | 613 WebKit::WebTextDirection text_direction_hint); |
| 614 void OnMsgSelectionChanged(const std::string& text); | 614 void OnMsgSelectionChanged(const std::string& text); |
| 615 void OnMsgPasteFromSelectionClipboard(); | 615 void OnMsgPasteFromSelectionClipboard(); |
| 616 void OnMsgRunFileChooser(const ViewHostMsg_RunFileChooser_Params& params); | 616 void OnMsgRunFileChooser(const ViewHostMsg_RunFileChooser_Params& params); |
| 617 void OnMsgRunJavaScriptMessage(const std::wstring& message, | 617 void OnMsgRunJavaScriptMessage(const std::wstring& message, |
| 618 const std::wstring& default_prompt, | 618 const std::wstring& default_prompt, |
| 619 const GURL& frame_url, | 619 const GURL& frame_url, |
| 620 const int flags, | 620 const int flags, |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 817 // Whether the accessibility tree should be saved, for unit testing. | 817 // Whether the accessibility tree should be saved, for unit testing. |
| 818 bool save_accessibility_tree_for_testing_; | 818 bool save_accessibility_tree_for_testing_; |
| 819 | 819 |
| 820 // The most recently received accessibility tree - for unit testing only. | 820 // The most recently received accessibility tree - for unit testing only. |
| 821 webkit_glue::WebAccessibility accessibility_tree_; | 821 webkit_glue::WebAccessibility accessibility_tree_; |
| 822 | 822 |
| 823 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 823 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 824 }; | 824 }; |
| 825 | 825 |
| 826 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 826 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |