| 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_RENDERER_RENDERER_CLIPBOARD_DELEGATE_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_CLIPBOARD_DELEGATE_H_ |
| 6 #define CONTENT_RENDERER_RENDERER_CLIPBOARD_DELEGATE_H_ | 6 #define CONTENT_RENDERER_RENDERER_CLIPBOARD_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 |
| 9 #include <map> | 10 #include <map> |
| 10 #include <string> | 11 #include <string> |
| 11 #include <vector> | 12 #include <vector> |
| 12 | 13 |
| 14 #include "base/basictypes.h" |
| 13 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
| 14 #include "base/macros.h" | 16 #include "base/macros.h" |
| 15 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
| 16 #include "content/common/clipboard_format.h" | 18 #include "content/common/clipboard_format.h" |
| 17 #include "ui/base/clipboard/clipboard_types.h" | 19 #include "ui/base/clipboard/clipboard_types.h" |
| 18 | 20 |
| 19 class GURL; | 21 class GURL; |
| 20 class SkBitmap; | 22 class SkBitmap; |
| 21 | 23 |
| 22 namespace content { | 24 namespace content { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 bool WriteImage(ui::ClipboardType type, const SkBitmap& bitmap); | 59 bool WriteImage(ui::ClipboardType type, const SkBitmap& bitmap); |
| 58 void CommitWrite(ui::ClipboardType type); | 60 void CommitWrite(ui::ClipboardType type); |
| 59 | 61 |
| 60 private: | 62 private: |
| 61 DISALLOW_COPY_AND_ASSIGN(RendererClipboardDelegate); | 63 DISALLOW_COPY_AND_ASSIGN(RendererClipboardDelegate); |
| 62 }; | 64 }; |
| 63 | 65 |
| 64 } // namespace content | 66 } // namespace content |
| 65 | 67 |
| 66 #endif // CONTENT_RENDERER_RENDERER_CLIPBOARD_DELEGATE_H_ | 68 #endif // CONTENT_RENDERER_RENDERER_CLIPBOARD_DELEGATE_H_ |
| OLD | NEW |