| 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 #if defined(OS_WIN) | 335 #if defined(OS_WIN) |
| 336 // Sets the cutout rects from constrained windows. These are rectangles that | 336 // Sets the cutout rects from constrained windows. These are rectangles that |
| 337 // windowed NPAPI plugins shouldn't paint in. Overwrites any previous cutout | 337 // windowed NPAPI plugins shouldn't paint in. Overwrites any previous cutout |
| 338 // rects. | 338 // rects. |
| 339 void UpdateConstrainedWindowRects(const std::vector<gfx::Rect>& rects); | 339 void UpdateConstrainedWindowRects(const std::vector<gfx::Rect>& rects); |
| 340 #endif | 340 #endif |
| 341 | 341 |
| 342 // Method to indicate if this instance is shutting down or closing. | 342 // Method to indicate if this instance is shutting down or closing. |
| 343 // TODO(shrikant): Discuss around to see if it makes sense to add this method | 343 // TODO(shrikant): Discuss around to see if it makes sense to add this method |
| 344 // as part of RenderWidgetHostView. | 344 // as part of RenderWidgetHostView. |
| 345 bool IsClosing() const { return in_shutdown_; }; | 345 bool IsClosing() const { return in_shutdown_; } |
| 346 | 346 |
| 347 protected: | 347 protected: |
| 348 friend class RenderWidgetHostView; | 348 friend class RenderWidgetHostView; |
| 349 virtual ~RenderWidgetHostViewAura(); | 349 virtual ~RenderWidgetHostViewAura(); |
| 350 | 350 |
| 351 // Should be constructed via RenderWidgetHostView::CreateViewForWidget. | 351 // Should be constructed via RenderWidgetHostView::CreateViewForWidget. |
| 352 explicit RenderWidgetHostViewAura(RenderWidgetHost* host); | 352 explicit RenderWidgetHostViewAura(RenderWidgetHost* host); |
| 353 | 353 |
| 354 RenderWidgetHostViewFrameSubscriber* frame_subscriber() const { | 354 RenderWidgetHostViewFrameSubscriber* frame_subscriber() const { |
| 355 return frame_subscriber_.get(); | 355 return frame_subscriber_.get(); |
| (...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 // etc. | 782 // etc. |
| 783 scoped_ptr<content::LegacyRenderWidgetHostHWND> | 783 scoped_ptr<content::LegacyRenderWidgetHostHWND> |
| 784 legacy_render_widget_host_HWND_; | 784 legacy_render_widget_host_HWND_; |
| 785 #endif | 785 #endif |
| 786 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 786 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 787 }; | 787 }; |
| 788 | 788 |
| 789 } // namespace content | 789 } // namespace content |
| 790 | 790 |
| 791 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 791 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |