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

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

Issue 19624: Add early-injection capability to user scripts. I haven't yet (Closed)
Patch Set: Use new documentElementAvailable() callback Created 11 years, 10 months 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
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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 const GURL& dest_url, 208 const GURL& dest_url,
209 unsigned int delay_seconds, 209 unsigned int delay_seconds,
210 unsigned int fire_date); 210 unsigned int fire_date);
211 virtual void DidCancelClientRedirect(WebView* webview, 211 virtual void DidCancelClientRedirect(WebView* webview,
212 WebFrame* frame); 212 WebFrame* frame);
213 virtual void DidCompleteClientRedirect(WebView* webview, 213 virtual void DidCompleteClientRedirect(WebView* webview,
214 WebFrame* frame, 214 WebFrame* frame,
215 const GURL& source); 215 const GURL& source);
216 216
217 virtual void WindowObjectCleared(WebFrame* webframe); 217 virtual void WindowObjectCleared(WebFrame* webframe);
218 virtual void DocumentElementAvailable(WebFrame* webframe);
219
218 virtual WindowOpenDisposition DispositionForNavigationAction( 220 virtual WindowOpenDisposition DispositionForNavigationAction(
219 WebView* webview, 221 WebView* webview,
220 WebFrame* frame, 222 WebFrame* frame,
221 const WebRequest* request, 223 const WebRequest* request,
222 WebNavigationType type, 224 WebNavigationType type,
223 WindowOpenDisposition disposition, 225 WindowOpenDisposition disposition,
224 bool is_redirect); 226 bool is_redirect);
225 227
226 virtual WebView* CreateWebView(WebView* webview, bool user_gesture); 228 virtual WebView* CreateWebView(WebView* webview, bool user_gesture);
227 virtual WebWidget* CreatePopupWidget(WebView* webview, bool activatable); 229 virtual WebWidget* CreatePopupWidget(WebView* webview, bool activatable);
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 // Time in seconds of the delay between syncing page state such as form 743 // Time in seconds of the delay between syncing page state such as form
742 // elements and scroll position. This timeout allows us to avoid spamming the 744 // elements and scroll position. This timeout allows us to avoid spamming the
743 // browser process with every little thing that changes. This normally doesn't 745 // browser process with every little thing that changes. This normally doesn't
744 // change but is overridden by tests. 746 // change but is overridden by tests.
745 int delay_seconds_for_form_state_sync_; 747 int delay_seconds_for_form_state_sync_;
746 748
747 DISALLOW_COPY_AND_ASSIGN(RenderView); 749 DISALLOW_COPY_AND_ASSIGN(RenderView);
748 }; 750 };
749 751
750 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 752 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698