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

Side by Side Diff: third_party/WebKit/public/web/WebDeviceEmulationParams.h

Issue 2887233003: ../platform/ => public/platform/ (Closed)
Patch Set: Revert a few more header includes Created 3 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 WebDeviceEmulationParams_h 5 #ifndef WebDeviceEmulationParams_h
6 #define WebDeviceEmulationParams_h 6 #define WebDeviceEmulationParams_h
7 7
8 #include "../platform/WebFloatPoint.h" 8 #include "public/platform/WebFloatPoint.h"
9 #include "../platform/WebPoint.h" 9 #include "public/platform/WebPoint.h"
10 #include "../platform/WebRect.h" 10 #include "public/platform/WebRect.h"
11 #include "../platform/WebSize.h" 11 #include "public/platform/WebSize.h"
12 #include "../platform/modules/screen_orientation/WebScreenOrientationType.h" 12 #include "public/platform/modules/screen_orientation/WebScreenOrientationType.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 // All sizes are measured in device independent pixels. 16 // All sizes are measured in device independent pixels.
17 struct WebDeviceEmulationParams { 17 struct WebDeviceEmulationParams {
18 // For mobile, |screenSize| and |viewPosition| are used. 18 // For mobile, |screenSize| and |viewPosition| are used.
19 // For desktop, screen size and view position are preserved. 19 // For desktop, screen size and view position are preserved.
20 enum ScreenPosition { kDesktop, kMobile, kScreenPositionLast = kMobile }; 20 enum ScreenPosition { kDesktop, kMobile, kScreenPositionLast = kMobile };
21 21
22 ScreenPosition screen_position; 22 ScreenPosition screen_position;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 } 71 }
72 72
73 inline bool operator!=(const WebDeviceEmulationParams& a, 73 inline bool operator!=(const WebDeviceEmulationParams& a,
74 const WebDeviceEmulationParams& b) { 74 const WebDeviceEmulationParams& b) {
75 return !(a == b); 75 return !(a == b);
76 } 76 }
77 77
78 } // namespace blink 78 } // namespace blink
79 79
80 #endif 80 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebDevToolsFrontend.h ('k') | third_party/WebKit/public/web/WebDraggableRegion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698