| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_TAB_CONTENTS_CONSTRAINED_WINDOW_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_CONSTRAINED_WINDOW_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_CONSTRAINED_WINDOW_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_CONSTRAINED_WINDOW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| 11 // The different platform specific subclasses use different delegates for their | 11 // The different platform specific subclasses use different delegates for their |
| 12 // dialogs. | 12 // dialogs. |
| 13 #if defined(OS_WIN) | 13 #if defined(OS_WIN) |
| 14 namespace views { | 14 namespace views { |
| 15 class WindowDelegate; | 15 class WindowDelegate; |
| 16 class DialogDelegate; | 16 class DialogDelegate; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // Closes the Constrained Window. | 52 // Closes the Constrained Window. |
| 53 virtual void CloseConstrainedWindow() = 0; | 53 virtual void CloseConstrainedWindow() = 0; |
| 54 | 54 |
| 55 // Sets focus on the Constrained Window. | 55 // Sets focus on the Constrained Window. |
| 56 virtual void FocusConstrainedWindow() {} | 56 virtual void FocusConstrainedWindow() {} |
| 57 | 57 |
| 58 protected: | 58 protected: |
| 59 virtual ~ConstrainedWindow() {} | 59 virtual ~ConstrainedWindow() {} |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 #endif // CHROME_BROWSER_TAB_CONTENTS_CONSTRAINED_WINDOW_H_ | 62 #endif // CONTENT_BROWSER_TAB_CONTENTS_CONSTRAINED_WINDOW_H_ |
| OLD | NEW |