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

Unified Diff: components/web_view/frame.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
« no previous file with comments | « components/web_view/frame.h ('k') | components/web_view/frame_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/frame.cc
diff --git a/components/web_view/frame.cc b/components/web_view/frame.cc
index 17e959f1ec7350ddbb654dbe3cc8f54e1d08b00f..ffab344921ee5ad292ebb17eed526ddaf245d43a 100644
--- a/components/web_view/frame.cc
+++ b/components/web_view/frame.cc
@@ -18,7 +18,7 @@
#include "components/web_view/frame_utils.h"
#include "mojo/application/public/interfaces/shell.mojom.h"
-using mojo::View;
+using mus::View;
DECLARE_VIEW_PROPERTY_TYPE(web_view::Frame*);
@@ -30,7 +30,7 @@ DEFINE_LOCAL_VIEW_PROPERTY_KEY(Frame*, kFrame, nullptr);
namespace {
const uint32_t kNoParentId = 0u;
-const mojo::ConnectionSpecificId kInvalidConnectionId = 0u;
+const mus::ConnectionSpecificId kInvalidConnectionId = 0u;
FrameDataPtr FrameToFrameData(const Frame* frame) {
FrameDataPtr frame_data(FrameData::New());
@@ -220,12 +220,12 @@ void Frame::ChangeClient(FrameTreeClient* frame_tree_client,
view_tree_client.Pass());
}
-void Frame::OnEmbedAck(bool success, mojo::ConnectionSpecificId connection_id) {
+void Frame::OnEmbedAck(bool success, mus::ConnectionSpecificId connection_id) {
if (success)
embedded_connection_id_ = connection_id;
}
-void Frame::SetView(mojo::View* view) {
+void Frame::SetView(mus::View* view) {
DCHECK(!view_);
DCHECK_EQ(id_, view->id());
view_ = view;
@@ -395,7 +395,7 @@ void Frame::OnTreeChanged(const TreeChangeParams& params) {
}
}
-void Frame::OnViewDestroying(mojo::View* view) {
+void Frame::OnViewDestroying(mus::View* view) {
if (parent_)
parent_->Remove(this);
@@ -412,7 +412,7 @@ void Frame::OnViewDestroying(mojo::View* view) {
delete this;
}
-void Frame::OnViewEmbeddedAppDisconnected(mojo::View* view) {
+void Frame::OnViewEmbeddedAppDisconnected(mus::View* view) {
// See FrameTreeDelegate::OnViewEmbeddedAppDisconnected() for details of when
// this happens.
//
« no previous file with comments | « components/web_view/frame.h ('k') | components/web_view/frame_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698