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

Unified Diff: components/web_view/frame.h

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/pdf_viewer/pdf_viewer.cc ('k') | components/web_view/frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/frame.h
diff --git a/components/web_view/frame.h b/components/web_view/frame.h
index 4941cf5ee61ee0f5bae73c27072e8a0bbb11e9ca..17f1236e49e1733196164cfd109c7e1da6ef98d2 100644
--- a/components/web_view/frame.h
+++ b/components/web_view/frame.h
@@ -49,12 +49,12 @@ enum class ViewOwnership {
// by the argument |reuse_existing_view| supplied to OnConnect(). Typically the
// id is that of content handler id, but this is left up to the
// FrameTreeDelegate to decide.
-class Frame : public mojo::ViewObserver, public FrameTreeServer {
+class Frame : public mus::ViewObserver, public FrameTreeServer {
public:
using ClientPropertyMap = std::map<std::string, std::vector<uint8_t>>;
Frame(FrameTree* tree,
- mojo::View* view,
+ mus::View* view,
uint32_t frame_id,
uint32_t app_id,
ViewOwnership view_ownership,
@@ -69,15 +69,15 @@ class Frame : public mojo::ViewObserver, public FrameTreeServer {
// Frame that is associated with |view|. For example, if |view|
// has a Frame associated with it, then that is returned. Otherwise
// this checks view->parent() and so on.
- static Frame* FindFirstFrameAncestor(mojo::View* view);
+ static Frame* FindFirstFrameAncestor(mus::View* view);
FrameTree* tree() { return tree_; }
Frame* parent() { return parent_; }
const Frame* parent() const { return parent_; }
- mojo::View* view() { return view_; }
- const mojo::View* view() const { return view_; }
+ mus::View* view() { return view_; }
+ const mus::View* view() const { return view_; }
uint32_t id() const { return id_; }
@@ -137,7 +137,7 @@ class Frame : public mojo::ViewObserver, public FrameTreeServer {
scoped_ptr<FrameTreeServerBinding> frame_tree_server_binding);
// Callback from OnEmbed().
- void OnEmbedAck(bool success, mojo::ConnectionSpecificId connection_id);
+ void OnEmbedAck(bool success, mus::ConnectionSpecificId connection_id);
// Completes a navigation request; swapping the existing FrameTreeClient to
// the supplied arguments.
@@ -146,7 +146,7 @@ class Frame : public mojo::ViewObserver, public FrameTreeServer {
mojo::ViewTreeClientPtr view_tree_client,
uint32 app_id);
- void SetView(mojo::View* view);
+ void SetView(mus::View* view);
// Returns the first ancestor (starting at |this|) that has a
// FrameTreeClient.
@@ -190,10 +190,10 @@ class Frame : public mojo::ViewObserver, public FrameTreeServer {
const mojo::String& name,
const mojo::Array<uint8_t>& value);
- // mojo::ViewObserver:
+ // mus::ViewObserver:
void OnTreeChanged(const TreeChangeParams& params) override;
- void OnViewDestroying(mojo::View* view) override;
- void OnViewEmbeddedAppDisconnected(mojo::View* view) override;
+ void OnViewDestroying(mus::View* view) override;
+ void OnViewEmbeddedAppDisconnected(mus::View* view) override;
// FrameTreeServer:
void PostMessageEventToFrame(uint32_t source_frame_id,
@@ -217,10 +217,10 @@ class Frame : public mojo::ViewObserver, public FrameTreeServer {
FrameTree* const tree_;
// WARNING: this may be null. See class description for details.
- mojo::View* view_;
+ mus::View* view_;
// The connection id returned from ViewManager::Embed(). Frames created by
// way of OnCreatedFrame() inherit the id from the parent.
- mojo::ConnectionSpecificId embedded_connection_id_;
+ mus::ConnectionSpecificId embedded_connection_id_;
// ID for the frame, which is the same as that of the view.
const uint32_t id_;
// ID of the app providing the FrameTreeClient and ViewTreeClient.
« no previous file with comments | « components/pdf_viewer/pdf_viewer.cc ('k') | components/web_view/frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698