| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_AURA_ASH_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_AURA_ASH_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_AURA_ASH_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_AURA_ASH_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 // NativeAppWindowViews implementation. | 35 // NativeAppWindowViews implementation. |
| 36 void InitializeWindow( | 36 void InitializeWindow( |
| 37 extensions::AppWindow* app_window, | 37 extensions::AppWindow* app_window, |
| 38 const extensions::AppWindow::CreateParams& create_params) override; | 38 const extensions::AppWindow::CreateParams& create_params) override; |
| 39 | 39 |
| 40 // ChromeNativeAppWindowViews implementation. | 40 // ChromeNativeAppWindowViews implementation. |
| 41 void OnBeforeWidgetInit( | 41 void OnBeforeWidgetInit( |
| 42 const extensions::AppWindow::CreateParams& create_params, | 42 const extensions::AppWindow::CreateParams& create_params, |
| 43 views::Widget::InitParams* init_params, | 43 views::Widget::InitParams* init_params, |
| 44 views::Widget* widget) override; | 44 views::Widget* widget) override; |
| 45 void OnBeforePanelWidgetInit(bool use_default_bounds, | 45 void OnBeforePanelWidgetInit(views::Widget::InitParams* init_params, |
| 46 views::Widget::InitParams* init_params, | |
| 47 views::Widget* widget) override; | 46 views::Widget* widget) override; |
| 48 views::NonClientFrameView* CreateNonStandardAppFrame() override; | 47 views::NonClientFrameView* CreateNonStandardAppFrame() override; |
| 49 | 48 |
| 50 // ui::BaseWindow implementation. | 49 // ui::BaseWindow implementation. |
| 51 gfx::Rect GetRestoredBounds() const override; | 50 gfx::Rect GetRestoredBounds() const override; |
| 52 ui::WindowShowState GetRestoredState() const override; | 51 ui::WindowShowState GetRestoredState() const override; |
| 53 bool IsAlwaysOnTop() const override; | 52 bool IsAlwaysOnTop() const override; |
| 54 | 53 |
| 55 // views::ContextMenuController implementation. | 54 // views::ContextMenuController implementation. |
| 56 void ShowContextMenuForView(views::View* source, | 55 void ShowContextMenuForView(views::View* source, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 82 | 81 |
| 83 // Used to show the system menu. | 82 // Used to show the system menu. |
| 84 std::unique_ptr<ui::MenuModel> menu_model_; | 83 std::unique_ptr<ui::MenuModel> menu_model_; |
| 85 std::unique_ptr<views::MenuModelAdapter> menu_model_adapter_; | 84 std::unique_ptr<views::MenuModelAdapter> menu_model_adapter_; |
| 86 std::unique_ptr<views::MenuRunner> menu_runner_; | 85 std::unique_ptr<views::MenuRunner> menu_runner_; |
| 87 | 86 |
| 88 DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViewsAuraAsh); | 87 DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViewsAuraAsh); |
| 89 }; | 88 }; |
| 90 | 89 |
| 91 #endif // CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_AURA_ASH_
H_ | 90 #endif // CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_AURA_ASH_
H_ |
| OLD | NEW |