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

Unified Diff: chrome/browser/tabs/tab_finder.cc

Issue 8603015: Get rid of a bunch of view_messages.h includes from chrome by making the TabContentsObserver inte... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux and try to fix mac again Created 9 years, 1 month 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/tabs/tab_finder.h ('k') | chrome/browser/translate/translate_tab_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tabs/tab_finder.cc
===================================================================
--- chrome/browser/tabs/tab_finder.cc (revision 110851)
+++ chrome/browser/tabs/tab_finder.cc (working copy)
@@ -19,9 +19,9 @@
#include "content/browser/tab_contents/tab_contents.h"
#include "content/browser/tab_contents/tab_contents_observer.h"
#include "content/public/browser/notification_service.h"
-#include "content/common/view_messages.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/notification_types.h"
+#include "content/public/common/frame_navigate_params.h"
#include "content/public/common/page_transition_types.h"
class TabFinder::TabContentsObserverImpl : public TabContentsObserver {
@@ -34,7 +34,7 @@
// TabContentsObserver overrides:
virtual void DidNavigateAnyFrame(
const content::LoadCommittedDetails& details,
- const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE;
+ const content::FrameNavigateParams& params) OVERRIDE;
virtual void TabContentsDestroyed(TabContents* tab) OVERRIDE;
private:
@@ -55,7 +55,7 @@
void TabFinder::TabContentsObserverImpl::DidNavigateAnyFrame(
const content::LoadCommittedDetails& details,
- const ViewHostMsg_FrameNavigate_Params& params) {
+ const content::FrameNavigateParams& params) {
finder_->DidNavigateAnyFrame(tab_contents(), details, params);
}
@@ -133,7 +133,7 @@
void TabFinder::DidNavigateAnyFrame(
TabContents* source,
const content::LoadCommittedDetails& details,
- const ViewHostMsg_FrameNavigate_Params& params) {
+ const content::FrameNavigateParams& params) {
CancelRequestsFor(source);
if (content::PageTransitionIsRedirect(params.transition)) {
« no previous file with comments | « chrome/browser/tabs/tab_finder.h ('k') | chrome/browser/translate/translate_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698