Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Side by Side Diff: chrome/renderer/render_view.h

Issue 9746: Change old code from "unloadListnerChanged" model to new WebKit EnableSuddenT... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698