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_CONSTRAINED_WINDOW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "chrome/browser/ui/constrained_window.h" | 9 #include "chrome/browser/ui/constrained_window.h" |
10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 private: | 73 private: |
74 // Overridden from views::Widget: | 74 // Overridden from views::Widget: |
75 virtual views::NonClientFrameView* CreateNonClientFrameView() OVERRIDE; | 75 virtual views::NonClientFrameView* CreateNonClientFrameView() OVERRIDE; |
76 | 76 |
77 // Overridden from NativeConstrainedWindowDelegate: | 77 // Overridden from NativeConstrainedWindowDelegate: |
78 virtual void OnNativeConstrainedWindowDestroyed() OVERRIDE; | 78 virtual void OnNativeConstrainedWindowDestroyed() OVERRIDE; |
79 virtual void OnNativeConstrainedWindowMouseActivate() OVERRIDE; | 79 virtual void OnNativeConstrainedWindowMouseActivate() OVERRIDE; |
80 virtual views::internal::NativeWidgetDelegate* | 80 virtual views::internal::NativeWidgetDelegate* |
81 AsNativeWidgetDelegate() OVERRIDE; | 81 AsNativeWidgetDelegate() OVERRIDE; |
| 82 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE; |
82 | 83 |
83 TabContents* tab_contents_; | 84 TabContents* tab_contents_; |
84 | 85 |
85 NativeConstrainedWindow* native_constrained_window_; | 86 NativeConstrainedWindow* native_constrained_window_; |
86 | 87 |
87 DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowViews); | 88 DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowViews); |
88 }; | 89 }; |
89 | 90 |
90 #endif // CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ | 91 #endif // CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ |
OLD | NEW |