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

Side by Side Diff: chrome/browser/ui/views/tab_contents/render_view_context_menu_views.cc

Issue 5682007: Cleanup: Remove needed #includes for profile.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/browser/views/tab_contents/render_view_context_menu_views.h" 5 #include "chrome/browser/views/tab_contents/render_view_context_menu_views.h"
6 6
7 #include "app/keyboard_codes.h" 7 #include "app/keyboard_codes.h"
8 #include "base/compiler_specific.h" 8 #include "base/logging.h"
9 #include "chrome/app/chrome_command_ids.h" 9 #include "chrome/app/chrome_command_ids.h"
10 #include "chrome/browser/profiles/profile.h"
11 #include "grit/generated_resources.h" 10 #include "grit/generated_resources.h"
12 #include "views/accelerator.h" 11 #include "views/accelerator.h"
13 #include "views/controls/menu/menu_2.h" 12 #include "views/controls/menu/menu_2.h"
14 13
15 //////////////////////////////////////////////////////////////////////////////// 14 ////////////////////////////////////////////////////////////////////////////////
16 // RenderViewContextMenuViews, public: 15 // RenderViewContextMenuViews, public:
17 16
18 RenderViewContextMenuViews::RenderViewContextMenuViews( 17 RenderViewContextMenuViews::RenderViewContextMenuViews(
19 TabContents* tab_contents, 18 TabContents* tab_contents,
20 const ContextMenuParams& params) 19 const ContextMenuParams& params)
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 return true; 88 return true;
90 89
91 case IDC_CONTENT_CONTEXT_SELECTALL: 90 case IDC_CONTENT_CONTEXT_SELECTALL:
92 *accel = views::Accelerator(app::VKEY_A, false, true, false); 91 *accel = views::Accelerator(app::VKEY_A, false, true, false);
93 return true; 92 return true;
94 93
95 default: 94 default:
96 return false; 95 return false;
97 } 96 }
98 } 97 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/notifications/balloon_view.cc ('k') | chrome/browser/ui/views/tab_contents/tab_contents_drag_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698