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

Side by Side Diff: content/browser/frame_host/render_frame_host_delegate.h

Issue 2652643004: Make PageScaleFactor work for oopif subframes.
Patch Set: Put function prototype in correct place. Created 3 years, 11 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
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 // CreateNewWindow. 262 // CreateNewWindow.
263 // 263 //
264 // Note: this is not called "ShowWindow" because that will clash with 264 // Note: this is not called "ShowWindow" because that will clash with
265 // the Windows function which is actually a #define. 265 // the Windows function which is actually a #define.
266 virtual void ShowCreatedWindow(int process_id, 266 virtual void ShowCreatedWindow(int process_id,
267 int main_frame_widget_route_id, 267 int main_frame_widget_route_id,
268 WindowOpenDisposition disposition, 268 WindowOpenDisposition disposition,
269 const gfx::Rect& initial_rect, 269 const gfx::Rect& initial_rect,
270 bool user_gesture) {} 270 bool user_gesture) {}
271 271
272 // Distribute page scale factor to all subframes.
273 virtual void SetPageScaleFactorForSubframes(double page_scale_factor) {}
274
272 protected: 275 protected:
273 virtual ~RenderFrameHostDelegate() {} 276 virtual ~RenderFrameHostDelegate() {}
274 }; 277 };
275 278
276 } // namespace content 279 } // namespace content
277 280
278 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 281 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698