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

Side by Side Diff: content/browser/tab_contents/navigation_details.h

Issue 7800015: prune down content_dll change to just the CONTENT_EXPORTS (Closed)
Patch Set: update copyright headers, merge Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_DETAILS_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_DETAILS_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_DETAILS_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_DETAILS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include "content/common/navigation_types.h" 10 #include "content/common/navigation_types.h"
11 #include "content/common/content_export.h"
11 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
12 13
13 class NavigationEntry; 14 class NavigationEntry;
14 class TabContents; 15 class TabContents;
15 16
16 namespace content { 17 namespace content {
17 18
18 // Provides the details for a NOTIFY_NAV_ENTRY_COMMITTED notification. 19 // Provides the details for a NOTIFY_NAV_ENTRY_COMMITTED notification.
19 // TODO(brettw) this mostly duplicates ProvisionalLoadDetails, it would be 20 // TODO(brettw) this mostly duplicates ProvisionalLoadDetails, it would be
20 // nice to unify these somehow. 21 // nice to unify these somehow.
21 struct LoadCommittedDetails { 22 struct CONTENT_EXPORT LoadCommittedDetails {
22 // By default, the entry will be filled according to a new main frame 23 // By default, the entry will be filled according to a new main frame
23 // navigation. 24 // navigation.
24 LoadCommittedDetails(); 25 LoadCommittedDetails();
25 26
26 // The committed entry. This will be the active entry in the controller. 27 // The committed entry. This will be the active entry in the controller.
27 NavigationEntry* entry; 28 NavigationEntry* entry;
28 29
29 // The type of navigation that just occurred. Note that not all types of 30 // The type of navigation that just occurred. Note that not all types of
30 // navigations in the enum are valid here, since some of them don't actually 31 // navigations in the enum are valid here, since some of them don't actually
31 // cause a "commit" and won't generate this notification. 32 // cause a "commit" and won't generate this notification.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // The target URL. 98 // The target URL.
98 GURL target_url; 99 GURL target_url;
99 100
100 // The target tab contents. 101 // The target tab contents.
101 TabContents* target_tab_contents; 102 TabContents* target_tab_contents;
102 }; 103 };
103 104
104 } // namespace content 105 } // namespace content
105 106
106 #endif // CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_DETAILS_H_ 107 #endif // CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_DETAILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698