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

Side by Side Diff: content/public/browser/page_navigator.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_PAGE_NAVIGATOR_H_ 9 #ifndef CONTENT_PUBLIC_BROWSER_PAGE_NAVIGATOR_H_
10 #define CONTENT_PUBLIC_BROWSER_PAGE_NAVIGATOR_H_ 10 #define CONTENT_PUBLIC_BROWSER_PAGE_NAVIGATOR_H_
11 #pragma once
12 11
13 #include <string> 12 #include <string>
14 13
15 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
16 #include "content/public/browser/global_request_id.h" 15 #include "content/public/browser/global_request_id.h"
17 #include "content/public/common/page_transition_types.h" 16 #include "content/public/common/page_transition_types.h"
18 #include "content/public/common/referrer.h" 17 #include "content/public/common/referrer.h"
19 #include "googleurl/src/gurl.h" 18 #include "googleurl/src/gurl.h"
20 #include "webkit/glue/window_open_disposition.h" 19 #include "webkit/glue/window_open_disposition.h"
21 20
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // Opens a URL with the given disposition. The transition specifies how this 70 // Opens a URL with the given disposition. The transition specifies how this
72 // navigation should be recorded in the history system (for example, typed). 71 // navigation should be recorded in the history system (for example, typed).
73 // Returns the WebContents the URL is opened in, or NULL if the URL wasn't 72 // Returns the WebContents the URL is opened in, or NULL if the URL wasn't
74 // opened immediately. 73 // opened immediately.
75 virtual WebContents* OpenURL(const OpenURLParams& params) = 0; 74 virtual WebContents* OpenURL(const OpenURLParams& params) = 0;
76 }; 75 };
77 76
78 } 77 }
79 78
80 #endif // CONTENT_PUBLIC_BROWSER_PAGE_NAVIGATOR_H_ 79 #endif // CONTENT_PUBLIC_BROWSER_PAGE_NAVIGATOR_H_
OLDNEW
« no previous file with comments | « content/public/browser/notification_types.h ('k') | content/public/browser/pepper_flash_settings_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698