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

Unified Diff: components/web_view/frame_tree_delegate.h

Issue 1347023003: Rename frame classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 2 trunk Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/web_view/frame_tree.cc ('k') | components/web_view/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/frame_tree_delegate.h
diff --git a/components/web_view/frame_tree_delegate.h b/components/web_view/frame_tree_delegate.h
index 2b57ea9e96c3fb070f166d66ee23b07732cf6192..d14fe72a4e9359a1e6b9da3ed471c375ac4b40e6 100644
--- a/components/web_view/frame_tree_delegate.h
+++ b/components/web_view/frame_tree_delegate.h
@@ -10,35 +10,38 @@
#include "base/callback_forward.h"
#include "base/memory/scoped_ptr.h"
#include "components/mus/public/interfaces/view_tree.mojom.h"
-#include "components/web_view/public/interfaces/frame_tree.mojom.h"
+#include "components/web_view/public/interfaces/frame.mojom.h"
#include "mojo/services/network/public/interfaces/url_loader.mojom.h"
namespace web_view {
class Frame;
class FrameUserData;
+
+namespace mojom {
class HTMLMessageEvent;
+}
class FrameTreeDelegate {
public:
// Callback from CanNavigateFrame(). The uint32_t is the id of the app the
- // FrameTreeClient comes from; typically the content handler id.
+ // FrameClient comes from; typically the content handler id.
using CanNavigateFrameCallback =
base::Callback<void(uint32_t,
- FrameTreeClient*,
+ mojom::FrameClient*,
scoped_ptr<FrameUserData>,
mojo::ViewTreeClientPtr)>;
// Called when a Frame creates a new child Frame. |frame_tree_client| is the
- // FrameTreeClient for the new frame.
+ // FrameClient for the new frame.
virtual scoped_ptr<FrameUserData> CreateUserDataForNewFrame(
- FrameTreeClientPtr frame_tree_client) = 0;
+ mojom::FrameClientPtr frame_client) = 0;
// Returns whether a request to post a message from |source| to |target|
// is allowed. |source| and |target| are never null.
virtual bool CanPostMessageEventToFrame(const Frame* source,
const Frame* target,
- HTMLMessageEvent* event) = 0;
+ mojom::HTMLMessageEvent* event) = 0;
virtual void LoadingStateChanged(bool loading, double progress) = 0;
« no previous file with comments | « components/web_view/frame_tree.cc ('k') | components/web_view/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698