OLD | NEW |
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 EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ | 5 #ifndef EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ |
6 #define EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ | 6 #define EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 void SetAlwaysOnTop(bool always_on_top) override; | 88 void SetAlwaysOnTop(bool always_on_top) override; |
89 | 89 |
90 // WidgetDelegate implementation. | 90 // WidgetDelegate implementation. |
91 void OnWidgetMove() override; | 91 void OnWidgetMove() override; |
92 views::View* GetInitiallyFocusedView() override; | 92 views::View* GetInitiallyFocusedView() override; |
93 bool CanResize() const override; | 93 bool CanResize() const override; |
94 bool CanMaximize() const override; | 94 bool CanMaximize() const override; |
95 bool CanMinimize() const override; | 95 bool CanMinimize() const override; |
96 base::string16 GetWindowTitle() const override; | 96 base::string16 GetWindowTitle() const override; |
97 bool ShouldShowWindowTitle() const override; | 97 bool ShouldShowWindowTitle() const override; |
98 bool ShouldShowWindowIcon() const override; | |
99 void SaveWindowPlacement(const gfx::Rect& bounds, | 98 void SaveWindowPlacement(const gfx::Rect& bounds, |
100 ui::WindowShowState show_state) override; | 99 ui::WindowShowState show_state) override; |
101 void DeleteDelegate() override; | 100 void DeleteDelegate() override; |
102 views::Widget* GetWidget() override; | 101 views::Widget* GetWidget() override; |
103 const views::Widget* GetWidget() const override; | 102 const views::Widget* GetWidget() const override; |
104 bool ShouldDescendIntoChildForEventHandling( | 103 bool ShouldDescendIntoChildForEventHandling( |
105 gfx::NativeView child, | 104 gfx::NativeView child, |
106 const gfx::Point& location) override; | 105 const gfx::Point& location) override; |
107 | 106 |
108 // WidgetObserver implementation. | 107 // WidgetObserver implementation. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 172 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
174 | 173 |
175 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_; | 174 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_; |
176 | 175 |
177 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); | 176 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); |
178 }; | 177 }; |
179 | 178 |
180 } // namespace native_app_window | 179 } // namespace native_app_window |
181 | 180 |
182 #endif // EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ | 181 #endif // EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ |
OLD | NEW |