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 EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_ | 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_ |
6 #define EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_ | 6 #define EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "components/web_modal/web_contents_modal_dialog_host.h" | 11 #include "components/web_modal/web_contents_modal_dialog_host.h" |
12 #include "third_party/skia/include/core/SkColor.h" | 12 #include "third_party/skia/include/core/SkColor.h" |
13 #include "ui/base/base_window.h" | 13 #include "ui/base/base_window.h" |
14 #include "ui/gfx/insets.h" | 14 #include "ui/gfx/geometry/insets.h" |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 struct NativeWebKeyboardEvent; | 17 struct NativeWebKeyboardEvent; |
18 } | 18 } |
19 | 19 |
20 namespace extensions { | 20 namespace extensions { |
21 | 21 |
22 struct DraggableRegion; | 22 struct DraggableRegion; |
23 | 23 |
24 // This is an interface to a native implementation of a app window, used for | 24 // This is an interface to a native implementation of a app window, used for |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 // Returns false if the underlying native window ignores alpha transparency | 102 // Returns false if the underlying native window ignores alpha transparency |
103 // when compositing. | 103 // when compositing. |
104 virtual bool CanHaveAlphaEnabled() const = 0; | 104 virtual bool CanHaveAlphaEnabled() const = 0; |
105 | 105 |
106 ~NativeAppWindow() override {} | 106 ~NativeAppWindow() override {} |
107 }; | 107 }; |
108 | 108 |
109 } // namespace extensions | 109 } // namespace extensions |
110 | 110 |
111 #endif // EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_ | 111 #endif // EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_ |
OLD | NEW |