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

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
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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnUpdateWebPreferences); 542 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnUpdateWebPreferences);
543 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, 543 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
544 SetEditableSelectionAndComposition); 544 SetEditableSelectionAndComposition);
545 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, StaleNavigationsIgnored); 545 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, StaleNavigationsIgnored);
546 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, 546 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
547 DontIgnoreBackAfterNavEntryLimit); 547 DontIgnoreBackAfterNavEntryLimit);
548 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, UpdateTargetURLWithInvalidURL); 548 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, UpdateTargetURLWithInvalidURL);
549 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, 549 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
550 GetCompositionCharacterBoundsTest); 550 GetCompositionCharacterBoundsTest);
551 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnNavigationHttpPost); 551 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnNavigationHttpPost);
552 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ScreenMetricsEmulation); 552 FRIEND_TEST_ALL_PREFIXES(RenderViewImplScaleFactorTest,
553 ScreenMetricsEmulationWithOriginalDSF1);
554 FRIEND_TEST_ALL_PREFIXES(RenderViewImplScaleFactorTest,
555 ScreenMetricsEmulationWithOriginalDSF2);
553 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, 556 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
554 DecideNavigationPolicyHandlesAllTopLevel); 557 DecideNavigationPolicyHandlesAllTopLevel);
555 #if defined(OS_MACOSX) 558 #if defined(OS_MACOSX)
556 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, MacTestCmdUp); 559 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, MacTestCmdUp);
557 #endif 560 #endif
558 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndOffset); 561 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndOffset);
559 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ZoomLimit); 562 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ZoomLimit);
560 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, NavigateFrame); 563 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, NavigateFrame);
561 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, BasicRenderFrame); 564 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, BasicRenderFrame);
562 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, TextInputTypeWithPepper); 565 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, TextInputTypeWithPepper);
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 // use the Observer interface to filter IPC messages and receive frame change 1018 // use the Observer interface to filter IPC messages and receive frame change
1016 // notifications. 1019 // notifications.
1017 // --------------------------------------------------------------------------- 1020 // ---------------------------------------------------------------------------
1018 1021
1019 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1022 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1020 }; 1023 };
1021 1024
1022 } // namespace content 1025 } // namespace content
1023 1026
1024 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1027 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698