summaryrefslogtreecommitdiffstats
path: root/content/browser/tab_contents/tab_contents.h
diff options
context:
space:
mode:
authormkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-29 11:36:31 +0000
committermkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-29 11:36:31 +0000
commit1a55c5be47d58f64e9adf22985f4e0c276c9ed86 (patch)
tree9e3d34700766b476683589ee2f29a50cedfe7cba /content/browser/tab_contents/tab_contents.h
parentd52d25e5a28b9798bcfaff23614dae2040db869e (diff)
downloadchromium_src-1a55c5be47d58f64e9adf22985f4e0c276c9ed86.zip
chromium_src-1a55c5be47d58f64e9adf22985f4e0c276c9ed86.tar.gz
chromium_src-1a55c5be47d58f64e9adf22985f4e0c276c9ed86.tar.bz2
Add url and is_main_frame to DidFinishLoad and DidFailLoad.
This will add 2 fields: validated_url and is_main_frame to the DidFinishLoad TabContentsObserver callback and the associated view message and will add a DidFinishLoad TabContentsObserver callback with the associated view message. The change should not have any impact on current behavior. This is needed for the Chromium port on Android. BUG=none TEST=base_unittests,content_unittests,browser_tests Review URL: http://codereview.chromium.org/8384028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111912 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/tab_contents/tab_contents.h')
-rw-r--r--content/browser/tab_contents/tab_contents.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h
index 55f03a5..0473b7d 100644
--- a/content/browser/tab_contents/tab_contents.h
+++ b/content/browser/tab_contents/tab_contents.h
@@ -623,7 +623,14 @@ class CONTENT_EXPORT TabContents : public PageNavigator,
void OnDidRunInsecureContent(const std::string& security_origin,
const GURL& target_url);
void OnDocumentLoadedInFrame(int64 frame_id);
- void OnDidFinishLoad(int64 frame_id);
+ void OnDidFinishLoad(int64 frame_id,
+ const GURL& validated_url,
+ bool is_main_frame);
+ void OnDidFailLoadWithError(int64 frame_id,
+ const GURL& validated_url,
+ bool is_main_frame,
+ int error_code,
+ const string16& error_description);
void OnUpdateContentRestrictions(int restrictions);
void OnGoToEntryAtOffset(int offset);
void OnUpdateZoomLimits(int minimum_percent,