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

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

Issue 7779010: Implements frame sniffer to watch iframe loading state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang fix Created 9 years, 3 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 854 matching lines...) Expand 10 before | Expand all | Expand 10 after
865 void OnUpdateWebPreferences(const WebPreferences& prefs); 865 void OnUpdateWebPreferences(const WebPreferences& prefs);
866 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy); 866 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy);
867 867
868 #if defined(OS_MACOSX) 868 #if defined(OS_MACOSX)
869 void OnWindowFrameChanged(const gfx::Rect& window_frame, 869 void OnWindowFrameChanged(const gfx::Rect& window_frame,
870 const gfx::Rect& view_frame); 870 const gfx::Rect& view_frame);
871 void OnSelectPopupMenuItem(int selected_index); 871 void OnSelectPopupMenuItem(int selected_index);
872 #endif 872 #endif
873 void OnZoom(PageZoom::Function function); 873 void OnZoom(PageZoom::Function function);
874 void OnEnableViewSourceMode(); 874 void OnEnableViewSourceMode();
875 void OnStartFrameSniffer(const string16& frame_name);
875 876
876 // Adding a new message handler? Please add it in alphabetical order above 877 // Adding a new message handler? Please add it in alphabetical order above
877 // and put it in the same position in the .cc file. 878 // and put it in the same position in the .cc file.
878 879
879 // Misc private functions ---------------------------------------------------- 880 // Misc private functions ----------------------------------------------------
880 881
881 void AltErrorPageFinished(WebKit::WebFrame* frame, 882 void AltErrorPageFinished(WebKit::WebFrame* frame,
882 const WebKit::WebURLError& original_error, 883 const WebKit::WebURLError& original_error,
883 const std::string& html); 884 const std::string& html);
884 885
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 // bunch of stuff, you should probably create a helper class and put your 1242 // bunch of stuff, you should probably create a helper class and put your
1242 // data and methods on that to avoid bloating RenderView more. You can use 1243 // data and methods on that to avoid bloating RenderView more. You can use
1243 // the Observer interface to filter IPC messages and receive frame change 1244 // the Observer interface to filter IPC messages and receive frame change
1244 // notifications. 1245 // notifications.
1245 // --------------------------------------------------------------------------- 1246 // ---------------------------------------------------------------------------
1246 1247
1247 DISALLOW_COPY_AND_ASSIGN(RenderView); 1248 DISALLOW_COPY_AND_ASSIGN(RenderView);
1248 }; 1249 };
1249 1250
1250 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1251 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698