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; |
98 void SaveWindowPlacement(const gfx::Rect& bounds, | 99 void SaveWindowPlacement(const gfx::Rect& bounds, |
99 ui::WindowShowState show_state) override; | 100 ui::WindowShowState show_state) override; |
100 void DeleteDelegate() override; | 101 void DeleteDelegate() override; |
101 views::Widget* GetWidget() override; | 102 views::Widget* GetWidget() override; |
102 const views::Widget* GetWidget() const override; | 103 const views::Widget* GetWidget() const override; |
103 bool ShouldDescendIntoChildForEventHandling( | 104 bool ShouldDescendIntoChildForEventHandling( |
104 gfx::NativeView child, | 105 gfx::NativeView child, |
105 const gfx::Point& location) override; | 106 const gfx::Point& location) override; |
106 | 107 |
107 // WidgetObserver implementation. | 108 // WidgetObserver implementation. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 173 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
173 | 174 |
174 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_; | 175 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_; |
175 | 176 |
176 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); | 177 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); |
177 }; | 178 }; |
178 | 179 |
179 } // namespace native_app_window | 180 } // namespace native_app_window |
180 | 181 |
181 #endif // EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ | 182 #endif // EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ |
OLD | NEW |