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

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

Issue 107893003: Make the renderer-side prerendering code use RenderFrames instead of RenderViews. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: creis review comments Created 7 years 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CHROME_RENDER_VIEW_OBSERVER_H_ 5 #ifndef CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ 6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual void Navigate(const GURL& url) OVERRIDE; 124 virtual void Navigate(const GURL& url) OVERRIDE;
125 125
126 void OnWebUIJavaScript(const base::string16& frame_xpath, 126 void OnWebUIJavaScript(const base::string16& frame_xpath,
127 const base::string16& jscript, 127 const base::string16& jscript,
128 int id, 128 int id,
129 bool notify_result); 129 bool notify_result);
130 void OnHandleMessageFromExternalHost(const std::string& message, 130 void OnHandleMessageFromExternalHost(const std::string& message,
131 const std::string& origin, 131 const std::string& origin,
132 const std::string& target); 132 const std::string& target);
133 void OnJavaScriptStressTestControl(int cmd, int param); 133 void OnJavaScriptStressTestControl(int cmd, int param);
134 void OnSetIsPrerendering(bool is_prerendering);
135 void OnSetAllowDisplayingInsecureContent(bool allow); 134 void OnSetAllowDisplayingInsecureContent(bool allow);
136 void OnSetAllowRunningInsecureContent(bool allow); 135 void OnSetAllowRunningInsecureContent(bool allow);
137 void OnSetClientSidePhishingDetection(bool enable_phishing_detection); 136 void OnSetClientSidePhishingDetection(bool enable_phishing_detection);
138 void OnSetVisuallyDeemphasized(bool deemphasized); 137 void OnSetVisuallyDeemphasized(bool deemphasized);
139 void OnRequestThumbnailForContextNode(int thumbnail_min_area_pixels, 138 void OnRequestThumbnailForContextNode(int thumbnail_min_area_pixels,
140 gfx::Size thumbnail_max_size_pixels); 139 gfx::Size thumbnail_max_size_pixels);
141 void OnGetFPS(); 140 void OnGetFPS();
142 void OnNPAPINotSupported(); 141 void OnNPAPINotSupported();
143 #if defined(OS_ANDROID) 142 #if defined(OS_ANDROID)
144 void OnUpdateTopControlsState(content::TopControlsState constraints, 143 void OnUpdateTopControlsState(content::TopControlsState constraints,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // A color page overlay when visually de-emaphasized. 202 // A color page overlay when visually de-emaphasized.
204 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; 203 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_;
205 204
206 // Used to delay calling CapturePageInfo. 205 // Used to delay calling CapturePageInfo.
207 base::Timer capture_timer_; 206 base::Timer capture_timer_;
208 207
209 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); 208 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver);
210 }; 209 };
211 210
212 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ 211 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698