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

Unified Diff: components/mus/example/views_examples/views_examples_application_delegate.cc

Issue 1469733004: Moves components/mus/examples into mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git add Created 5 years, 1 month 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/mus/example/views_examples/views_examples_application_delegate.cc
diff --git a/components/mus/example/views_examples/views_examples_application_delegate.cc b/components/mus/example/views_examples/views_examples_application_delegate.cc
deleted file mode 100644
index 176de7f6d3f128aa21375c37e7b0ce325b86cf8e..0000000000000000000000000000000000000000
--- a/components/mus/example/views_examples/views_examples_application_delegate.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/mus/example/views_examples/views_examples_application_delegate.h"
-
-#include "mojo/application/public/cpp/application_connection.h"
-#include "mojo/application/public/cpp/application_impl.h"
-#include "ui/views/examples/example_base.h"
-#include "ui/views/examples/examples_window.h"
-#include "ui/views/mus/aura_init.h"
-#include "ui/views/mus/window_manager_connection.h"
-
-ViewsExamplesApplicationDelegate::ViewsExamplesApplicationDelegate() {}
-
-ViewsExamplesApplicationDelegate::~ViewsExamplesApplicationDelegate() {
-}
-
-void ViewsExamplesApplicationDelegate::Initialize(mojo::ApplicationImpl* app) {
- tracing_.Initialize(app);
- aura_init_.reset(new views::AuraInit(app, "views_mus_resources.pak"));
-
- views::WindowManagerConnection::Create(app);
-
- views::examples::ShowExamplesWindow(views::examples::DO_NOTHING_ON_CLOSE,
- nullptr, nullptr);
-}
-
-bool ViewsExamplesApplicationDelegate::ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) {
- return false;
-}

Powered by Google App Engine
This is Rietveld 408576698