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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 void OnMsgOpenURL(const GURL& url, const GURL& referrer, | 488 void OnMsgOpenURL(const GURL& url, const GURL& referrer, |
489 WindowOpenDisposition disposition); | 489 WindowOpenDisposition disposition); |
490 void OnMsgDidContentsPreferredWidthChange(int pref_width); | 490 void OnMsgDidContentsPreferredWidthChange(int pref_width); |
491 void OnMsgDomOperationResponse(const std::string& json_string, | 491 void OnMsgDomOperationResponse(const std::string& json_string, |
492 int automation_id); | 492 int automation_id); |
493 void OnMsgDOMUISend(const std::string& message, | 493 void OnMsgDOMUISend(const std::string& message, |
494 const std::string& content); | 494 const std::string& content); |
495 void OnMsgForwardMessageToExternalHost(const std::string& message, | 495 void OnMsgForwardMessageToExternalHost(const std::string& message, |
496 const std::string& origin, | 496 const std::string& origin, |
497 const std::string& target); | 497 const std::string& target); |
| 498 void OnMsgDocumentLoadedInFrame(); |
498 void OnMsgGoToEntryAtOffset(int offset); | 499 void OnMsgGoToEntryAtOffset(int offset); |
499 void OnMsgSetTooltipText(const std::wstring& tooltip_text); | 500 void OnMsgSetTooltipText(const std::wstring& tooltip_text); |
500 void OnMsgSelectionChanged(const std::string& text); | 501 void OnMsgSelectionChanged(const std::string& text); |
501 void OnMsgPasteFromSelectionClipboard(); | 502 void OnMsgPasteFromSelectionClipboard(); |
502 void OnMsgRunFileChooser(bool multiple_files, | 503 void OnMsgRunFileChooser(bool multiple_files, |
503 const string16& title, | 504 const string16& title, |
504 const FilePath& default_file); | 505 const FilePath& default_file); |
505 void OnMsgRunJavaScriptMessage(const std::wstring& message, | 506 void OnMsgRunJavaScriptMessage(const std::wstring& message, |
506 const std::wstring& default_prompt, | 507 const std::wstring& default_prompt, |
507 const GURL& frame_url, | 508 const GURL& frame_url, |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
633 // not an extension. | 634 // not an extension. |
634 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 635 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
635 | 636 |
636 // True if the render view can be shut down suddenly. | 637 // True if the render view can be shut down suddenly. |
637 bool sudden_termination_allowed_; | 638 bool sudden_termination_allowed_; |
638 | 639 |
639 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 640 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
640 }; | 641 }; |
641 | 642 |
642 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 643 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |