Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h

Issue 9034029: Revert 115997 - Replace MessageLoop::DeleteSoon implementation with one that uses base::Bind. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 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_OVERFLOW_MENU_CONTROLL ER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_BROWSER_ACTION_OVERFLOW_MENU_CONTROLL ER_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_BROWSER_ACTION_OVERFLOW_MENU_CONTROLL ER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_BROWSER_ACTION_OVERFLOW_MENU_CONTROLL ER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/message_loop_helpers.h" 14 #include "base/task.h"
15 #include "ui/views/controls/menu/menu_delegate.h" 15 #include "ui/views/controls/menu/menu_delegate.h"
16 16
17 class BrowserActionsContainer; 17 class BrowserActionsContainer;
18 class BrowserActionView; 18 class BrowserActionView;
19 19
20 namespace views { 20 namespace views {
21 class MenuRunner; 21 class MenuRunner;
22 class Widget; 22 class Widget;
23 } 23 }
24 24
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // won't show all items, just the one starting at |start_index| and above. 104 // won't show all items, just the one starting at |start_index| and above.
105 const std::vector<BrowserActionView*>* views_; 105 const std::vector<BrowserActionView*>* views_;
106 106
107 // The index into the BrowserActionView vector, indicating where to start 107 // The index into the BrowserActionView vector, indicating where to start
108 // picking browser actions to draw. 108 // picking browser actions to draw.
109 int start_index_; 109 int start_index_;
110 110
111 // Whether this controller is being used for drop. 111 // Whether this controller is being used for drop.
112 bool for_drop_; 112 bool for_drop_;
113 113
114 friend class base::DeleteHelper<BrowserActionOverflowMenuController>; 114 friend class DeleteTask<BrowserActionOverflowMenuController>;
115 115
116 DISALLOW_COPY_AND_ASSIGN(BrowserActionOverflowMenuController); 116 DISALLOW_COPY_AND_ASSIGN(BrowserActionOverflowMenuController);
117 }; 117 };
118 118
119 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_BROWSER_ACTION_OVERFLOW_MENU_CONTR OLLER_H_ 119 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_BROWSER_ACTION_OVERFLOW_MENU_CONTR OLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/browser_actions_container.h ('k') | content/renderer/webplugin_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698