| 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 CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_H_ |
| 7 | 7 |
| 8 #include "apps/ui/views/native_app_window_views.h" | 8 #include "apps/ui/views/native_app_window_views.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "ui/views/context_menu_controller.h" | 10 #include "ui/views/context_menu_controller.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 // NativeAppWindow implementation. | 72 // NativeAppWindow implementation. |
| 73 virtual void SetFullscreen(int fullscreen_types) OVERRIDE; | 73 virtual void SetFullscreen(int fullscreen_types) OVERRIDE; |
| 74 virtual bool IsFullscreenOrPending() const OVERRIDE; | 74 virtual bool IsFullscreenOrPending() const OVERRIDE; |
| 75 virtual bool IsDetached() const OVERRIDE; | 75 virtual bool IsDetached() const OVERRIDE; |
| 76 virtual void UpdateBadgeIcon() OVERRIDE; | 76 virtual void UpdateBadgeIcon() OVERRIDE; |
| 77 virtual void UpdateShape(scoped_ptr<SkRegion> region) OVERRIDE; | 77 virtual void UpdateShape(scoped_ptr<SkRegion> region) OVERRIDE; |
| 78 virtual bool HasFrameColor() const OVERRIDE; | 78 virtual bool HasFrameColor() const OVERRIDE; |
| 79 virtual SkColor ActiveFrameColor() const OVERRIDE; | 79 virtual SkColor ActiveFrameColor() const OVERRIDE; |
| 80 virtual SkColor InactiveFrameColor() const OVERRIDE; | 80 virtual SkColor InactiveFrameColor() const OVERRIDE; |
| 81 virtual void SetInterceptAllKeys(bool want_all_keys) OVERRIDE; |
| 81 | 82 |
| 82 // NativeAppWindowViews implementation. | 83 // NativeAppWindowViews implementation. |
| 83 virtual void InitializeWindow( | 84 virtual void InitializeWindow( |
| 84 apps::AppWindow* app_window, | 85 apps::AppWindow* app_window, |
| 85 const apps::AppWindow::CreateParams& create_params) OVERRIDE; | 86 const apps::AppWindow::CreateParams& create_params) OVERRIDE; |
| 86 | 87 |
| 87 // True if the window is fullscreen or fullscreen is pending. | 88 // True if the window is fullscreen or fullscreen is pending. |
| 88 bool is_fullscreen_; | 89 bool is_fullscreen_; |
| 89 | 90 |
| 90 // Custom shape of the window. If this is not set then the window has a | 91 // Custom shape of the window. If this is not set then the window has a |
| (...skipping 17 matching lines...) Expand all Loading... |
| 108 immersive_fullscreen_controller_; | 109 immersive_fullscreen_controller_; |
| 109 #endif // defined(USE_ASH) | 110 #endif // defined(USE_ASH) |
| 110 | 111 |
| 111 // Used to show the system menu. | 112 // Used to show the system menu. |
| 112 scoped_ptr<views::MenuRunner> menu_runner_; | 113 scoped_ptr<views::MenuRunner> menu_runner_; |
| 113 | 114 |
| 114 DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViews); | 115 DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViews); |
| 115 }; | 116 }; |
| 116 | 117 |
| 117 #endif // CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_H_ | 118 #endif // CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_H_ |
| OLD | NEW |