OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 void OnMsgOpenURL(const GURL& url, const GURL& referrer, | 492 void OnMsgOpenURL(const GURL& url, const GURL& referrer, |
493 WindowOpenDisposition disposition); | 493 WindowOpenDisposition disposition); |
494 void OnMsgDidContentsPreferredWidthChange(int pref_width); | 494 void OnMsgDidContentsPreferredWidthChange(int pref_width); |
495 void OnMsgDomOperationResponse(const std::string& json_string, | 495 void OnMsgDomOperationResponse(const std::string& json_string, |
496 int automation_id); | 496 int automation_id); |
497 void OnMsgDOMUISend(const std::string& message, | 497 void OnMsgDOMUISend(const std::string& message, |
498 const std::string& content); | 498 const std::string& content); |
499 void OnMsgForwardMessageToExternalHost(const std::string& message, | 499 void OnMsgForwardMessageToExternalHost(const std::string& message, |
500 const std::string& origin, | 500 const std::string& origin, |
501 const std::string& target); | 501 const std::string& target); |
| 502 void OnMsgDocumentLoadedInFrame(); |
502 void OnMsgGoToEntryAtOffset(int offset); | 503 void OnMsgGoToEntryAtOffset(int offset); |
503 void OnMsgSetTooltipText(const std::wstring& tooltip_text); | 504 void OnMsgSetTooltipText(const std::wstring& tooltip_text); |
504 void OnMsgSelectionChanged(const std::string& text); | 505 void OnMsgSelectionChanged(const std::string& text); |
505 void OnMsgPasteFromSelectionClipboard(); | 506 void OnMsgPasteFromSelectionClipboard(); |
506 void OnMsgRunFileChooser(bool multiple_files, | 507 void OnMsgRunFileChooser(bool multiple_files, |
507 const string16& title, | 508 const string16& title, |
508 const FilePath& default_file); | 509 const FilePath& default_file); |
509 void OnMsgRunJavaScriptMessage(const std::wstring& message, | 510 void OnMsgRunJavaScriptMessage(const std::wstring& message, |
510 const std::wstring& default_prompt, | 511 const std::wstring& default_prompt, |
511 const GURL& frame_url, | 512 const GURL& frame_url, |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 // not an extension. | 639 // not an extension. |
639 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 640 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
640 | 641 |
641 // True if the render view can be shut down suddenly. | 642 // True if the render view can be shut down suddenly. |
642 bool sudden_termination_allowed_; | 643 bool sudden_termination_allowed_; |
643 | 644 |
644 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 645 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
645 }; | 646 }; |
646 | 647 |
647 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 648 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |