| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 virtual void RunJavaScriptAlert(WebView* webview, | 119 virtual void RunJavaScriptAlert(WebView* webview, |
| 120 const std::wstring& message); | 120 const std::wstring& message); |
| 121 virtual bool RunJavaScriptConfirm(WebView* webview, | 121 virtual bool RunJavaScriptConfirm(WebView* webview, |
| 122 const std::wstring& message); | 122 const std::wstring& message); |
| 123 virtual bool RunJavaScriptPrompt(WebView* webview, | 123 virtual bool RunJavaScriptPrompt(WebView* webview, |
| 124 const std::wstring& message, | 124 const std::wstring& message, |
| 125 const std::wstring& default_value, | 125 const std::wstring& default_value, |
| 126 std::wstring* result); | 126 std::wstring* result); |
| 127 virtual bool RunBeforeUnloadConfirm(WebView* webview, | 127 virtual bool RunBeforeUnloadConfirm(WebView* webview, |
| 128 const std::wstring& message); | 128 const std::wstring& message); |
| 129 virtual void OnUnloadListenerChanged(WebView* webview, WebFrame* webframe); | 129 virtual void EnableSuddenTermination(); |
| 130 virtual void DisableSuddenTermination(); |
| 130 virtual void QueryFormFieldAutofill(const std::wstring& field_name, | 131 virtual void QueryFormFieldAutofill(const std::wstring& field_name, |
| 131 const std::wstring& text, | 132 const std::wstring& text, |
| 132 int64 node_id); | 133 int64 node_id); |
| 133 virtual void UpdateTargetURL(WebView* webview, | 134 virtual void UpdateTargetURL(WebView* webview, |
| 134 const GURL& url); | 135 const GURL& url); |
| 135 virtual void RunFileChooser(const std::wstring& default_filename, | 136 virtual void RunFileChooser(const std::wstring& default_filename, |
| 136 WebFileChooserCallback* file_chooser); | 137 WebFileChooserCallback* file_chooser); |
| 137 virtual void AddMessageToConsole(WebView* webview, | 138 virtual void AddMessageToConsole(WebView* webview, |
| 138 const std::wstring& message, | 139 const std::wstring& message, |
| 139 unsigned int line_no, | 140 unsigned int line_no, |
| (...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 | 691 |
| 691 // A cached WebHistoryItem used for back/forward navigations initiated by | 692 // A cached WebHistoryItem used for back/forward navigations initiated by |
| 692 // WebCore (via the window.history.go API). We only have one such navigation | 693 // WebCore (via the window.history.go API). We only have one such navigation |
| 693 // pending at a time. | 694 // pending at a time. |
| 694 scoped_refptr<WebHistoryItem> history_navigation_item_; | 695 scoped_refptr<WebHistoryItem> history_navigation_item_; |
| 695 | 696 |
| 696 DISALLOW_COPY_AND_ASSIGN(RenderView); | 697 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 697 }; | 698 }; |
| 698 | 699 |
| 699 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 700 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |