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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 1737733002: [DevTools] Handle emulated device scale factor and original device scale factor properly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_widget.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 (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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnUpdateWebPreferences); 543 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnUpdateWebPreferences);
544 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, 544 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
545 SetEditableSelectionAndComposition); 545 SetEditableSelectionAndComposition);
546 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, StaleNavigationsIgnored); 546 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, StaleNavigationsIgnored);
547 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, 547 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
548 DontIgnoreBackAfterNavEntryLimit); 548 DontIgnoreBackAfterNavEntryLimit);
549 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, UpdateTargetURLWithInvalidURL); 549 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, UpdateTargetURLWithInvalidURL);
550 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, 550 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
551 GetCompositionCharacterBoundsTest); 551 GetCompositionCharacterBoundsTest);
552 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnNavigationHttpPost); 552 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnNavigationHttpPost);
553 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ScreenMetricsEmulation); 553 FRIEND_TEST_ALL_PREFIXES(RenderViewImplScaleFactorTest,
554 ScreenMetricsEmulationWithOriginalDSF1);
555 FRIEND_TEST_ALL_PREFIXES(RenderViewImplScaleFactorTest,
556 ScreenMetricsEmulationWithOriginalDSF2);
554 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, 557 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
555 DecideNavigationPolicyHandlesAllTopLevel); 558 DecideNavigationPolicyHandlesAllTopLevel);
556 #if defined(OS_MACOSX) 559 #if defined(OS_MACOSX)
557 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, MacTestCmdUp); 560 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, MacTestCmdUp);
558 #endif 561 #endif
559 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndOffset); 562 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndOffset);
560 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ZoomLimit); 563 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ZoomLimit);
561 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, NavigateFrame); 564 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, NavigateFrame);
562 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, BasicRenderFrame); 565 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, BasicRenderFrame);
563 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, TextInputTypeWithPepper); 566 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, TextInputTypeWithPepper);
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 // use the Observer interface to filter IPC messages and receive frame change 1019 // use the Observer interface to filter IPC messages and receive frame change
1017 // notifications. 1020 // notifications.
1018 // --------------------------------------------------------------------------- 1021 // ---------------------------------------------------------------------------
1019 1022
1020 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1023 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1021 }; 1024 };
1022 1025
1023 } // namespace content 1026 } // namespace content
1024 1027
1025 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1028 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698