| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CHROMEOS_WM_OVERVIEW_SNAPSHOT_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_WM_OVERVIEW_SNAPSHOT_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_WM_OVERVIEW_SNAPSHOT_H_ | 6 #define CHROME_BROWSER_CHROMEOS_WM_OVERVIEW_SNAPSHOT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "third_party/skia/include/core/SkBitmap.h" | 9 #include "third_party/skia/include/core/SkBitmap.h" |
| 10 #include "views/controls/image_view.h" |
| 10 #include "views/view.h" | 11 #include "views/view.h" |
| 11 #include "views/widget/widget_gtk.h" | 12 #include "views/widget/widget_gtk.h" |
| 12 #include "views/controls/image_view.h" | |
| 13 | 13 |
| 14 class Browser; | 14 class Browser; |
| 15 | 15 |
| 16 namespace chromeos { | 16 namespace chromeos { |
| 17 | 17 |
| 18 // WmOverviewSnapshot contains a snapshot image of the tab at the | 18 // WmOverviewSnapshot contains a snapshot image of the tab at the |
| 19 // given index. | 19 // given index. |
| 20 class WmOverviewSnapshot : public views::WidgetGtk { | 20 class WmOverviewSnapshot : public views::WidgetGtk { |
| 21 public: | 21 public: |
| 22 WmOverviewSnapshot(); | 22 WmOverviewSnapshot(); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 51 | 51 |
| 52 // This indicates whether or not the snapshot has been configured. | 52 // This indicates whether or not the snapshot has been configured. |
| 53 bool configured_snapshot_; | 53 bool configured_snapshot_; |
| 54 | 54 |
| 55 DISALLOW_COPY_AND_ASSIGN(WmOverviewSnapshot); | 55 DISALLOW_COPY_AND_ASSIGN(WmOverviewSnapshot); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace chromeos | 58 } // namespace chromeos |
| 59 | 59 |
| 60 #endif // CHROME_BROWSER_CHROMEOS_WM_OVERVIEW_SNAPSHOT_H_ | 60 #endif // CHROME_BROWSER_CHROMEOS_WM_OVERVIEW_SNAPSHOT_H_ |
| OLD | NEW |