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

Side by Side Diff: examples/wm_flow/wm/frame_controller.h

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 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
« no previous file with comments | « examples/wm_flow/embedded/embedded.cc ('k') | examples/wm_flow/wm/wm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXAMPLES_WM_FLOW_WM_FRAME_CONTROLLER_H_ 5 #ifndef EXAMPLES_WM_FLOW_WM_FRAME_CONTROLLER_H_
6 #define EXAMPLES_WM_FLOW_WM_FRAME_CONTROLLER_H_ 6 #define EXAMPLES_WM_FLOW_WM_FRAME_CONTROLLER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "examples/wm_flow/wm/window_frame_host.mojom.h" 9 #include "examples/wm_flow/wm/window_frame_host.mojom.h"
10 #include "mojo/public/cpp/application/interface_factory.h" 10 #include "mojo/public/cpp/application/interface_factory.h"
(...skipping 18 matching lines...) Expand all
29 // to any events targeted at it. 29 // to any events targeted at it.
30 class FrameController 30 class FrameController
31 : public examples::WindowFrameHost, 31 : public examples::WindowFrameHost,
32 public mojo::ViewObserver, 32 public mojo::ViewObserver,
33 public mojo::InterfaceFactory<examples::WindowFrameHost> { 33 public mojo::InterfaceFactory<examples::WindowFrameHost> {
34 public: 34 public:
35 FrameController(const GURL& frame_app_url, 35 FrameController(const GURL& frame_app_url,
36 mojo::View* view, 36 mojo::View* view,
37 mojo::View** app_view, 37 mojo::View** app_view,
38 window_manager::WindowManagerApp* window_manager_app); 38 window_manager::WindowManagerApp* window_manager_app);
39 virtual ~FrameController(); 39 ~FrameController() override;
40 40
41 // mojo::InterfaceFactory<examples::WindowFrameHost> implementation. 41 // mojo::InterfaceFactory<examples::WindowFrameHost> implementation.
42 void Create( 42 void Create(
43 mojo::ApplicationConnection* connection, 43 mojo::ApplicationConnection* connection,
44 mojo::InterfaceRequest<examples::WindowFrameHost> request) override; 44 mojo::InterfaceRequest<examples::WindowFrameHost> request) override;
45 45
46 // examples::WindowFrameHost 46 // examples::WindowFrameHost
47 void CloseWindow() override; 47 void CloseWindow() override;
48 void ToggleMaximize() override; 48 void ToggleMaximize() override;
49 void ActivateWindow() override; 49 void ActivateWindow() override;
(...skipping 11 matching lines...) Expand all
61 gfx::Rect restored_bounds_; 61 gfx::Rect restored_bounds_;
62 window_manager::WindowManagerApp* window_manager_app_; 62 window_manager::WindowManagerApp* window_manager_app_;
63 mojo::ServiceProviderImpl viewer_services_impl_; 63 mojo::ServiceProviderImpl viewer_services_impl_;
64 64
65 mojo::Binding<examples::WindowFrameHost> binding_; 65 mojo::Binding<examples::WindowFrameHost> binding_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(FrameController); 67 DISALLOW_COPY_AND_ASSIGN(FrameController);
68 }; 68 };
69 69
70 #endif // EXAMPLES_WM_FLOW_WM_FRAME_CONTROLLER_H_ 70 #endif // EXAMPLES_WM_FLOW_WM_FRAME_CONTROLLER_H_
OLDNEW
« no previous file with comments | « examples/wm_flow/embedded/embedded.cc ('k') | examples/wm_flow/wm/wm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698