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

Side by Side Diff: chrome/browser/renderer_host/render_view_host_delegate.h

Issue 56122: Callbacks through ChromeClient->RenderView->RenderViewHost for ContentsDidCha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 int32 page_id, const GURL& icon_url) { } 238 int32 page_id, const GURL& icon_url) { }
239 239
240 // An image that was requested to be downloaded by DownloadImage has 240 // An image that was requested to be downloaded by DownloadImage has
241 // completed. 241 // completed.
242 virtual void DidDownloadImage(RenderViewHost* render_view_host, 242 virtual void DidDownloadImage(RenderViewHost* render_view_host,
243 int id, 243 int id,
244 const GURL& image_url, 244 const GURL& image_url,
245 bool errored, 245 bool errored,
246 const SkBitmap& image) { } 246 const SkBitmap& image) { }
247 247
248 // The content's intrinsic width (prefWidth) changed.
249 virtual void DidContentsPreferredWidthChange(const int pref_width) { }
250
248 // The page wants to open a URL with the specified disposition. 251 // The page wants to open a URL with the specified disposition.
249 virtual void RequestOpenURL(const GURL& url, 252 virtual void RequestOpenURL(const GURL& url,
250 const GURL& referrer, 253 const GURL& referrer,
251 WindowOpenDisposition disposition) { } 254 WindowOpenDisposition disposition) { }
252 255
253 // A DOM automation operation completed. The result of the operation is 256 // A DOM automation operation completed. The result of the operation is
254 // expressed in a json string. 257 // expressed in a json string.
255 virtual void DomOperationResponse(const std::string& json_string, 258 virtual void DomOperationResponse(const std::string& json_string,
256 int automation_id) { } 259 int automation_id) { }
257 260
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 423
421 // A find operation in the current page completed. 424 // A find operation in the current page completed.
422 virtual void OnFindReply(int request_id, 425 virtual void OnFindReply(int request_id,
423 int number_of_matches, 426 int number_of_matches,
424 const gfx::Rect& selection_rect, 427 const gfx::Rect& selection_rect,
425 int active_match_ordinal, 428 int active_match_ordinal,
426 bool final_update) { } 429 bool final_update) { }
427 }; 430 };
428 431
429 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 432 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698