| 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 COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ | 5 #ifndef COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ |
| 6 #define COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ | 6 #define COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ |
| 7 | 7 |
| 8 #include "base/observer_list.h" | 8 #include "base/observer_list.h" |
| 9 #include "content/public/browser/web_contents_observer.h" | 9 #include "content/public/browser/web_contents_observer.h" |
| 10 #include "extensions/browser/app_window/app_window.h" | 10 #include "extensions/browser/app_window/app_window.h" |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 93 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 94 virtual void FlashFrame(bool flash) OVERRIDE; | 94 virtual void FlashFrame(bool flash) OVERRIDE; |
| 95 virtual bool IsAlwaysOnTop() const OVERRIDE; | 95 virtual bool IsAlwaysOnTop() const OVERRIDE; |
| 96 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; | 96 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; |
| 97 | 97 |
| 98 // WidgetDelegate implementation. | 98 // WidgetDelegate implementation. |
| 99 virtual void OnWidgetMove() OVERRIDE; | 99 virtual void OnWidgetMove() OVERRIDE; |
| 100 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 100 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
| 101 virtual bool CanResize() const OVERRIDE; | 101 virtual bool CanResize() const OVERRIDE; |
| 102 virtual bool CanMaximize() const OVERRIDE; | 102 virtual bool CanMaximize() const OVERRIDE; |
| 103 virtual bool CanMinimize() const OVERRIDE; |
| 103 virtual base::string16 GetWindowTitle() const OVERRIDE; | 104 virtual base::string16 GetWindowTitle() const OVERRIDE; |
| 104 virtual bool ShouldShowWindowTitle() const OVERRIDE; | 105 virtual bool ShouldShowWindowTitle() const OVERRIDE; |
| 105 virtual bool ShouldShowWindowIcon() const OVERRIDE; | 106 virtual bool ShouldShowWindowIcon() const OVERRIDE; |
| 106 virtual void SaveWindowPlacement(const gfx::Rect& bounds, | 107 virtual void SaveWindowPlacement(const gfx::Rect& bounds, |
| 107 ui::WindowShowState show_state) OVERRIDE; | 108 ui::WindowShowState show_state) OVERRIDE; |
| 108 virtual void DeleteDelegate() OVERRIDE; | 109 virtual void DeleteDelegate() OVERRIDE; |
| 109 virtual views::Widget* GetWidget() OVERRIDE; | 110 virtual views::Widget* GetWidget() OVERRIDE; |
| 110 virtual const views::Widget* GetWidget() const OVERRIDE; | 111 virtual const views::Widget* GetWidget() const OVERRIDE; |
| 111 virtual views::View* GetContentsView() OVERRIDE; | 112 virtual views::View* GetContentsView() OVERRIDE; |
| 112 virtual bool ShouldDescendIntoChildForEventHandling( | 113 virtual bool ShouldDescendIntoChildForEventHandling( |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 188 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
| 188 | 189 |
| 189 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; | 190 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; |
| 190 | 191 |
| 191 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); | 192 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); |
| 192 }; | 193 }; |
| 193 | 194 |
| 194 } // namespace native_app_window | 195 } // namespace native_app_window |
| 195 | 196 |
| 196 #endif // COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ | 197 #endif // COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ |
| OLD | NEW |