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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "extensions/components/native_app_window/native_app_window_views.h" | 11 #include "extensions/components/native_app_window/native_app_window_views.h" |
12 | 12 |
13 namespace apps { | |
14 class AppWindowFrameView; | |
15 } | |
16 | |
17 class ExtensionKeybindingRegistryViews; | 13 class ExtensionKeybindingRegistryViews; |
18 | 14 |
19 class ChromeNativeAppWindowViews | 15 class ChromeNativeAppWindowViews |
20 : public native_app_window::NativeAppWindowViews { | 16 : public native_app_window::NativeAppWindowViews { |
21 public: | 17 public: |
22 ChromeNativeAppWindowViews(); | 18 ChromeNativeAppWindowViews(); |
23 ~ChromeNativeAppWindowViews() override; | 19 ~ChromeNativeAppWindowViews() override; |
24 | 20 |
25 SkRegion* shape() { return shape_.get(); } | 21 SkRegion* shape() { return shape_.get(); } |
26 | 22 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 gfx::Size preferred_size_; | 81 gfx::Size preferred_size_; |
86 | 82 |
87 // The class that registers for keyboard shortcuts for extension commands. | 83 // The class that registers for keyboard shortcuts for extension commands. |
88 std::unique_ptr<ExtensionKeybindingRegistryViews> | 84 std::unique_ptr<ExtensionKeybindingRegistryViews> |
89 extension_keybinding_registry_; | 85 extension_keybinding_registry_; |
90 | 86 |
91 DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViews); | 87 DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViews); |
92 }; | 88 }; |
93 | 89 |
94 #endif // CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_H_ | 90 #endif // CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_H_ |
OLD | NEW |