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

Side by Side Diff: ios/web/navigation/navigation_item_facade_delegate.h

Issue 2544293002: ios: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 IOS_WEB_NAVIGATION_NAVIGATION_ITEM_FACADE_DELEGATE_H_ 5 #ifndef IOS_WEB_NAVIGATION_NAVIGATION_ITEM_FACADE_DELEGATE_H_
6 #define IOS_WEB_NAVIGATION_NAVIGATION_ITEM_FACADE_DELEGATE_H_ 6 #define IOS_WEB_NAVIGATION_NAVIGATION_ITEM_FACADE_DELEGATE_H_
7 7
8 namespace content { 8 namespace content {
9 class NavigationEntry; 9 class NavigationEntry;
10 } 10 }
11 11
12 namespace web { 12 namespace web {
13 13
14 class NavigationItemImpl;
15
16 // Interface used by NavigationItems to interact with their NavigationEntry 14 // Interface used by NavigationItems to interact with their NavigationEntry
17 // facades. This pushes references to NavigationEntry out of the web-layer. 15 // facades. This pushes references to NavigationEntry out of the web-layer.
18 // Note that since communication is one-directional, this interface is primarily 16 // Note that since communication is one-directional, this interface is primarily
19 // to add hooks for creation/deletion of facades. 17 // to add hooks for creation/deletion of facades.
20 class NavigationItemFacadeDelegate { 18 class NavigationItemFacadeDelegate {
21 public: 19 public:
22 NavigationItemFacadeDelegate() {} 20 NavigationItemFacadeDelegate() {}
23 virtual ~NavigationItemFacadeDelegate() {} 21 virtual ~NavigationItemFacadeDelegate() {}
24 22
25 // Returns the facade object being driven by this delegate. 23 // Returns the facade object being driven by this delegate.
26 virtual content::NavigationEntry* GetNavigationEntryFacade() = 0; 24 virtual content::NavigationEntry* GetNavigationEntryFacade() = 0;
27 }; 25 };
28 26
29 } // namespace web 27 } // namespace web
30 28
31 #endif // IOS_WEB_NAVIGATION_NAVIGATION_ITEM_FACADE_DELEGATE_H_ 29 #endif // IOS_WEB_NAVIGATION_NAVIGATION_ITEM_FACADE_DELEGATE_H_
OLDNEW
« no previous file with comments | « ios/web/navigation/crw_session_entry.h ('k') | ios/web/navigation/navigation_manager_facade_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698