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

Unified Diff: chrome/browser/tab_contents/page_navigator.h

Issue 6537015: Start moving core pieces of Chrome multi-process code to src\content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/tab_contents/page_navigator.h
===================================================================
--- chrome/browser/tab_contents/page_navigator.h (revision 75368)
+++ chrome/browser/tab_contents/page_navigator.h (working copy)
@@ -2,29 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// PageNavigator defines an interface that can be used to express the user's
-// intention to navigate to a particular URL. The implementing class should
-// perform the navigation.
-
#ifndef CHROME_BROWSER_TAB_CONTENTS_PAGE_NAVIGATOR_H_
#define CHROME_BROWSER_TAB_CONTENTS_PAGE_NAVIGATOR_H_
#pragma once
-#include "chrome/common/page_transition_types.h"
-#include "webkit/glue/window_open_disposition.h"
+// TODO(jam): remove this file when all files have been converted.
+#include "content/browser/tab_contents/page_navigator.h"
-class GURL;
-
-class PageNavigator {
- public:
- // Opens a URL with the given disposition. The transition specifies how this
- // navigation should be recorded in the history system (for example, typed).
- virtual void OpenURL(const GURL& url, const GURL& referrer,
- WindowOpenDisposition disposition,
- PageTransition::Type transition) = 0;
-
- protected:
- virtual ~PageNavigator() {}
-};
-
#endif // CHROME_BROWSER_TAB_CONTENTS_PAGE_NAVIGATOR_H_
« no previous file with comments | « chrome/browser/tab_contents/navigation_entry_unittest.cc ('k') | chrome/browser/tab_contents/provisional_load_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698