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 | 7 |
8 #include "chrome/browser/ui/base_window.h" | 8 #include "chrome/browser/ui/base_window.h" |
9 #include "chrome/browser/ui/extensions/native_shell_window.h" | 9 #include "chrome/browser/ui/extensions/native_shell_window.h" |
10 #include "chrome/browser/ui/extensions/shell_window.h" | 10 #include "chrome/browser/ui/extensions/shell_window.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 virtual views::View* GetContentsView() OVERRIDE; | 60 virtual views::View* GetContentsView() OVERRIDE; |
61 virtual views::NonClientFrameView* CreateNonClientFrameView( | 61 virtual views::NonClientFrameView* CreateNonClientFrameView( |
62 views::Widget* widget) OVERRIDE; | 62 views::Widget* widget) OVERRIDE; |
63 virtual bool CanResize() const OVERRIDE; | 63 virtual bool CanResize() const OVERRIDE; |
64 virtual bool CanMaximize() const OVERRIDE; | 64 virtual bool CanMaximize() const OVERRIDE; |
65 virtual views::Widget* GetWidget() OVERRIDE; | 65 virtual views::Widget* GetWidget() OVERRIDE; |
66 virtual const views::Widget* GetWidget() const OVERRIDE; | 66 virtual const views::Widget* GetWidget() const OVERRIDE; |
67 virtual string16 GetWindowTitle() const OVERRIDE; | 67 virtual string16 GetWindowTitle() const OVERRIDE; |
68 virtual void DeleteDelegate() OVERRIDE; | 68 virtual void DeleteDelegate() OVERRIDE; |
69 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 69 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
| 70 virtual bool ShouldDescendIntoChildForEventHandling( |
| 71 gfx::NativeView child, |
| 72 const gfx::Point& location) OVERRIDE; |
70 | 73 |
71 protected: | 74 protected: |
72 // views::View implementation. | 75 // views::View implementation. |
73 virtual void Layout() OVERRIDE; | 76 virtual void Layout() OVERRIDE; |
74 virtual void ViewHierarchyChanged( | 77 virtual void ViewHierarchyChanged( |
75 bool is_add, views::View *parent, views::View *child) OVERRIDE; | 78 bool is_add, views::View *parent, views::View *child) OVERRIDE; |
76 virtual gfx::Size GetMinimumSize() OVERRIDE; | 79 virtual gfx::Size GetMinimumSize() OVERRIDE; |
77 virtual gfx::Size GetMaximumSize() OVERRIDE; | 80 virtual gfx::Size GetMaximumSize() OVERRIDE; |
78 virtual void OnFocus() OVERRIDE; | 81 virtual void OnFocus() OVERRIDE; |
79 | 82 |
(...skipping 28 matching lines...) Expand all Loading... |
108 scoped_ptr<SkRegion> draggable_region_; | 111 scoped_ptr<SkRegion> draggable_region_; |
109 | 112 |
110 bool frameless_; | 113 bool frameless_; |
111 gfx::Size minimum_size_; | 114 gfx::Size minimum_size_; |
112 gfx::Size maximum_size_; | 115 gfx::Size maximum_size_; |
113 | 116 |
114 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews); | 117 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews); |
115 }; | 118 }; |
116 | 119 |
117 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ | 120 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ |
OLD | NEW |