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

Side by Side Diff: third_party/WebKit/Source/core/frame/TopControls.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 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 #ifndef TopControls_h 5 #ifndef TopControls_h
6 #define TopControls_h 6 #define TopControls_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "public/platform/WebTopControlsState.h" 10 #include "public/platform/WebTopControlsState.h"
11 #include "wtf/OwnPtr.h"
12 #include "wtf/PassOwnPtr.h"
13 11
14 namespace blink { 12 namespace blink {
15 class FrameHost; 13 class FrameHost;
16 class FloatSize; 14 class FloatSize;
17 15
18 // This class encapsulate data and logic required to show/hide top controls 16 // This class encapsulate data and logic required to show/hide top controls
19 // duplicating cc::TopControlsManager behaviour. Top controls' self-animation 17 // duplicating cc::TopControlsManager behaviour. Top controls' self-animation
20 // to completion is still handled by compositor and kicks in when scrolling is 18 // to completion is still handled by compositor and kicks in when scrolling is
21 // complete (i.e, upon ScrollEnd or FlingEnd). 19 // complete (i.e, upon ScrollEnd or FlingEnd).
22 class CORE_EXPORT TopControls final : public GarbageCollected<TopControls> { 20 class CORE_EXPORT TopControls final : public GarbageCollected<TopControls> {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // controls height. 76 // controls height.
79 bool m_shrinkViewport; 77 bool m_shrinkViewport;
80 78
81 // Constraints on the top controls state 79 // Constraints on the top controls state
82 WebTopControlsState m_permittedState; 80 WebTopControlsState m_permittedState;
83 81
84 }; 82 };
85 } // namespace blink 83 } // namespace blink
86 84
87 #endif // TopControls_h 85 #endif // TopControls_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/SettingsDelegate.cpp ('k') | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698