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

Side by Side Diff: components/window_manager/window_manager_delegate.h

Issue 1138073007: Nukes the windowmanager interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_
6 #define COMPONENTS_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_
7
8 #include "mojo/application/public/interfaces/service_provider.mojom.h"
9 #include "third_party/mojo/src/mojo/public/cpp/bindings/string.h"
10 #include "ui/mojo/events/input_events.mojom.h"
11 #include "ui/mojo/events/input_key_codes.mojom.h"
12
13 namespace window_manager {
14
15 class WindowManagerDelegate {
16 public:
17 // See WindowManager::Embed() for details.
18 virtual void Embed(const mojo::String& url,
19 mojo::InterfaceRequest<mojo::ServiceProvider> services,
20 mojo::ServiceProviderPtr exposed_services) = 0;
21
22 virtual void OnAcceleratorPressed(mojo::View* view,
23 mojo::KeyboardCode keyboard_code,
24 mojo::EventFlags flags) {}
25
26 protected:
27 virtual ~WindowManagerDelegate() {}
28 };
29
30 } // namespace mojo
31
32 #endif // COMPONENTS_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/window_manager/window_manager_apptest.cc ('k') | components/window_manager/window_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698