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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 WebKit::WebDragOperationsMask operations, | 81 WebKit::WebDragOperationsMask operations, |
82 const gfx::ImageSkia& image, | 82 const gfx::ImageSkia& image, |
83 const gfx::Vector2d& image_offset, | 83 const gfx::Vector2d& image_offset, |
84 const DragEventSourceInfo& event_info) OVERRIDE; | 84 const DragEventSourceInfo& event_info) OVERRIDE; |
85 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) OVERRIDE; | 85 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) OVERRIDE; |
86 virtual void GotFocus() OVERRIDE; | 86 virtual void GotFocus() OVERRIDE; |
87 virtual void TakeFocus(bool reverse) OVERRIDE; | 87 virtual void TakeFocus(bool reverse) OVERRIDE; |
88 | 88 |
89 // Overridden from aura::WindowDelegate: | 89 // Overridden from aura::WindowDelegate: |
90 virtual gfx::Size GetMinimumSize() const OVERRIDE; | 90 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
| 91 virtual gfx::Size GetMaximumSize() const OVERRIDE; |
91 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, | 92 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
92 const gfx::Rect& new_bounds) OVERRIDE; | 93 const gfx::Rect& new_bounds) OVERRIDE; |
93 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE; | 94 virtual void OnFocus(aura::Window* old_focused_window) OVERRIDE; |
94 virtual void OnBlur() OVERRIDE; | 95 virtual void OnBlur() OVERRIDE; |
95 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; | 96 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; |
96 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 97 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
97 virtual bool ShouldDescendIntoChildForEventHandling( | 98 virtual bool ShouldDescendIntoChildForEventHandling( |
98 aura::Window* child, | 99 aura::Window* child, |
99 const gfx::Point& location) OVERRIDE; | 100 const gfx::Point& location) OVERRIDE; |
100 virtual bool CanFocus() OVERRIDE; | 101 virtual bool CanFocus() OVERRIDE; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 // this pointer should never be dereferenced. We only use it for comparing | 141 // this pointer should never be dereferenced. We only use it for comparing |
141 // pointers. | 142 // pointers. |
142 void* current_rvh_for_drag_; | 143 void* current_rvh_for_drag_; |
143 | 144 |
144 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); | 145 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); |
145 }; | 146 }; |
146 | 147 |
147 } // namespace content | 148 } // namespace content |
148 | 149 |
149 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 150 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
OLD | NEW |