OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_VIEWS_EXTENSIONS_BROWSER_ACTION_DRAG_DATA_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_BROWSER_ACTION_DRAG_DATA_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_BROWSER_ACTION_DRAG_DATA_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_BROWSER_ACTION_DRAG_DATA_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 | 12 |
13 #if defined(TOOLKIT_VIEWS) | 13 #if defined(TOOLKIT_VIEWS) |
14 #include "ui/base/dragdrop/os_exchange_data.h" | 14 #include "ui/base/dragdrop/os_exchange_data.h" |
15 #endif | 15 #endif |
16 | 16 |
17 class BrowserActionButton; | |
18 class FilePath; | |
19 class Pickle; | 17 class Pickle; |
20 class Profile; | 18 class Profile; |
21 | 19 |
22 class BrowserActionDragData { | 20 class BrowserActionDragData { |
23 public: | 21 public: |
24 BrowserActionDragData(); | 22 BrowserActionDragData(); |
25 BrowserActionDragData(const std::string& id, int index); | 23 BrowserActionDragData(const std::string& id, int index); |
26 | 24 |
27 const std::string& id() const { return id_; } | 25 const std::string& id() const { return id_; } |
28 | 26 |
(...skipping 25 matching lines...) Expand all Loading... |
54 // The index of the view being dragged. | 52 // The index of the view being dragged. |
55 size_t index_; | 53 size_t index_; |
56 | 54 |
57 // The MIME type for the clipboard format for BrowserActionDragData. | 55 // The MIME type for the clipboard format for BrowserActionDragData. |
58 static const char* kClipboardFormatString; | 56 static const char* kClipboardFormatString; |
59 | 57 |
60 DISALLOW_COPY_AND_ASSIGN(BrowserActionDragData); | 58 DISALLOW_COPY_AND_ASSIGN(BrowserActionDragData); |
61 }; | 59 }; |
62 | 60 |
63 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_BROWSER_ACTION_DRAG_DATA_H_ | 61 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_BROWSER_ACTION_DRAG_DATA_H_ |
OLD | NEW |