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

Side by Side Diff: chrome/browser/tab_contents/render_view_context_menu.h

Issue 12036003: Move window_open_disposition.h from webkit/ into ui/base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 7 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) 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 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/scoped_vector.h" 13 #include "base/memory/scoped_vector.h"
14 #include "base/observer_list.h" 14 #include "base/observer_list.h"
15 #include "base/string16.h" 15 #include "base/string16.h"
16 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 16 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
17 #include "chrome/browser/extensions/context_menu_matcher.h" 17 #include "chrome/browser/extensions/context_menu_matcher.h"
18 #include "chrome/browser/extensions/menu_manager.h" 18 #include "chrome/browser/extensions/menu_manager.h"
19 #include "chrome/browser/tab_contents/render_view_context_menu_observer.h" 19 #include "chrome/browser/tab_contents/render_view_context_menu_observer.h"
20 #include "content/public/common/context_menu_params.h" 20 #include "content/public/common/context_menu_params.h"
21 #include "content/public/common/page_transition_types.h" 21 #include "content/public/common/page_transition_types.h"
22 #include "ui/base/models/simple_menu_model.h" 22 #include "ui/base/models/simple_menu_model.h"
23 #include "webkit/glue/window_open_disposition.h" 23 #include "ui/base/window_open_disposition.h"
24 24
25 class PrintPreviewContextMenuObserver; 25 class PrintPreviewContextMenuObserver;
26 class Profile; 26 class Profile;
27 class SpellingMenuObserver; 27 class SpellingMenuObserver;
28 class SpellCheckerSubMenuObserver; 28 class SpellCheckerSubMenuObserver;
29 29
30 namespace content { 30 namespace content {
31 class RenderViewHost; 31 class RenderViewHost;
32 class WebContents; 32 class WebContents;
33 } 33 }
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 // An observer that disables menu items when print preview is active. 275 // An observer that disables menu items when print preview is active.
276 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_; 276 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_;
277 277
278 // Our observers. 278 // Our observers.
279 mutable ObserverList<RenderViewContextMenuObserver> observers_; 279 mutable ObserverList<RenderViewContextMenuObserver> observers_;
280 280
281 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); 281 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu);
282 }; 282 };
283 283
284 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ 284 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/background_contents.h ('k') | chrome/browser/ui/blocked_content/blocked_content_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698