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

Unified Diff: chrome/browser/search/iframe_source.h

Issue 102433009: Most visited iframe now postMessage to signal the iframing page that the link has been displayed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/local_ntp/most_visited_util.js ('k') | chrome/browser/search/iframe_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/iframe_source.h
diff --git a/chrome/browser/search/iframe_source.h b/chrome/browser/search/iframe_source.h
index 4c5c335a3d6ca27466487d6bc4f92b5ef328117f..5e8f2d870ecbbf5b4eb6270c5ab8469aa338acda 100644
--- a/chrome/browser/search/iframe_source.h
+++ b/chrome/browser/search/iframe_source.h
@@ -35,16 +35,16 @@ class IframeSource : public content::URLDataSource {
void SendJSWithOrigin(
int resource_id,
int render_process_id,
- int render_view_id,
+ int render_frame_id,
const content::URLDataSource::GotDataCallback& callback);
// This is exposed for testing and should not be overridden.
- // Sets |origin| to the URL of the render view identified by |process_id| and
- // |render_view_id|. Returns true if successful and false if not, for example
- // if the render view does not exist.
+ // Sets |origin| to the URL of the render frame identified by |process_id| and
+ // |render_frame_id|. Returns true if successful and false if not, for example
+ // if the render frame does not exist.
virtual bool GetOrigin(
int process_id,
- int render_view_id,
+ int render_frame_id,
std::string* origin) const;
DISALLOW_COPY_AND_ASSIGN(IframeSource);
« no previous file with comments | « chrome/browser/resources/local_ntp/most_visited_util.js ('k') | chrome/browser/search/iframe_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698