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

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

Issue 3139007: Added "Look Up in Dictionary" item to context menu for Mac. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: morrita@google.com Created 10 years, 4 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 (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 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_MAC_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_MAC_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_MAC_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 15 matching lines...) Expand all
26 26
27 protected: 27 protected:
28 // RenderViewContextMenu implementation- 28 // RenderViewContextMenu implementation-
29 virtual void PlatformInit(); 29 virtual void PlatformInit();
30 virtual bool GetAcceleratorForCommandId( 30 virtual bool GetAcceleratorForCommandId(
31 int command_id, 31 int command_id,
32 menus::Accelerator* accelerator) { 32 menus::Accelerator* accelerator) {
33 return false; 33 return false;
34 } 34 }
35 35
36 virtual void LookUpInDictionary();
37
38 void InitPlatformMenu();
36 private: 39 private:
37 scoped_nsobject<MenuController> menuController_; 40 scoped_nsobject<MenuController> menuController_;
38 NSView* parent_view_; // parent view 41 NSView* parent_view_; // parent view
39 }; 42 };
40 43
41 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_MAC_H_ 44 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/render_view_context_menu.cc ('k') | chrome/browser/tab_contents/render_view_context_menu_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698