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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 2417783005: [Master/Overview CL] Make PageScaleFactor work for oopif subframe.
Patch Set: Rebase to master@{#429656}. Created 4 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 614
615 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; 615 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override;
616 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; 616 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override;
617 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; 617 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override;
618 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, 618 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host,
619 bool width_changed) override; 619 bool width_changed) override;
620 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host, 620 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host,
621 const gfx::Size& new_size) override; 621 const gfx::Size& new_size) override;
622 void ScreenInfoChanged() override; 622 void ScreenInfoChanged() override;
623 void UpdateDeviceScaleFactor(double device_scale_factor) override; 623 void UpdateDeviceScaleFactor(double device_scale_factor) override;
624 void SetPageScaleFactorForSubframes(double page_scale_factor) override;
624 void GetScreenInfo(ScreenInfo* screen_info) override; 625 void GetScreenInfo(ScreenInfo* screen_info) override;
625 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 626 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
626 bool* is_keyboard_shortcut) override; 627 bool* is_keyboard_shortcut) override;
627 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; 628 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override;
628 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; 629 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override;
629 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; 630 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override;
630 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; 631 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override;
631 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() 632 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager()
632 override; 633 override;
633 // The following 4 functions are already listed under WebContents overrides: 634 // The following 4 functions are already listed under WebContents overrides:
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
1452 // Adds/removes a callback called on creation of each new WebContents. 1453 // Adds/removes a callback called on creation of each new WebContents.
1453 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1454 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1454 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1455 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1455 1456
1456 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1457 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1457 }; 1458 };
1458 1459
1459 } // namespace content 1460 } // namespace content
1460 1461
1461 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1462 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698