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

Unified Diff: chrome/browser/ui/browser.h

Issue 7835004: Moved the following IPCs out of chrome into content where they are handled by (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
Index: chrome/browser/ui/browser.h
===================================================================
--- chrome/browser/ui/browser.h (revision 99462)
+++ chrome/browser/ui/browser.h (working copy)
@@ -692,6 +692,21 @@
int active_match_ordinal,
bool final_update);
+ // Helper function to handle crashed plugin notifications.
+ static void CrashedPluginHelper(TabContents* tab,
+ const FilePath& plugin_path);
+
+ // Helper function to handle provisional frame load notifications.
+ static void DidStartProvisionalLoadForFrameHelper(TabContents* tab,
+ int64 frame_id,
+ bool is_main_frame,
+ bool has_opener_set,
+ const GURL& url);
+
+ // Helper function to handle url update notifications.
+ static void UpdateTargetURLHelper(TabContents* tab, int32 page_id,
+ const GURL& url);
+
// Calls ExecuteCommandWithDisposition with the given disposition.
void ExecuteCommandWithDisposition(int id, WindowOpenDisposition);
@@ -900,7 +915,8 @@
virtual void DetachContents(TabContents* source) OVERRIDE;
virtual bool IsPopupOrPanel(const TabContents* source) const OVERRIDE;
virtual bool CanReloadContents(TabContents* source) const;
- virtual void UpdateTargetURL(TabContents* source, const GURL& url) OVERRIDE;
+ virtual void UpdateTargetURL(TabContents* source, int32 page_id,
+ const GURL& url) OVERRIDE;
virtual void ContentsMouseEvent(
TabContents* source, const gfx::Point& location, bool motion) OVERRIDE;
virtual void ContentsZoomChange(bool zoom_in) OVERRIDE;
@@ -975,6 +991,15 @@
int active_match_ordinal,
bool final_update) OVERRIDE;
+ virtual void CrashedPlugin(TabContents* tab,
+ const FilePath& plugin_path) OVERRIDE;
+
+ virtual void DidStartProvisionalLoadForFrame(TabContents* tab,
+ int64 frame_id,
+ bool is_main_frame,
+ bool has_opener_set,
+ const GURL& url) OVERRIDE;
+
// Overridden from TabContentsWrapperDelegate:
virtual void OnDidGetApplicationInfo(TabContentsWrapper* source,
int32 page_id) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698