OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EXTENSIONS_NATIVE_APP_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_NATIVE_APP_WINDOW_H_ |
6 #define CHROME_BROWSER_UI_EXTENSIONS_NATIVE_APP_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_EXTENSIONS_NATIVE_APP_WINDOW_H_ |
7 | 7 |
8 #include "apps/shell_window.h" | 8 #include "apps/shell_window.h" |
9 #include "components/web_modal/web_contents_modal_dialog_host.h" | 9 #include "components/web_modal/web_contents_modal_dialog_host.h" |
10 #include "ui/base/base_window.h" | 10 #include "ui/base/base_window.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 virtual void RenderViewHostChanged() = 0; | 47 virtual void RenderViewHostChanged() = 0; |
48 | 48 |
49 // Returns the difference between the window bounds (including titlebar and | 49 // Returns the difference between the window bounds (including titlebar and |
50 // borders) and the content bounds, if any. | 50 // borders) and the content bounds, if any. |
51 virtual gfx::Insets GetFrameInsets() const = 0; | 51 virtual gfx::Insets GetFrameInsets() const = 0; |
52 | 52 |
53 virtual ~NativeAppWindow() {} | 53 virtual ~NativeAppWindow() {} |
54 }; | 54 }; |
55 | 55 |
56 #endif // CHROME_BROWSER_UI_EXTENSIONS_NATIVE_APP_WINDOW_H_ | 56 #endif // CHROME_BROWSER_UI_EXTENSIONS_NATIVE_APP_WINDOW_H_ |
OLD | NEW |