| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_TAB_CONTENTS_THUMBNAIL_GENERATOR_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_THUMBNAIL_GENERATOR_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_THUMBNAIL_GENERATOR_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_THUMBNAIL_GENERATOR_H_ |
| 7 | 7 |
| 8 #include <vector> |
| 9 |
| 8 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 9 #include "base/timer.h" | 11 #include "base/timer.h" |
| 10 #include "chrome/browser/renderer_host/render_widget_host_painting_observer.h" | 12 #include "chrome/browser/renderer_host/render_widget_host_painting_observer.h" |
| 11 #include "chrome/common/notification_observer.h" | 13 #include "chrome/common/notification_observer.h" |
| 12 #include "chrome/common/notification_registrar.h" | 14 #include "chrome/common/notification_registrar.h" |
| 13 | 15 |
| 14 class RenderWidgetHost; | 16 class RenderWidgetHost; |
| 15 class SkBitmap; | 17 class SkBitmap; |
| 16 | 18 |
| 17 // This class MUST be destroyed after the RenderWidgetHosts, since it installs | 19 // This class MUST be destroyed after the RenderWidgetHosts, since it installs |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 // list will normally have 0 or 1 items in it. | 73 // list will normally have 0 or 1 items in it. |
| 72 std::vector<RenderWidgetHost*> shown_hosts_; | 74 std::vector<RenderWidgetHost*> shown_hosts_; |
| 73 | 75 |
| 74 // See the setter above. | 76 // See the setter above. |
| 75 bool no_timeout_; | 77 bool no_timeout_; |
| 76 | 78 |
| 77 DISALLOW_COPY_AND_ASSIGN(ThumbnailGenerator); | 79 DISALLOW_COPY_AND_ASSIGN(ThumbnailGenerator); |
| 78 }; | 80 }; |
| 79 | 81 |
| 80 #endif // CHROME_BROWSER_TAB_CONTENTS_THUMBNAIL_GENERATOR_H_ | 82 #endif // CHROME_BROWSER_TAB_CONTENTS_THUMBNAIL_GENERATOR_H_ |
| OLD | NEW |