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

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: Created 4 years, 2 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
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 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 633
634 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; 634 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override;
635 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; 635 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override;
636 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; 636 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override;
637 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, 637 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host,
638 bool width_changed) override; 638 bool width_changed) override;
639 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host, 639 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host,
640 const gfx::Size& new_size) override; 640 const gfx::Size& new_size) override;
641 void ScreenInfoChanged() override; 641 void ScreenInfoChanged() override;
642 void UpdateDeviceScaleFactor(double device_scale_factor) override; 642 void UpdateDeviceScaleFactor(double device_scale_factor) override;
643 void UpdatePageScaleFactor(double page_scale_factor) override;
643 void GetScreenInfo(ScreenInfo* screen_info) override; 644 void GetScreenInfo(ScreenInfo* screen_info) override;
644 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 645 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
645 bool* is_keyboard_shortcut) override; 646 bool* is_keyboard_shortcut) override;
646 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; 647 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override;
647 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; 648 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override;
648 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; 649 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override;
649 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; 650 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override;
650 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() 651 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager()
651 override; 652 override;
652 // The following 4 functions are already listed under WebContents overrides: 653 // The following 4 functions are already listed under WebContents overrides:
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
1501 // Adds/removes a callback called on creation of each new WebContents. 1502 // Adds/removes a callback called on creation of each new WebContents.
1502 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1503 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1503 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1504 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1504 1505
1505 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1506 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1506 }; 1507 };
1507 1508
1508 } // namespace content 1509 } // namespace content
1509 1510
1510 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1511 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698