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

Side by Side Diff: Source/web/DevToolsEmulator.h

Issue 1328773002: Make classes and structures in web fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/web/DatabaseClientImpl.h ('k') | Source/web/DragClientImpl.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 DevToolsEmulator_h 5 #ifndef DevToolsEmulator_h
6 #define DevToolsEmulator_h 6 #define DevToolsEmulator_h
7 7
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 #include "wtf/Forward.h" 9 #include "wtf/Forward.h"
10 #include "wtf/OwnPtr.h" 10 #include "wtf/OwnPtr.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class InspectorEmulationAgent; 14 class InspectorEmulationAgent;
15 class IntPoint; 15 class IntPoint;
16 class WebInputEvent; 16 class WebInputEvent;
17 class WebViewImpl; 17 class WebViewImpl;
18 18
19 struct WebDeviceEmulationParams; 19 struct WebDeviceEmulationParams;
20 20
21 class DevToolsEmulator final : public NoBaseWillBeGarbageCollectedFinalized<DevT oolsEmulator> { 21 class DevToolsEmulator final : public NoBaseWillBeGarbageCollectedFinalized<DevT oolsEmulator> {
22 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(DevToolsEmulator);
22 public: 23 public:
23 ~DevToolsEmulator(); 24 ~DevToolsEmulator();
24 static PassOwnPtrWillBeRawPtr<DevToolsEmulator> create(WebViewImpl*); 25 static PassOwnPtrWillBeRawPtr<DevToolsEmulator> create(WebViewImpl*);
25 DECLARE_TRACE(); 26 DECLARE_TRACE();
26 27
27 void setEmulationAgent(InspectorEmulationAgent*); 28 void setEmulationAgent(InspectorEmulationAgent*);
28 void viewportChanged(); 29 void viewportChanged();
29 30
30 // Settings overrides. 31 // Settings overrides.
31 void setTextAutosizingEnabled(bool); 32 void setTextAutosizingEnabled(bool);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 OwnPtr<IntPoint> m_lastPinchAnchorDip; 77 OwnPtr<IntPoint> m_lastPinchAnchorDip;
77 78
78 bool m_embedderScriptEnabled; 79 bool m_embedderScriptEnabled;
79 bool m_scriptExecutionDisabled; 80 bool m_scriptExecutionDisabled;
80 bool m_hidePinchScrollbarsNearMinScale; 81 bool m_hidePinchScrollbarsNearMinScale;
81 }; 82 };
82 83
83 } // namespace blink 84 } // namespace blink
84 85
85 #endif 86 #endif
OLDNEW
« no previous file with comments | « Source/web/DatabaseClientImpl.h ('k') | Source/web/DragClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698