| 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 CHROME_BROWSER_UI_SNAPSHOT_TAB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_UI_SNAPSHOT_TAB_HELPER_H_ |
| 6 #define CHROME_BROWSER_UI_SNAPSHOT_TAB_HELPER_H_ | 6 #define CHROME_BROWSER_UI_SNAPSHOT_TAB_HELPER_H_ |
| 7 | 7 |
| 8 #include "content/public/browser/web_contents_observer.h" | 8 #include "content/public/browser/web_contents_observer.h" |
| 9 #include "content/public/browser/web_contents_user_data.h" | 9 #include "content/public/browser/web_contents_user_data.h" |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 // Internal helpers ---------------------------------------------------------- | 30 // Internal helpers ---------------------------------------------------------- |
| 31 | 31 |
| 32 // Message handler. | 32 // Message handler. |
| 33 void OnSnapshot(const SkBitmap& bitmap); | 33 void OnSnapshot(const SkBitmap& bitmap); |
| 34 | 34 |
| 35 DISALLOW_COPY_AND_ASSIGN(SnapshotTabHelper); | 35 DISALLOW_COPY_AND_ASSIGN(SnapshotTabHelper); |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 #endif // CHROME_BROWSER_UI_SNAPSHOT_TAB_HELPER_H_ | 38 #endif // CHROME_BROWSER_UI_SNAPSHOT_TAB_HELPER_H_ |
| OLD | NEW |