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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 #if defined(OS_WIN) | 355 #if defined(OS_WIN) |
356 // Sets the cutout rects from constrained windows. These are rectangles that | 356 // Sets the cutout rects from constrained windows. These are rectangles that |
357 // windowed NPAPI plugins shouldn't paint in. Overwrites any previous cutout | 357 // windowed NPAPI plugins shouldn't paint in. Overwrites any previous cutout |
358 // rects. | 358 // rects. |
359 void UpdateConstrainedWindowRects(const std::vector<gfx::Rect>& rects); | 359 void UpdateConstrainedWindowRects(const std::vector<gfx::Rect>& rects); |
360 #endif | 360 #endif |
361 | 361 |
362 // Method to indicate if this instance is shutting down or closing. | 362 // Method to indicate if this instance is shutting down or closing. |
363 // TODO(shrikant): Discuss around to see if it makes sense to add this method | 363 // TODO(shrikant): Discuss around to see if it makes sense to add this method |
364 // as part of RenderWidgetHostView. | 364 // as part of RenderWidgetHostView. |
365 bool IsClosing() const { return in_shutdown_; }; | 365 bool IsClosing() const { return in_shutdown_; } |
366 | 366 |
367 protected: | 367 protected: |
368 friend class RenderWidgetHostView; | 368 friend class RenderWidgetHostView; |
369 virtual ~RenderWidgetHostViewAura(); | 369 virtual ~RenderWidgetHostViewAura(); |
370 | 370 |
371 // Should be constructed via RenderWidgetHostView::CreateViewForWidget. | 371 // Should be constructed via RenderWidgetHostView::CreateViewForWidget. |
372 explicit RenderWidgetHostViewAura(RenderWidgetHost* host); | 372 explicit RenderWidgetHostViewAura(RenderWidgetHost* host); |
373 | 373 |
374 RenderWidgetHostViewFrameSubscriber* frame_subscriber() const { | 374 RenderWidgetHostViewFrameSubscriber* frame_subscriber() const { |
375 return frame_subscriber_.get(); | 375 return frame_subscriber_.get(); |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 // passed to windowless plugins like Flash/Silverlight, etc as the | 808 // passed to windowless plugins like Flash/Silverlight, etc as the |
809 // container window. | 809 // container window. |
810 HWND plugin_parent_window_; | 810 HWND plugin_parent_window_; |
811 #endif | 811 #endif |
812 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 812 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
813 }; | 813 }; |
814 | 814 |
815 } // namespace content | 815 } // namespace content |
816 | 816 |
817 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 817 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |