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

Side by Side Diff: mandoline/tab/frame_tree_delegate.h

Issue 1314953002: Rename ViewManagerService,ViewManagerClient -> ViewTree,ViewTreeClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 4 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
« no previous file with comments | « mandoline/tab/frame_connection.cc ('k') | mandoline/tab/public/cpp/web_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 MANDOLINE_TAB_FRAME_TREE_DELEGATE_H_ 5 #ifndef MANDOLINE_TAB_FRAME_TREE_DELEGATE_H_
6 #define MANDOLINE_TAB_FRAME_TREE_DELEGATE_H_ 6 #define MANDOLINE_TAB_FRAME_TREE_DELEGATE_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "components/view_manager/public/interfaces/view_manager.mojom.h" 9 #include "components/view_manager/public/interfaces/view_tree.mojom.h"
10 #include "mandoline/tab/public/interfaces/frame_tree.mojom.h" 10 #include "mandoline/tab/public/interfaces/frame_tree.mojom.h"
11 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" 11 #include "mojo/services/network/public/interfaces/url_loader.mojom.h"
12 12
13 namespace mandoline { 13 namespace mandoline {
14 14
15 class Frame; 15 class Frame;
16 class FrameUserData; 16 class FrameUserData;
17 class HTMLMessageEvent; 17 class HTMLMessageEvent;
18 18
19 class FrameTreeDelegate { 19 class FrameTreeDelegate {
(...skipping 15 matching lines...) Expand all
35 // background tab, vs new foreground tab. 35 // background tab, vs new foreground tab.
36 virtual void NavigateTopLevel(Frame* source, mojo::URLRequestPtr request) = 0; 36 virtual void NavigateTopLevel(Frame* source, mojo::URLRequestPtr request) = 0;
37 37
38 // Returns true if |target| can navigation to |request|. If the navigation is 38 // Returns true if |target| can navigation to |request|. If the navigation is
39 // allowed the client should set the arguments appropriately. 39 // allowed the client should set the arguments appropriately.
40 virtual bool CanNavigateFrame( 40 virtual bool CanNavigateFrame(
41 Frame* target, 41 Frame* target,
42 mojo::URLRequestPtr request, 42 mojo::URLRequestPtr request,
43 FrameTreeClient** frame_tree_client, 43 FrameTreeClient** frame_tree_client,
44 scoped_ptr<FrameUserData>* frame_user_data, 44 scoped_ptr<FrameUserData>* frame_user_data,
45 mojo::ViewManagerClientPtr* view_manager_client) = 0; 45 mojo::ViewTreeClientPtr* view_tree_client) = 0;
46 46
47 // Invoked when a navigation in |frame| has been initiated. 47 // Invoked when a navigation in |frame| has been initiated.
48 virtual void DidStartNavigation(Frame* frame) = 0; 48 virtual void DidStartNavigation(Frame* frame) = 0;
49 49
50 protected: 50 protected:
51 virtual ~FrameTreeDelegate() {} 51 virtual ~FrameTreeDelegate() {}
52 }; 52 };
53 53
54 } // namespace mandoline 54 } // namespace mandoline
55 55
56 #endif // MANDOLINE_TAB_FRAME_TREE_DELEGATE_H_ 56 #endif // MANDOLINE_TAB_FRAME_TREE_DELEGATE_H_
OLDNEW
« no previous file with comments | « mandoline/tab/frame_connection.cc ('k') | mandoline/tab/public/cpp/web_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698