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

Side by Side Diff: chrome/browser/tab_contents/page_navigator.h

Issue 179028: Revert "Fix a ton of compiler warnings." (Closed)
Patch Set: Created 11 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // PageNavigator defines an interface that can be used to express the user's 5 // PageNavigator defines an interface that can be used to express the user's
6 // intention to navigate to a particular URL. The implementing class should 6 // intention to navigate to a particular URL. The implementing class should
7 // perform the navigation. 7 // perform the navigation.
8 8
9 #ifndef CHROME_BROWSER_TAB_CONTENTS_PAGE_NAVIGATOR_H_ 9 #ifndef CHROME_BROWSER_TAB_CONTENTS_PAGE_NAVIGATOR_H_
10 #define CHROME_BROWSER_TAB_CONTENTS_PAGE_NAVIGATOR_H_ 10 #define CHROME_BROWSER_TAB_CONTENTS_PAGE_NAVIGATOR_H_
11 11
12 #include "chrome/common/page_transition_types.h" 12 #include "chrome/common/page_transition_types.h"
13 #include "webkit/glue/window_open_disposition.h" 13 #include "webkit/glue/window_open_disposition.h"
14 14
15 class GURL; 15 class GURL;
16 16
17 class PageNavigator { 17 class PageNavigator {
18 public: 18 public:
19 // Opens a URL with the given disposition. The transition specifies how this 19 // Opens a URL with the given disposition. The transition specifies how this
20 // navigation should be recorded in the history system (for example, typed). 20 // navigation should be recorded in the history system (for example, typed).
21 virtual void OpenURL(const GURL& url, const GURL& referrer, 21 virtual void OpenURL(const GURL& url, const GURL& referrer,
22 WindowOpenDisposition disposition, 22 WindowOpenDisposition disposition,
23 PageTransition::Type transition) = 0; 23 PageTransition::Type transition) = 0;
24 protected:
25 ~PageNavigator() {}
26 }; 24 };
27 25
28 #endif // CHROME_BROWSER_TAB_CONTENTS_PAGE_NAVIGATOR_H_ 26 #endif // CHROME_BROWSER_TAB_CONTENTS_PAGE_NAVIGATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/constrained_window.h ('k') | chrome/browser/tab_contents/render_view_host_delegate_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698