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

Unified Diff: components/html_viewer/frame.h

Issue 1239313004: More html_viewer OOPIF changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile Created 5 years, 5 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/html_viewer/document_resource_waiter.cc ('k') | components/html_viewer/frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/frame.h
diff --git a/components/html_viewer/frame.h b/components/html_viewer/frame.h
index 68dedfc3f580ff7a33351bd1ad5a6a54cd026b8f..c49b63a8daaa5f44b64a7e3e5c05b65f816a72f4 100644
--- a/components/html_viewer/frame.h
+++ b/components/html_viewer/frame.h
@@ -56,7 +56,9 @@ class Frame : public blink::WebFrameClient,
explicit Frame(const CreateParams& params);
- void Init(mojo::View* local_view);
+ void Init(mojo::View* local_view,
+ const blink::WebString& remote_frame_name,
+ const blink::WebString& remote_origin);
// Closes and deletes this Frame.
void Close();
@@ -91,6 +93,9 @@ class Frame : public blink::WebFrameClient,
virtual ~Frame();
+ // Sets the name of the remote frame. Does nothing if this is a local frame.
+ void SetRemoteFrameName(const mojo::String& name);
+
// Returns true if the Frame is local, false if remote.
bool IsLocal() const;
@@ -164,6 +169,8 @@ class Frame : public blink::WebFrameClient,
virtual void didStartLoading(bool to_different_document);
virtual void didStopLoading();
virtual void didChangeLoadProgress(double load_progress);
+ virtual void didChangeName(blink::WebLocalFrame* frame,
+ const blink::WebString& name);
// blink::WebRemoteFrameClient:
virtual void frameDetached(blink::WebRemoteFrameClient::DetachType type);
« no previous file with comments | « components/html_viewer/document_resource_waiter.cc ('k') | components/html_viewer/frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698