| 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(); | |
| 503 void OnMsgGoToEntryAtOffset(int offset); | 502 void OnMsgGoToEntryAtOffset(int offset); |
| 504 void OnMsgSetTooltipText(const std::wstring& tooltip_text); | 503 void OnMsgSetTooltipText(const std::wstring& tooltip_text); |
| 505 void OnMsgSelectionChanged(const std::string& text); | 504 void OnMsgSelectionChanged(const std::string& text); |
| 506 void OnMsgPasteFromSelectionClipboard(); | 505 void OnMsgPasteFromSelectionClipboard(); |
| 507 void OnMsgRunFileChooser(bool multiple_files, | 506 void OnMsgRunFileChooser(bool multiple_files, |
| 508 const string16& title, | 507 const string16& title, |
| 509 const FilePath& default_file); | 508 const FilePath& default_file); |
| 510 void OnMsgRunJavaScriptMessage(const std::wstring& message, | 509 void OnMsgRunJavaScriptMessage(const std::wstring& message, |
| 511 const std::wstring& default_prompt, | 510 const std::wstring& default_prompt, |
| 512 const GURL& frame_url, | 511 const GURL& frame_url, |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 // not an extension. | 637 // not an extension. |
| 639 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 638 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
| 640 | 639 |
| 641 // True if the render view can be shut down suddenly. | 640 // True if the render view can be shut down suddenly. |
| 642 bool sudden_termination_allowed_; | 641 bool sudden_termination_allowed_; |
| 643 | 642 |
| 644 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 643 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 645 }; | 644 }; |
| 646 | 645 |
| 647 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 646 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |