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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 1408393003: Propagate pageScaleFactor to GuestViews (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove redundant initialization of AwLayoutSizer's page scale factor in tests Created 5 years, 1 month 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
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 CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 blink::WebDragOperationsMask operations_allowed, 368 blink::WebDragOperationsMask operations_allowed,
369 const SkBitmap& bitmap, 369 const SkBitmap& bitmap,
370 const gfx::Vector2d& bitmap_offset_in_dip, 370 const gfx::Vector2d& bitmap_offset_in_dip,
371 const DragEventSourceInfo& event_info); 371 const DragEventSourceInfo& event_info);
372 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); 372 void OnUpdateDragCursor(blink::WebDragOperation drag_operation);
373 void OnTakeFocus(bool reverse); 373 void OnTakeFocus(bool reverse);
374 void OnFocusedNodeChanged(bool is_editable_node, 374 void OnFocusedNodeChanged(bool is_editable_node,
375 const gfx::Rect& node_bounds_in_viewport); 375 const gfx::Rect& node_bounds_in_viewport);
376 void OnClosePageACK(); 376 void OnClosePageACK();
377 void OnDidZoomURL(double zoom_level, const GURL& url); 377 void OnDidZoomURL(double zoom_level, const GURL& url);
378 void OnPageScaleFactorIsOneChanged(bool is_one);
379 void OnRunFileChooser(const FileChooserParams& params); 378 void OnRunFileChooser(const FileChooserParams& params);
380 void OnFocusedNodeTouched(bool editable); 379 void OnFocusedNodeTouched(bool editable);
381 380
382 private: 381 private:
383 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate 382 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate
384 // utility functions and state needed in both classes, while we move frame 383 // utility functions and state needed in both classes, while we move frame
385 // specific code away from this class. 384 // specific code away from this class.
386 friend class RenderFrameHostImpl; 385 friend class RenderFrameHostImpl;
387 friend class TestRenderViewHost; 386 friend class TestRenderViewHost;
388 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, BasicRenderFrameHost); 387 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, BasicRenderFrameHost);
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 491 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
493 }; 492 };
494 493
495 #if defined(COMPILER_MSVC) 494 #if defined(COMPILER_MSVC)
496 #pragma warning(pop) 495 #pragma warning(pop)
497 #endif 496 #endif
498 497
499 } // namespace content 498 } // namespace content
500 499
501 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 500 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698