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

Side by Side Diff: ash/mus/non_client_frame_controller.h

Issue 2390953004: WidgetDelegateView is its own contents view. (Closed)
Patch Set: another minor fix Created 4 years, 2 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 ASH_MUS_NON_CLIENT_FRAME_CONTROLLER_H_ 5 #ifndef ASH_MUS_NON_CLIENT_FRAME_CONTROLLER_H_
6 #define ASH_MUS_NON_CLIENT_FRAME_CONTROLLER_H_ 6 #define ASH_MUS_NON_CLIENT_FRAME_CONTROLLER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "ash/mus/frame/detached_title_area_renderer_host.h" 10 #include "ash/mus/frame/detached_title_area_renderer_host.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ui::Window* window, 49 ui::Window* window,
50 ui::WindowManagerClient* window_manager_client); 50 ui::WindowManagerClient* window_manager_client);
51 ~NonClientFrameController() override; 51 ~NonClientFrameController() override;
52 52
53 // DetachedTitleAreaRendererHost: 53 // DetachedTitleAreaRendererHost:
54 void OnDetachedTitleAreaRendererDestroyed( 54 void OnDetachedTitleAreaRendererDestroyed(
55 DetachedTitleAreaRenderer* renderer) override; 55 DetachedTitleAreaRenderer* renderer) override;
56 56
57 // views::WidgetDelegateView: 57 // views::WidgetDelegateView:
58 base::string16 GetWindowTitle() const override; 58 base::string16 GetWindowTitle() const override;
59 views::View* GetContentsView() override;
60 bool CanResize() const override; 59 bool CanResize() const override;
61 bool CanMaximize() const override; 60 bool CanMaximize() const override;
62 bool CanMinimize() const override; 61 bool CanMinimize() const override;
63 bool ShouldShowWindowTitle() const override; 62 bool ShouldShowWindowTitle() const override;
64 views::ClientView* CreateClientView(views::Widget* widget) override; 63 views::ClientView* CreateClientView(views::Widget* widget) override;
65 64
66 // ui::WindowObserver: 65 // ui::WindowObserver:
67 void OnTreeChanged(const TreeChangeParams& params) override; 66 void OnTreeChanged(const TreeChangeParams& params) override;
68 void OnWindowSharedPropertyChanged( 67 void OnWindowSharedPropertyChanged(
69 ui::Window* window, 68 ui::Window* window,
(...skipping 15 matching lines...) Expand all
85 // kRendererParentTitleArea_Property set. 84 // kRendererParentTitleArea_Property set.
86 DetachedTitleAreaRenderer* detached_title_area_renderer_ = nullptr; 85 DetachedTitleAreaRenderer* detached_title_area_renderer_ = nullptr;
87 86
88 DISALLOW_COPY_AND_ASSIGN(NonClientFrameController); 87 DISALLOW_COPY_AND_ASSIGN(NonClientFrameController);
89 }; 88 };
90 89
91 } // namespace mus 90 } // namespace mus
92 } // namespace ash 91 } // namespace ash
93 92
94 #endif // ASH_MUS_NON_CLIENT_FRAME_CONTROLLER_H_ 93 #endif // ASH_MUS_NON_CLIENT_FRAME_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698