Add ICU message format support
[chromium-blink-merge.git] / ios / web / navigation / navigation_item_facade_delegate.h
blob8ccd6c0ac12d214c67183904deef8063db34b089
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
3 // found in the LICENSE file.
5 #ifndef IOS_WEB_NAVIGATION_NAVIGATION_ITEM_FACADE_DELEGATE_H_
6 #define IOS_WEB_NAVIGATION_NAVIGATION_ITEM_FACADE_DELEGATE_H_
8 namespace content {
9 class NavigationEntry;
12 namespace web {
14 class NavigationItemImpl;
16 // Interface used by NavigationItems to interact with their NavigationEntry
17 // facades. This pushes references to NavigationEntry out of the web-layer.
18 // Note that since communication is one-directional, this interface is primarily
19 // to add hooks for creation/deletion of facades.
20 class NavigationItemFacadeDelegate {
21 public:
22 NavigationItemFacadeDelegate() {}
23 virtual ~NavigationItemFacadeDelegate() {}
25 // Returns the facade object being driven by this delegate.
26 virtual content::NavigationEntry* GetNavigationEntryFacade() = 0;
29 } // namespace web
31 #endif // IOS_WEB_NAVIGATION_NAVIGATION_ITEM_FACADE_DELEGATE_H_