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

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

Issue 7618016: Additional fixes for prerender/instant + browsing history. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | 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 CONTENT_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); 840 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level);
841 void OnShouldClose(); 841 void OnShouldClose();
842 void OnStop(); 842 void OnStop();
843 void OnStopFinding(const ViewMsg_StopFinding_Params& params); 843 void OnStopFinding(const ViewMsg_StopFinding_Params& params);
844 void OnSwapOut(const ViewMsg_SwapOut_Params& params); 844 void OnSwapOut(const ViewMsg_SwapOut_Params& params);
845 void OnThemeChanged(); 845 void OnThemeChanged();
846 void OnUndo(); 846 void OnUndo();
847 void OnUpdateTargetURLAck(); 847 void OnUpdateTargetURLAck();
848 void OnUpdateWebPreferences(const WebPreferences& prefs); 848 void OnUpdateWebPreferences(const WebPreferences& prefs);
849 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy); 849 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy);
850 void OnSetHistoryLengthAndClear(int history_length); 850 void OnSetHistoryLengthAndClear(int history_length, int32 page_id);
851 851
852 #if defined(OS_MACOSX) 852 #if defined(OS_MACOSX)
853 void OnWindowFrameChanged(const gfx::Rect& window_frame, 853 void OnWindowFrameChanged(const gfx::Rect& window_frame,
854 const gfx::Rect& view_frame); 854 const gfx::Rect& view_frame);
855 void OnSelectPopupMenuItem(int selected_index); 855 void OnSelectPopupMenuItem(int selected_index);
856 #endif 856 #endif
857 void OnZoom(PageZoom::Function function); 857 void OnZoom(PageZoom::Function function);
858 858
859 // Adding a new message handler? Please add it in alphabetical order above 859 // Adding a new message handler? Please add it in alphabetical order above
860 // and put it in the same position in the .cc file. 860 // and put it in the same position in the .cc file.
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 // bunch of stuff, you should probably create a helper class and put your 1209 // bunch of stuff, you should probably create a helper class and put your
1210 // data and methods on that to avoid bloating RenderView more. You can use 1210 // data and methods on that to avoid bloating RenderView more. You can use
1211 // the Observer interface to filter IPC messages and receive frame change 1211 // the Observer interface to filter IPC messages and receive frame change
1212 // notifications. 1212 // notifications.
1213 // --------------------------------------------------------------------------- 1213 // ---------------------------------------------------------------------------
1214 1214
1215 DISALLOW_COPY_AND_ASSIGN(RenderView); 1215 DISALLOW_COPY_AND_ASSIGN(RenderView);
1216 }; 1216 };
1217 1217
1218 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1218 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698