| 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_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/ui/extensions/shell_window.h" | 9 #include "chrome/browser/ui/extensions/shell_window.h" |
| 10 #include "chrome/browser/ui/views/extensions/extension_view.h" | 10 #include "chrome/browser/ui/views/extensions/extension_view.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 virtual void Close() OVERRIDE; | 22 virtual void Close() OVERRIDE; |
| 23 | 23 |
| 24 // WidgetDelegate implementation. | 24 // WidgetDelegate implementation. |
| 25 virtual views::View* GetContentsView() OVERRIDE; | 25 virtual views::View* GetContentsView() OVERRIDE; |
| 26 virtual bool CanResize() const OVERRIDE; | 26 virtual bool CanResize() const OVERRIDE; |
| 27 virtual views::Widget* GetWidget() OVERRIDE; | 27 virtual views::Widget* GetWidget() OVERRIDE; |
| 28 virtual const views::Widget* GetWidget() const OVERRIDE; | 28 virtual const views::Widget* GetWidget() const OVERRIDE; |
| 29 virtual string16 GetWindowTitle() const OVERRIDE; | 29 virtual string16 GetWindowTitle() const OVERRIDE; |
| 30 virtual void DeleteDelegate() OVERRIDE; | 30 virtual void DeleteDelegate() OVERRIDE; |
| 31 | 31 |
| 32 // ExtensionView::Container implementation. |
| 33 virtual void OnRenderViewSizeChanged() OVERRIDE; |
| 34 |
| 32 private: | 35 private: |
| 33 virtual ~ShellWindowViews(); | 36 virtual ~ShellWindowViews(); |
| 34 | 37 |
| 35 views::Widget* window_; | 38 views::Widget* window_; |
| 36 | 39 |
| 37 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews); | 40 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews); |
| 38 }; | 41 }; |
| 39 | 42 |
| 40 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ | 43 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ |
| OLD | NEW |