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

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

Issue 1037008: Retry r41799:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 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
« no previous file with comments | « chrome/common/render_messages_internal.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) 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_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 <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 95 }
96 96
97 namespace WebKit { 97 namespace WebKit {
98 class WebGeolocationServiceInterfaceChromium; 98 class WebGeolocationServiceInterfaceChromium;
99 } 99 }
100 100
101 namespace WebKit { 101 namespace WebKit {
102 class WebAccessibilityCache; 102 class WebAccessibilityCache;
103 class WebDataSource; 103 class WebDataSource;
104 class WebDragData; 104 class WebDragData;
105 class WebImage;
105 class WebMediaPlayer; 106 class WebMediaPlayer;
106 class WebMediaPlayerClient; 107 class WebMediaPlayerClient;
107 class WebStorageNamespace; 108 class WebStorageNamespace;
108 class WebURLRequest; 109 class WebURLRequest;
109 struct WebFileChooserParams; 110 struct WebFileChooserParams;
110 struct WebFindOptions; 111 struct WebFindOptions;
112 struct WebPoint;
111 } 113 }
112 114
113 // We need to prevent a page from trying to create infinite popups. It is not 115 // We need to prevent a page from trying to create infinite popups. It is not
114 // as simple as keeping a count of the number of immediate children 116 // as simple as keeping a count of the number of immediate children
115 // popups. Having an html file that window.open()s itself would create 117 // popups. Having an html file that window.open()s itself would create
116 // an unlimited chain of RenderViews who only have one RenderView child. 118 // an unlimited chain of RenderViews who only have one RenderView child.
117 // 119 //
118 // Therefore, each new top level RenderView creates a new counter and shares it 120 // Therefore, each new top level RenderView creates a new counter and shares it
119 // with all its children and grandchildren popup RenderViews created with 121 // with all its children and grandchildren popup RenderViews created with
120 // createView() to have a sort of global limit for the page so no more than 122 // createView() to have a sort of global limit for the page so no more than
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 const WebKit::WebString& default_value, WebKit::WebString* actual_value); 242 const WebKit::WebString& default_value, WebKit::WebString* actual_value);
241 virtual bool runModalBeforeUnloadDialog( 243 virtual bool runModalBeforeUnloadDialog(
242 WebKit::WebFrame* frame, const WebKit::WebString& message); 244 WebKit::WebFrame* frame, const WebKit::WebString& message);
243 virtual void showContextMenu( 245 virtual void showContextMenu(
244 WebKit::WebFrame* frame, const WebKit::WebContextMenuData& data); 246 WebKit::WebFrame* frame, const WebKit::WebContextMenuData& data);
245 virtual void setStatusText(const WebKit::WebString& text); 247 virtual void setStatusText(const WebKit::WebString& text);
246 virtual void setMouseOverURL(const WebKit::WebURL& url); 248 virtual void setMouseOverURL(const WebKit::WebURL& url);
247 virtual void setKeyboardFocusURL(const WebKit::WebURL& url); 249 virtual void setKeyboardFocusURL(const WebKit::WebURL& url);
248 virtual void setToolTipText( 250 virtual void setToolTipText(
249 const WebKit::WebString& text, WebKit::WebTextDirection hint); 251 const WebKit::WebString& text, WebKit::WebTextDirection hint);
250 virtual void startDragging( 252 virtual void startDragging(
Evan Stade 2010/03/17 22:08:03 this was the method signature I messed up last tim
251 const WebKit::WebPoint& from, const WebKit::WebDragData& data, 253 const WebKit::WebPoint& from, const WebKit::WebDragData& data,
252 WebKit::WebDragOperationsMask mask); 254 WebKit::WebDragOperationsMask mask);
255 virtual void startDragging(
256 const WebKit::WebDragData& data,
257 WebKit::WebDragOperationsMask mask,
258 const WebKit::WebImage& image,
259 const WebKit::WebPoint& imageOffset);
253 virtual bool acceptsLoadDrops(); 260 virtual bool acceptsLoadDrops();
254 virtual void focusNext(); 261 virtual void focusNext();
255 virtual void focusPrevious(); 262 virtual void focusPrevious();
256 virtual void navigateBackForwardSoon(int offset); 263 virtual void navigateBackForwardSoon(int offset);
257 virtual int historyBackListCount(); 264 virtual int historyBackListCount();
258 virtual int historyForwardListCount(); 265 virtual int historyForwardListCount();
259 virtual void didAddHistoryItem(); 266 virtual void didAddHistoryItem();
260 virtual void focusAccessibilityObject( 267 virtual void focusAccessibilityObject(
261 const WebKit::WebAccessibilityObject& acc_obj); 268 const WebKit::WebAccessibilityObject& acc_obj);
262 virtual void didChangeAccessibilityObjectState( 269 virtual void didChangeAccessibilityObjectState(
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 1180
1174 // Site isolation metrics flags. These are per-page-load counts, reset to 0 1181 // Site isolation metrics flags. These are per-page-load counts, reset to 0
1175 // in OnClosePage. 1182 // in OnClosePage.
1176 int cross_origin_access_count_; 1183 int cross_origin_access_count_;
1177 int same_origin_access_count_; 1184 int same_origin_access_count_;
1178 1185
1179 DISALLOW_COPY_AND_ASSIGN(RenderView); 1186 DISALLOW_COPY_AND_ASSIGN(RenderView);
1180 }; 1187 };
1181 1188
1182 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1189 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698