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