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

Side by Side Diff: chrome/renderer/render_view.h

Issue 149604: Begin implementation of the context menu for Video and Audio tags. (Closed)
Patch Set: Fix small style issues. Created 11 years, 5 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
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <queue> 9 #include <queue>
10 #include <vector> 10 #include <vector>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 class DevToolsAgent; 46 class DevToolsAgent;
47 class DevToolsClient; 47 class DevToolsClient;
48 class FilePath; 48 class FilePath;
49 class GURL; 49 class GURL;
50 class NavigationState; 50 class NavigationState;
51 class PrintWebViewHelper; 51 class PrintWebViewHelper;
52 class WebFrame; 52 class WebFrame;
53 class WebPluginDelegate; 53 class WebPluginDelegate;
54 class WebPluginDelegateProxy; 54 class WebPluginDelegateProxy;
55 class WebDevToolsAgentDelegate; 55 class WebDevToolsAgentDelegate;
56 struct ContextMenuMediaParams;
56 struct ThumbnailScore; 57 struct ThumbnailScore;
57 struct ViewMsg_Navigate_Params; 58 struct ViewMsg_Navigate_Params;
58 struct ViewMsg_UploadFile_Params; 59 struct ViewMsg_UploadFile_Params;
59 struct WebDropData; 60 struct WebDropData;
60 61
61 namespace base { 62 namespace base {
62 class WaitableEvent; 63 class WaitableEvent;
63 } 64 }
64 65
65 namespace webkit_glue { 66 namespace webkit_glue {
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 bool errored, 258 bool errored,
258 const SkBitmap& image); 259 const SkBitmap& image);
259 virtual GURL GetAlternateErrorPageURL(const GURL& failedURL, 260 virtual GURL GetAlternateErrorPageURL(const GURL& failedURL,
260 ErrorPageType error_type); 261 ErrorPageType error_type);
261 262
262 virtual void ShowContextMenu(WebView* webview, 263 virtual void ShowContextMenu(WebView* webview,
263 ContextNode node, 264 ContextNode node,
264 int x, 265 int x,
265 int y, 266 int y,
266 const GURL& link_url, 267 const GURL& link_url,
267 const GURL& image_url, 268 const GURL& src_url,
268 const GURL& page_url, 269 const GURL& page_url,
269 const GURL& frame_url, 270 const GURL& frame_url,
271 const ContextMenuMediaParams& media_params,
270 const std::wstring& selection_text, 272 const std::wstring& selection_text,
271 const std::wstring& misspelled_word, 273 const std::wstring& misspelled_word,
272 int edit_flags, 274 int edit_flags,
273 const std::string& security_info, 275 const std::string& security_info,
274 const std::string& frame_charset); 276 const std::string& frame_charset);
275 virtual void StartDragging(WebView* webview, 277 virtual void StartDragging(WebView* webview,
276 const WebKit::WebDragData& drag_data); 278 const WebKit::WebDragData& drag_data);
277 279
278 virtual void TakeFocus(WebView* webview, bool reverse); 280 virtual void TakeFocus(WebView* webview, bool reverse);
279 virtual void JSOutOfMemory(); 281 virtual void JSOutOfMemory();
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 // PrintWebViewHelper handles printing. Note that this object is constructed 801 // PrintWebViewHelper handles printing. Note that this object is constructed
800 // when printing for the first time but only destroyed with the RenderView. 802 // when printing for the first time but only destroyed with the RenderView.
801 scoped_ptr<PrintWebViewHelper> print_helper_; 803 scoped_ptr<PrintWebViewHelper> print_helper_;
802 804
803 RendererPreferences renderer_preferences_; 805 RendererPreferences renderer_preferences_;
804 806
805 DISALLOW_COPY_AND_ASSIGN(RenderView); 807 DISALLOW_COPY_AND_ASSIGN(RenderView);
806 }; 808 };
807 809
808 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 810 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698