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

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

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ 5 #ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_
6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ 6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/observer_list.h" 12 #include "base/observer_list.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 14 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
15 #include "chrome/browser/extensions/context_menu_matcher.h" 15 #include "chrome/browser/extensions/context_menu_matcher.h"
16 #include "chrome/browser/extensions/menu_manager.h" 16 #include "chrome/browser/extensions/menu_manager.h"
17 #include "components/renderer_context_menu/context_menu_content_type.h" 17 #include "components/renderer_context_menu/context_menu_content_type.h"
18 #include "components/renderer_context_menu/render_view_context_menu_base.h" 18 #include "components/renderer_context_menu/render_view_context_menu_base.h"
19 #include "components/renderer_context_menu/render_view_context_menu_observer.h" 19 #include "components/renderer_context_menu/render_view_context_menu_observer.h"
20 #include "components/renderer_context_menu/render_view_context_menu_proxy.h" 20 #include "components/renderer_context_menu/render_view_context_menu_proxy.h"
21 #include "content/public/common/context_menu_params.h" 21 #include "content/public/common/context_menu_params.h"
22 #include "content/public/common/page_transition_types.h"
23 #include "ui/base/models/simple_menu_model.h" 22 #include "ui/base/models/simple_menu_model.h"
24 #include "ui/base/window_open_disposition.h" 23 #include "ui/base/window_open_disposition.h"
25 24
26 class PrintPreviewContextMenuObserver; 25 class PrintPreviewContextMenuObserver;
27 class Profile; 26 class Profile;
28 class SpellingMenuObserver; 27 class SpellingMenuObserver;
29 class SpellCheckerSubMenuObserver; 28 class SpellCheckerSubMenuObserver;
30 29
31 namespace content { 30 namespace content {
32 class RenderFrameHost; 31 class RenderFrameHost;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 154
156 #if defined(ENABLE_FULL_PRINTING) 155 #if defined(ENABLE_FULL_PRINTING)
157 // An observer that disables menu items when print preview is active. 156 // An observer that disables menu items when print preview is active.
158 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_; 157 scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_;
159 #endif 158 #endif
160 159
161 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); 160 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu);
162 }; 161 };
163 162
164 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_ 163 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698