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

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

Issue 1090002: Send session history offset and length parameters in the Navigate message to... (Closed) Base URL: svn://svn.chromium.org/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
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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 const WebKit::WebDragData& data, 256 const WebKit::WebDragData& data,
257 WebKit::WebDragOperationsMask mask, 257 WebKit::WebDragOperationsMask mask,
258 const WebKit::WebImage& image, 258 const WebKit::WebImage& image,
259 const WebKit::WebPoint& imageOffset); 259 const WebKit::WebPoint& imageOffset);
260 virtual bool acceptsLoadDrops(); 260 virtual bool acceptsLoadDrops();
261 virtual void focusNext(); 261 virtual void focusNext();
262 virtual void focusPrevious(); 262 virtual void focusPrevious();
263 virtual void navigateBackForwardSoon(int offset); 263 virtual void navigateBackForwardSoon(int offset);
264 virtual int historyBackListCount(); 264 virtual int historyBackListCount();
265 virtual int historyForwardListCount(); 265 virtual int historyForwardListCount();
266 virtual void didAddHistoryItem();
267 virtual void focusAccessibilityObject( 266 virtual void focusAccessibilityObject(
268 const WebKit::WebAccessibilityObject& acc_obj); 267 const WebKit::WebAccessibilityObject& acc_obj);
269 virtual void didChangeAccessibilityObjectState( 268 virtual void didChangeAccessibilityObjectState(
270 const WebKit::WebAccessibilityObject& acc_obj); 269 const WebKit::WebAccessibilityObject& acc_obj);
271 virtual void didUpdateInspectorSettings(); 270 virtual void didUpdateInspectorSettings();
272 virtual void queryAutofillSuggestions( 271 virtual void queryAutofillSuggestions(
273 const WebKit::WebNode& node, const WebKit::WebString& name, 272 const WebKit::WebNode& node, const WebKit::WebString& name,
274 const WebKit::WebString& value); 273 const WebKit::WebString& value);
275 virtual void removeAutofillSuggestions( 274 virtual void removeAutofillSuggestions(
276 const WebKit::WebString& name, const WebKit::WebString& value); 275 const WebKit::WebString& name, const WebKit::WebString& value);
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 void OnDisableScrollbarsForSmallWindows( 701 void OnDisableScrollbarsForSmallWindows(
703 const gfx::Size& disable_scrollbars_size_limit); 702 const gfx::Size& disable_scrollbars_size_limit);
704 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); 703 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs);
705 void OnMediaPlayerActionAt(const gfx::Point& location, 704 void OnMediaPlayerActionAt(const gfx::Point& location,
706 const WebKit::WebMediaPlayerAction& action); 705 const WebKit::WebMediaPlayerAction& action);
707 void OnNotifyRendererViewType(ViewType::Type view_type); 706 void OnNotifyRendererViewType(ViewType::Type view_type);
708 void OnUpdateBrowserWindowId(int window_id); 707 void OnUpdateBrowserWindowId(int window_id);
709 void OnExecuteCode(const ViewMsg_ExecuteCode_Params& params); 708 void OnExecuteCode(const ViewMsg_ExecuteCode_Params& params);
710 void ExecuteCodeImpl(WebKit::WebFrame* frame, 709 void ExecuteCodeImpl(WebKit::WebFrame* frame,
711 const ViewMsg_ExecuteCode_Params& params); 710 const ViewMsg_ExecuteCode_Params& params);
712 void OnUpdateBackForwardListCount(int back_list_count,
713 int forward_list_count);
714 void OnGetAccessibilityInfo( 711 void OnGetAccessibilityInfo(
715 const webkit_glue::WebAccessibility::InParams& in_params, 712 const webkit_glue::WebAccessibility::InParams& in_params,
716 webkit_glue::WebAccessibility::OutParams* out_params); 713 webkit_glue::WebAccessibility::OutParams* out_params);
717 void OnClearAccessibilityInfo(int acc_obj_id, bool clear_all); 714 void OnClearAccessibilityInfo(int acc_obj_id, bool clear_all);
718 715
719 void OnExtensionMessageInvoke(const std::string& function_name, 716 void OnExtensionMessageInvoke(const std::string& function_name,
720 const ListValue& args); 717 const ListValue& args);
721 718
722 void OnMoveOrResizeStarted(); 719 void OnMoveOrResizeStarted();
723 720
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 scoped_ptr<DevToolsAgent> devtools_agent_; 1000 scoped_ptr<DevToolsAgent> devtools_agent_;
1004 1001
1005 // DevToolsClient for renderer hosting developer tools UI. It's NULL for other 1002 // DevToolsClient for renderer hosting developer tools UI. It's NULL for other
1006 // render views. 1003 // render views.
1007 scoped_ptr<DevToolsClient> devtools_client_; 1004 scoped_ptr<DevToolsClient> devtools_client_;
1008 1005
1009 // A pointer to a file chooser completion object. When not empty, file 1006 // A pointer to a file chooser completion object. When not empty, file
1010 // choosing operation is underway. 1007 // choosing operation is underway.
1011 WebKit::WebFileChooserCompletion* file_chooser_completion_; 1008 WebKit::WebFileChooserCompletion* file_chooser_completion_;
1012 1009
1013 int history_back_list_count_; 1010 int history_list_offset_;
1014 int history_forward_list_count_; 1011 int history_list_length_;
1015 1012
1016 // True if the page has any frame-level unload or beforeunload listeners. 1013 // True if the page has any frame-level unload or beforeunload listeners.
1017 bool has_unload_listener_; 1014 bool has_unload_listener_;
1018 1015
1019 // The total number of unrequested popups that exist and can be followed back 1016 // The total number of unrequested popups that exist and can be followed back
1020 // to a common opener. This count is shared among all RenderViews created 1017 // to a common opener. This count is shared among all RenderViews created
1021 // with createView(). All popups are treated as unrequested until 1018 // with createView(). All popups are treated as unrequested until
1022 // specifically instructed otherwise by the Browser process. 1019 // specifically instructed otherwise by the Browser process.
1023 scoped_refptr<SharedRenderViewCounter> shared_popup_counter_; 1020 scoped_refptr<SharedRenderViewCounter> shared_popup_counter_;
1024 1021
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1180 1177
1181 // Site isolation metrics flags. These are per-page-load counts, reset to 0 1178 // Site isolation metrics flags. These are per-page-load counts, reset to 0
1182 // in OnClosePage. 1179 // in OnClosePage.
1183 int cross_origin_access_count_; 1180 int cross_origin_access_count_;
1184 int same_origin_access_count_; 1181 int same_origin_access_count_;
1185 1182
1186 DISALLOW_COPY_AND_ASSIGN(RenderView); 1183 DISALLOW_COPY_AND_ASSIGN(RenderView);
1187 }; 1184 };
1188 1185
1189 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1186 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698