diff options
author | thakis <thakis@chromium.org> | 2015-09-16 19:48:48 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-17 02:49:24 +0000 |
commit | 35b19f7d5d7b7b68878d6c766e93e148f8b06998 (patch) | |
tree | 546289030a5e80740af920e59ce31827d907bd2a /components/html_viewer/html_frame.cc | |
parent | eef6f20ef572c4c128612384a63384aaa7d23fe7 (diff) | |
download | chromium_src-35b19f7d5d7b7b68878d6c766e93e148f8b06998.zip chromium_src-35b19f7d5d7b7b68878d6c766e93e148f8b06998.tar.gz chromium_src-35b19f7d5d7b7b68878d6c766e93e148f8b06998.tar.bz2 |
Revert of Mandoline UI Process: Update namespaces and file names (patchset #9 id:150001 of https://codereview.chromium.org/1340983002/ )
Reason for revert:
Speculative, might've broken mojo_apptests on http://build.chromium.org/p/chromium.linux/builders/Linux%20GN/builds/32066
Original issue's description:
> Mandoline UI Process: Update namespaces and file names
>
> This CL updates namespaces in components/mus to mus from mojo, surfaces, gles2, and view_manager.
>
> BUG=531533
> TBR=jam@chromium.org for trivial pdf_viewer change.
>
> Committed: https://crrev.com/49b0d73f3ebb4801fc518751145504af3a2f70ed
> Cr-Commit-Position: refs/heads/master@{#349229}
TBR=sky@chromium.org,fsamuel@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=531533
Review URL: https://codereview.chromium.org/1351013002
Cr-Commit-Position: refs/heads/master@{#349332}
Diffstat (limited to 'components/html_viewer/html_frame.cc')
-rw-r--r-- | components/html_viewer/html_frame.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/components/html_viewer/html_frame.cc b/components/html_viewer/html_frame.cc index 77d1524..718722f 100644 --- a/components/html_viewer/html_frame.cc +++ b/components/html_viewer/html_frame.cc @@ -71,7 +71,7 @@ using mojo::AxProvider; using mojo::Rect; using mojo::ServiceProviderPtr; using mojo::URLResponsePtr; -using mus::View; +using mojo::View; using web_view::HTMLMessageEvent; using web_view::HTMLMessageEventPtr; @@ -275,7 +275,7 @@ HTMLFrame::~HTMLFrame() { if (view_) { view_->RemoveObserver(this); - mus::ScopedViewPtr::DeleteViewOrViewManager(view_); + mojo::ScopedViewPtr::DeleteViewOrViewManager(view_); } } @@ -300,7 +300,7 @@ blink::WebFrame* HTMLFrame::createChildFrame( DCHECK(view_); // If we're local we have to have a view. // Create the view that will house the frame now. We embed once we know the // url (see decidePolicyForNavigation()). - mus::View* child_view = view_->connection()->CreateView(); + mojo::View* child_view = view_->connection()->CreateView(); ReplicatedFrameState child_state; child_state.name = frame_name; child_state.tree_scope = scope; @@ -320,7 +320,7 @@ blink::WebFrame* HTMLFrame::createChildFrame( params.allow_local_shared_frame = true; HTMLFrame* child_frame = GetLocalRoot()->delegate_->GetHTMLFactory()->CreateHTMLFrame(¶ms); - child_frame->owned_view_.reset(new mus::ScopedViewPtr(child_view)); + child_frame->owned_view_.reset(new mojo::ScopedViewPtr(child_view)); return child_frame->web_frame_; } @@ -494,7 +494,7 @@ web_view::FrameTreeServer* HTMLFrame::GetFrameTreeServer() { return frame_tree_manager_->local_root_->server_.get(); } -void HTMLFrame::SetView(mus::View* view) { +void HTMLFrame::SetView(mojo::View* view) { if (view_) view_->RemoveObserver(this); view_ = view; @@ -561,7 +561,7 @@ void HTMLFrame::SwapToRemote() { void HTMLFrame::SwapToLocal( HTMLFrameDelegate* delegate, - mus::View* view, + mojo::View* view, const mojo::Map<mojo::String, mojo::Array<uint8_t>>& properties) { CHECK(!IsLocal()); // It doesn't make sense for the root to swap to local. @@ -662,8 +662,8 @@ void HTMLFrame::OnViewInputEvent(View* view, const mojo::EventPtr& event) { web_widget->handleInputEvent(*web_event); } -void HTMLFrame::OnViewFocusChanged(mus::View* gained_focus, - mus::View* lost_focus) { +void HTMLFrame::OnViewFocusChanged(mojo::View* gained_focus, + mojo::View* lost_focus) { UpdateFocus(); } |