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

Side by Side Diff: content/public/browser/render_view_host_delegate.h

Issue 10154004: re-use WebUIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: WeakPtr solution Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/browser/web_ui_controller.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 virtual void DidStopLoading() {} 267 virtual void DidStopLoading() {}
268 268
269 // The pending page load was canceled. 269 // The pending page load was canceled.
270 virtual void DidCancelLoading() {} 270 virtual void DidCancelLoading() {}
271 271
272 // The RenderView made progress loading a page's top frame. 272 // The RenderView made progress loading a page's top frame.
273 // |progress| is a value between 0 (nothing loaded) to 1.0 (top frame 273 // |progress| is a value between 0 (nothing loaded) to 1.0 (top frame
274 // entirely loaded). 274 // entirely loaded).
275 virtual void DidChangeLoadProgress(double progress) {} 275 virtual void DidChangeLoadProgress(double progress) {}
276 276
277 // Some frame in the current RenderView has a ready document element. This 277 // The RenderView's main frame document element is ready. This happens when
278 // happens when the document has finished parsing. 278 // the document has finished parsing.
279 virtual void DocumentAvailableInFrame(RenderViewHost* render_view_host, 279 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {}
280 bool main_frame,
281 const GURL& source_url) {}
282 280
283 // The onload handler in the RenderView's main frame has completed. 281 // The onload handler in the RenderView's main frame has completed.
284 virtual void DocumentOnLoadCompletedInMainFrame( 282 virtual void DocumentOnLoadCompletedInMainFrame(
285 RenderViewHost* render_view_host, 283 RenderViewHost* render_view_host,
286 int32 page_id) {} 284 int32 page_id) {}
287 285
288 // The page wants to open a URL with the specified disposition. 286 // The page wants to open a URL with the specified disposition.
289 virtual void RequestOpenURL(const GURL& url, 287 virtual void RequestOpenURL(const GURL& url,
290 const content::Referrer& referrer, 288 const content::Referrer& referrer,
291 WindowOpenDisposition disposition, 289 WindowOpenDisposition disposition,
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 // Notification that the view has lost the mouse lock. 402 // Notification that the view has lost the mouse lock.
405 virtual void LostMouseLock() {} 403 virtual void LostMouseLock() {}
406 404
407 protected: 405 protected:
408 virtual ~RenderViewHostDelegate() {} 406 virtual ~RenderViewHostDelegate() {}
409 }; 407 };
410 408
411 } // namespace content 409 } // namespace content
412 410
413 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 411 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/browser/web_ui_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698