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 aura::Window* child, |
| 72 const gfx::Point& event_location, |
| 73 ui::EventType event_type) OVERRIDE; |
70 | 74 |
71 protected: | 75 protected: |
72 // views::View implementation. | 76 // views::View implementation. |
73 virtual void Layout() OVERRIDE; | 77 virtual void Layout() OVERRIDE; |
74 virtual void ViewHierarchyChanged( | 78 virtual void ViewHierarchyChanged( |
75 bool is_add, views::View *parent, views::View *child) OVERRIDE; | 79 bool is_add, views::View *parent, views::View *child) OVERRIDE; |
76 virtual gfx::Size GetMinimumSize() OVERRIDE; | 80 virtual gfx::Size GetMinimumSize() OVERRIDE; |
77 virtual gfx::Size GetMaximumSize() OVERRIDE; | 81 virtual gfx::Size GetMaximumSize() OVERRIDE; |
78 virtual void OnFocus() OVERRIDE; | 82 virtual void OnFocus() OVERRIDE; |
79 | 83 |
(...skipping 28 matching lines...) Expand all Loading... |
108 scoped_ptr<SkRegion> draggable_region_; | 112 scoped_ptr<SkRegion> draggable_region_; |
109 | 113 |
110 bool frameless_; | 114 bool frameless_; |
111 gfx::Size minimum_size_; | 115 gfx::Size minimum_size_; |
112 gfx::Size maximum_size_; | 116 gfx::Size maximum_size_; |
113 | 117 |
114 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews); | 118 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews); |
115 }; | 119 }; |
116 | 120 |
117 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ | 121 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ |
OLD | NEW |