Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Side by Side Diff: extensions/browser/app_window/native_app_window.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/clipboard_messages.h ('k') | ui/accelerated_widget_mac/accelerated_widget_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
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/geometry/insets.h" 14 #include "ui/gfx/geometry/insets.h"
15 15
16 class SkRegion;
17
16 namespace content { 18 namespace content {
17 struct NativeWebKeyboardEvent; 19 struct NativeWebKeyboardEvent;
18 } 20 }
19 21
20 namespace extensions { 22 namespace extensions {
21 23
22 struct DraggableRegion; 24 struct DraggableRegion;
23 25
24 // This is an interface to a native implementation of a app window, used for 26 // This is an interface to a native implementation of a app window, used for
25 // new-style packaged apps. App windows contain a web contents, but no tabs 27 // new-style packaged apps. App windows contain a web contents, but no tabs
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // Returns false if the underlying native window ignores alpha transparency 93 // Returns false if the underlying native window ignores alpha transparency
92 // when compositing. 94 // when compositing.
93 virtual bool CanHaveAlphaEnabled() const = 0; 95 virtual bool CanHaveAlphaEnabled() const = 0;
94 96
95 ~NativeAppWindow() override {} 97 ~NativeAppWindow() override {}
96 }; 98 };
97 99
98 } // namespace extensions 100 } // namespace extensions
99 101
100 #endif // EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_ 102 #endif // EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_
OLDNEW
« no previous file with comments | « content/common/clipboard_messages.h ('k') | ui/accelerated_widget_mac/accelerated_widget_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698