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

Unified Diff: components/web_view/web_view_impl.cc

Issue 1340983002: Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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
Index: components/web_view/web_view_impl.cc
diff --git a/components/web_view/web_view_impl.cc b/components/web_view/web_view_impl.cc
index 97e0b7eaa0bd13cb72c602ab4980f144516c7dce..ca7a47547faf343184a4aff77d418904c7f63da5 100644
--- a/components/web_view/web_view_impl.cc
+++ b/components/web_view/web_view_impl.cc
@@ -51,7 +51,7 @@ WebViewImpl::~WebViewImpl() {
content_->RemoveObserver(this);
if (root_) {
root_->RemoveObserver(this);
- mojo::ScopedViewPtr::DeleteViewOrViewManager(root_);
+ mus::ScopedViewPtr::DeleteViewOrViewManager(root_);
}
}
@@ -109,7 +109,7 @@ void WebViewImpl::LoadRequest(mojo::URLRequestPtr request) {
void WebViewImpl::GetViewTreeClient(
mojo::InterfaceRequest<mojo::ViewTreeClient> view_tree_client) {
- mojo::ViewTreeConnection::Create(this, view_tree_client.Pass());
+ mus::ViewTreeConnection::Create(this, view_tree_client.Pass());
}
void WebViewImpl::GoBack() {
@@ -138,9 +138,9 @@ void WebViewImpl::GoForward() {
}
////////////////////////////////////////////////////////////////////////////////
-// WebViewImpl, mojo::ViewTreeDelegate implementation:
+// WebViewImpl, mus::ViewTreeDelegate implementation:
-void WebViewImpl::OnEmbed(mojo::View* root) {
+void WebViewImpl::OnEmbed(mus::View* root) {
// We must have been granted embed root priviledges, otherwise we can't
// Embed() in any descendants.
DCHECK(root->connection()->IsEmbedRoot());
@@ -157,14 +157,14 @@ void WebViewImpl::OnEmbed(mojo::View* root) {
OnLoad();
}
-void WebViewImpl::OnConnectionLost(mojo::ViewTreeConnection* connection) {
+void WebViewImpl::OnConnectionLost(mus::ViewTreeConnection* connection) {
root_ = nullptr;
}
////////////////////////////////////////////////////////////////////////////////
-// WebViewImpl, mojo::ViewObserver implementation:
+// WebViewImpl, mus::ViewObserver implementation:
-void WebViewImpl::OnViewBoundsChanged(mojo::View* view,
+void WebViewImpl::OnViewBoundsChanged(mus::View* view,
const mojo::Rect& old_bounds,
const mojo::Rect& new_bounds) {
if (view != content_) {
@@ -175,7 +175,7 @@ void WebViewImpl::OnViewBoundsChanged(mojo::View* view,
}
}
-void WebViewImpl::OnViewDestroyed(mojo::View* view) {
+void WebViewImpl::OnViewDestroyed(mus::View* view) {
// |FrameTree| cannot outlive the content view.
if (view == content_) {
frame_tree_.reset();
« no previous file with comments | « components/web_view/web_view_impl.h ('k') | mandoline/services/core_services/application_delegate_factory_notandroid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698