mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This CL goes from this: //mojo/services/public/interfaces/content_handler to this: //mojo/services/content_handler/public/interfaces This CL also makes the Mojo-side changes necessary to roll this change into Chromium. TBR=beng Review URL: https://codereview.chromium.org/793243002
31 lines
902 B
C++
31 lines
902 B
C++
// Copyright 2014 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.
|
|
|
|
#ifndef SKY_VIEWER_CONTENT_HANDLER_IMPL_H_
|
|
#define SKY_VIEWER_CONTENT_HANDLER_IMPL_H_
|
|
|
|
#include "base/message_loop/message_loop.h"
|
|
#include "mojo/public/interfaces/application/shell.mojom.h"
|
|
#include "mojo/services/content_handler/public/interfaces/content_handler.mojom.h"
|
|
|
|
namespace sky {
|
|
class DocumentView;
|
|
|
|
class ContentHandlerImpl : public mojo::InterfaceImpl<mojo::ContentHandler> {
|
|
public:
|
|
ContentHandlerImpl();
|
|
~ContentHandlerImpl() override;
|
|
|
|
private:
|
|
// Overridden from ContentHandler:
|
|
void StartApplication(mojo::ShellPtr shell,
|
|
mojo::URLResponsePtr response) override;
|
|
|
|
DISALLOW_COPY_AND_ASSIGN(ContentHandlerImpl);
|
|
};
|
|
|
|
} // namespace sky
|
|
|
|
#endif // SKY_VIEWER_CONTENT_HANDLER_IMPL_H_
|