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 CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <string> | 9 #include <string> |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
15 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
16 #include "base/string16.h" | 15 #include "base/string16.h" |
17 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 16 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 // An observer that disables menu items when print preview is active. | 296 // An observer that disables menu items when print preview is active. |
298 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_; | 297 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_; |
299 | 298 |
300 // Our observers. | 299 // Our observers. |
301 mutable ObserverList<RenderViewContextMenuObserver> observers_; | 300 mutable ObserverList<RenderViewContextMenuObserver> observers_; |
302 | 301 |
303 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); | 302 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); |
304 }; | 303 }; |
305 | 304 |
306 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ | 305 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ |
OLD | NEW |