| 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 APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ | 5 #ifndef APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ |
| 6 #define APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ | 6 #define APPS_UI_VIEWS_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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 virtual SkColor InactiveFrameColor() const OVERRIDE; | 154 virtual SkColor InactiveFrameColor() const OVERRIDE; |
| 155 virtual gfx::Insets GetFrameInsets() const OVERRIDE; | 155 virtual gfx::Insets GetFrameInsets() const OVERRIDE; |
| 156 virtual void HideWithApp() OVERRIDE; | 156 virtual void HideWithApp() OVERRIDE; |
| 157 virtual void ShowWithApp() OVERRIDE; | 157 virtual void ShowWithApp() OVERRIDE; |
| 158 virtual void UpdateShelfMenu() OVERRIDE; | 158 virtual void UpdateShelfMenu() OVERRIDE; |
| 159 virtual gfx::Size GetContentMinimumSize() const OVERRIDE; | 159 virtual gfx::Size GetContentMinimumSize() const OVERRIDE; |
| 160 virtual gfx::Size GetContentMaximumSize() const OVERRIDE; | 160 virtual gfx::Size GetContentMaximumSize() const OVERRIDE; |
| 161 virtual void SetContentSizeConstraints(const gfx::Size& min_size, | 161 virtual void SetContentSizeConstraints(const gfx::Size& min_size, |
| 162 const gfx::Size& max_size) OVERRIDE; | 162 const gfx::Size& max_size) OVERRIDE; |
| 163 virtual bool CanHaveAlphaEnabled() const OVERRIDE; | 163 virtual bool CanHaveAlphaEnabled() const OVERRIDE; |
| 164 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE; |
| 164 | 165 |
| 165 // web_modal::WebContentsModalDialogHost implementation. | 166 // web_modal::WebContentsModalDialogHost implementation. |
| 166 virtual gfx::NativeView GetHostView() const OVERRIDE; | 167 virtual gfx::NativeView GetHostView() const OVERRIDE; |
| 167 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; | 168 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; |
| 168 virtual gfx::Size GetMaximumDialogSize() OVERRIDE; | 169 virtual gfx::Size GetMaximumDialogSize() OVERRIDE; |
| 169 virtual void AddObserver( | 170 virtual void AddObserver( |
| 170 web_modal::ModalDialogHostObserver* observer) OVERRIDE; | 171 web_modal::ModalDialogHostObserver* observer) OVERRIDE; |
| 171 virtual void RemoveObserver( | 172 virtual void RemoveObserver( |
| 172 web_modal::ModalDialogHostObserver* observer) OVERRIDE; | 173 web_modal::ModalDialogHostObserver* observer) OVERRIDE; |
| 173 | 174 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 188 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 189 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
| 189 | 190 |
| 190 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; | 191 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; |
| 191 | 192 |
| 192 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); | 193 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); |
| 193 }; | 194 }; |
| 194 | 195 |
| 195 } // namespace apps | 196 } // namespace apps |
| 196 | 197 |
| 197 #endif // APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ | 198 #endif // APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ |
| OLD | NEW |