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

Unified Diff: components/html_viewer/frame_tree_manager.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/frame.cc ('k') | components/html_viewer/frame_tree_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/frame_tree_manager.h
diff --git a/components/html_viewer/frame_tree_manager.h b/components/html_viewer/frame_tree_manager.h
index c92730af63109630fe0cb957bbd7d2c9e7060391..50155733dc17f503b07438d1232c142fbba2b78f 100644
--- a/components/html_viewer/frame_tree_manager.h
+++ b/components/html_viewer/frame_tree_manager.h
@@ -18,6 +18,7 @@ class WebFrame;
class WebFrameClient;
class WebLocalFrame;
class WebRemoteFrameClient;
+class WebString;
class WebView;
}
@@ -75,9 +76,6 @@ class FrameTreeManager : public mandoline::FrameTreeClient {
private:
friend class Frame;
- // Recursively calls Init() on |frame| and it's children.
- void InitFrames(mojo::View* local_view, Frame* frame);
-
// Returns the navigation policy for the specified frame.
blink::WebNavigationPolicy DecidePolicyForNavigation(
Frame* frame,
@@ -92,11 +90,15 @@ class FrameTreeManager : public mandoline::FrameTreeClient {
// Invoked when a Frame is destroye.
void OnFrameDestroyed(Frame* frame);
+ // Invoked when the name of a frame changes.
+ void OnFrameDidChangeName(Frame* frame, const blink::WebString& name);
+
// mandoline::FrameTreeClient:
void OnConnect(mandoline::FrameTreeServerPtr server,
mojo::Array<mandoline::FrameDataPtr> frame_data) override;
void OnFrameAdded(mandoline::FrameDataPtr frame_data) override;
void OnFrameRemoved(uint32_t frame_id) override;
+ void OnFrameNameChanged(uint32_t frame_id, const mojo::String& name) override;
GlobalState* global_state_;
« no previous file with comments | « components/html_viewer/frame.cc ('k') | components/html_viewer/frame_tree_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698