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

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

Issue 6749021: Added new fileBrowserPrivate and fileHandler extension APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 private: 79 private:
80 static bool IsDevToolsURL(const GURL& url); 80 static bool IsDevToolsURL(const GURL& url);
81 static bool IsInternalResourcesURL(const GURL& url); 81 static bool IsInternalResourcesURL(const GURL& url);
82 bool AppendCustomItems(); 82 bool AppendCustomItems();
83 void AppendDeveloperItems(); 83 void AppendDeveloperItems();
84 void AppendLinkItems(); 84 void AppendLinkItems();
85 void AppendImageItems(); 85 void AppendImageItems();
86 void AppendAudioItems(); 86 void AppendAudioItems();
87 void AppendVideoItems(); 87 void AppendVideoItems();
88 void AppendFileItems();
88 void AppendMediaItems(); 89 void AppendMediaItems();
89 void AppendPluginItems(); 90 void AppendPluginItems();
90 void AppendPageItems(); 91 void AppendPageItems();
91 void AppendFrameItems(); 92 void AppendFrameItems();
92 void AppendCopyItem(); 93 void AppendCopyItem();
93 void AppendEditableItems(); 94 void AppendEditableItems();
94 void AppendSearchProvider(); 95 void AppendSearchProvider();
95 void AppendAllExtensionItems(); 96 void AppendAllExtensionItems();
96 void AppendSpellcheckOptionsSubMenu(); 97 void AppendSpellcheckOptionsSubMenu();
97 // Add writing direction sub menu (only used on Mac). 98 // Add writing direction sub menu (only used on Mac).
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 GURL selection_navigation_url_; 141 GURL selection_navigation_url_;
141 142
142 ui::SimpleMenuModel spellcheck_submenu_model_; 143 ui::SimpleMenuModel spellcheck_submenu_model_;
143 ui::SimpleMenuModel bidi_submenu_model_; 144 ui::SimpleMenuModel bidi_submenu_model_;
144 ScopedVector<ui::SimpleMenuModel> extension_menu_models_; 145 ScopedVector<ui::SimpleMenuModel> extension_menu_models_;
145 146
146 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu); 147 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenu);
147 }; 148 };
148 149
149 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_ 150 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698