| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 gfx::Size GetMinimumSize() const override; | 173 gfx::Size GetMinimumSize() const override; |
| 174 void Layout() override; | 174 void Layout() override; |
| 175 bool GetDropFormats( | 175 bool GetDropFormats( |
| 176 int* formats, | 176 int* formats, |
| 177 std::set<ui::Clipboard::FormatType>* format_types) override; | 177 std::set<ui::Clipboard::FormatType>* format_types) override; |
| 178 bool AreDropTypesRequired() override; | 178 bool AreDropTypesRequired() override; |
| 179 bool CanDrop(const ui::OSExchangeData& data) override; | 179 bool CanDrop(const ui::OSExchangeData& data) override; |
| 180 int OnDragUpdated(const ui::DropTargetEvent& event) override; | 180 int OnDragUpdated(const ui::DropTargetEvent& event) override; |
| 181 void OnDragExited() override; | 181 void OnDragExited() override; |
| 182 int OnPerformDrop(const ui::DropTargetEvent& event) override; | 182 int OnPerformDrop(const ui::DropTargetEvent& event) override; |
| 183 void GetAccessibleState(ui::AXViewState* state) override; | 183 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; |
| 184 | 184 |
| 185 // Overridden from views::DragController: | 185 // Overridden from views::DragController: |
| 186 void WriteDragDataForView(View* sender, | 186 void WriteDragDataForView(View* sender, |
| 187 const gfx::Point& press_pt, | 187 const gfx::Point& press_pt, |
| 188 ui::OSExchangeData* data) override; | 188 ui::OSExchangeData* data) override; |
| 189 int GetDragOperationsForView(View* sender, const gfx::Point& p) override; | 189 int GetDragOperationsForView(View* sender, const gfx::Point& p) override; |
| 190 bool CanStartDragForView(View* sender, | 190 bool CanStartDragForView(View* sender, |
| 191 const gfx::Point& press_pt, | 191 const gfx::Point& press_pt, |
| 192 const gfx::Point& p) override; | 192 const gfx::Point& p) override; |
| 193 | 193 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 // is none. | 288 // is none. |
| 289 std::unique_ptr<DropPosition> drop_position_; | 289 std::unique_ptr<DropPosition> drop_position_; |
| 290 | 290 |
| 291 // The extension bubble that is actively showing, if any. | 291 // The extension bubble that is actively showing, if any. |
| 292 views::BubbleDialogDelegateView* active_bubble_; | 292 views::BubbleDialogDelegateView* active_bubble_; |
| 293 | 293 |
| 294 DISALLOW_COPY_AND_ASSIGN(BrowserActionsContainer); | 294 DISALLOW_COPY_AND_ASSIGN(BrowserActionsContainer); |
| 295 }; | 295 }; |
| 296 | 296 |
| 297 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ | 297 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_BROWSER_ACTIONS_CONTAINER_H_ |
| OLD | NEW |