| 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 "apps/size_constraints.h" | 8 #include "apps/size_constraints.h" |
| 9 #include "apps/ui/native_app_window.h" | 9 #include "apps/ui/native_app_window.h" |
| 10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 virtual void RenderViewCreated( | 120 virtual void RenderViewCreated( |
| 121 content::RenderViewHost* render_view_host) OVERRIDE; | 121 content::RenderViewHost* render_view_host) OVERRIDE; |
| 122 virtual void RenderViewHostChanged( | 122 virtual void RenderViewHostChanged( |
| 123 content::RenderViewHost* old_host, | 123 content::RenderViewHost* old_host, |
| 124 content::RenderViewHost* new_host) OVERRIDE; | 124 content::RenderViewHost* new_host) OVERRIDE; |
| 125 | 125 |
| 126 // views::View implementation. | 126 // views::View implementation. |
| 127 virtual void Layout() OVERRIDE; | 127 virtual void Layout() OVERRIDE; |
| 128 virtual void ViewHierarchyChanged( | 128 virtual void ViewHierarchyChanged( |
| 129 const ViewHierarchyChangedDetails& details) OVERRIDE; | 129 const ViewHierarchyChangedDetails& details) OVERRIDE; |
| 130 virtual gfx::Size GetMinimumSize() OVERRIDE; | 130 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
| 131 virtual gfx::Size GetMaximumSize() OVERRIDE; | 131 virtual gfx::Size GetMaximumSize() OVERRIDE; |
| 132 virtual void OnFocus() OVERRIDE; | 132 virtual void OnFocus() OVERRIDE; |
| 133 | 133 |
| 134 // NativeAppWindow implementation. | 134 // NativeAppWindow implementation. |
| 135 virtual void SetFullscreen(int fullscreen_types) OVERRIDE; | 135 virtual void SetFullscreen(int fullscreen_types) OVERRIDE; |
| 136 virtual bool IsFullscreenOrPending() const OVERRIDE; | 136 virtual bool IsFullscreenOrPending() const OVERRIDE; |
| 137 virtual bool IsDetached() const OVERRIDE; | 137 virtual bool IsDetached() const OVERRIDE; |
| 138 virtual void UpdateWindowIcon() OVERRIDE; | 138 virtual void UpdateWindowIcon() OVERRIDE; |
| 139 virtual void UpdateWindowTitle() OVERRIDE; | 139 virtual void UpdateWindowTitle() OVERRIDE; |
| 140 virtual void UpdateBadgeIcon() OVERRIDE; | 140 virtual void UpdateBadgeIcon() OVERRIDE; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 184 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
| 185 | 185 |
| 186 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; | 186 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; |
| 187 | 187 |
| 188 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); | 188 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); |
| 189 }; | 189 }; |
| 190 | 190 |
| 191 } // namespace apps | 191 } // namespace apps |
| 192 | 192 |
| 193 #endif // APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ | 193 #endif // APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ |
| OLD | NEW |