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

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

Issue 2317563004: Change blink::WebScreenInfo to content::ScreenInfo (Closed)
Patch Set: Fix Windows compile Created 4 years, 3 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 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 596
597 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; 597 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override;
598 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; 598 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override;
599 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; 599 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override;
600 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, 600 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host,
601 bool width_changed) override; 601 bool width_changed) override;
602 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host, 602 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host,
603 const gfx::Size& new_size) override; 603 const gfx::Size& new_size) override;
604 void ScreenInfoChanged() override; 604 void ScreenInfoChanged() override;
605 void UpdateDeviceScaleFactor(double device_scale_factor) override; 605 void UpdateDeviceScaleFactor(double device_scale_factor) override;
606 void GetScreenInfo(blink::WebScreenInfo* web_screen_info) override; 606 void GetScreenInfo(ScreenInfo* screen_info) override;
607 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 607 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
608 bool* is_keyboard_shortcut) override; 608 bool* is_keyboard_shortcut) override;
609 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; 609 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override;
610 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; 610 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override;
611 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; 611 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override;
612 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; 612 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override;
613 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() 613 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager()
614 override; 614 override;
615 // The following 4 functions are already listed under WebContents overrides: 615 // The following 4 functions are already listed under WebContents overrides:
616 // void Cut() override; 616 // void Cut() override;
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
1447 // Adds/removes a callback called on creation of each new WebContents. 1447 // Adds/removes a callback called on creation of each new WebContents.
1448 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1448 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1449 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1449 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1450 1450
1451 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1451 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1452 }; 1452 };
1453 1453
1454 } // namespace content 1454 } // namespace content
1455 1455
1456 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1456 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698