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

Side by Side Diff: third_party/WebKit/Source/web/DevToolsEmulator.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 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 #include "web/DevToolsEmulator.h" 5 #include "web/DevToolsEmulator.h"
6 6
7 #include "core/frame/FrameHost.h" 7 #include "core/frame/FrameHost.h"
8 #include "core/frame/FrameView.h" 8 #include "core/frame/FrameView.h"
9 #include "core/frame/Settings.h" 9 #include "core/frame/Settings.h"
10 #include "core/page/Page.h" 10 #include "core/page/Page.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 , m_originalMaxTouchPoints(0) 70 , m_originalMaxTouchPoints(0)
71 , m_embedderScriptEnabled(webViewImpl->page()->settings().scriptEnabled()) 71 , m_embedderScriptEnabled(webViewImpl->page()->settings().scriptEnabled())
72 , m_scriptExecutionDisabled(false) 72 , m_scriptExecutionDisabled(false)
73 { 73 {
74 } 74 }
75 75
76 DevToolsEmulator::~DevToolsEmulator() 76 DevToolsEmulator::~DevToolsEmulator()
77 { 77 {
78 } 78 }
79 79
80 PassOwnPtrWillBeRawPtr<DevToolsEmulator> DevToolsEmulator::create(WebViewImpl* w ebViewImpl) 80 RawPtr<DevToolsEmulator> DevToolsEmulator::create(WebViewImpl* webViewImpl)
81 { 81 {
82 return adoptPtrWillBeNoop(new DevToolsEmulator(webViewImpl)); 82 return (new DevToolsEmulator(webViewImpl));
83 } 83 }
84 84
85 DEFINE_TRACE(DevToolsEmulator) 85 DEFINE_TRACE(DevToolsEmulator)
86 { 86 {
87 } 87 }
88 88
89 void DevToolsEmulator::setTextAutosizingEnabled(bool enabled) 89 void DevToolsEmulator::setTextAutosizingEnabled(bool enabled)
90 { 90 {
91 m_embedderTextAutosizingEnabled = enabled; 91 m_embedderTextAutosizingEnabled = enabled;
92 bool emulateMobileEnabled = m_deviceMetricsEnabled && m_emulateMobileEnabled ; 92 bool emulateMobileEnabled = m_deviceMetricsEnabled && m_emulateMobileEnabled ;
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 m_lastPinchAnchorCss.clear(); 370 m_lastPinchAnchorCss.clear();
371 m_lastPinchAnchorDip.clear(); 371 m_lastPinchAnchorDip.clear();
372 } 372 }
373 return true; 373 return true;
374 } 374 }
375 375
376 return false; 376 return false;
377 } 377 }
378 378
379 } // namespace blink 379 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698