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

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

Issue 2826893003: Remove ScrollableArea::GetFrameViewBase and move ScheduleAnimation into subclasses. (Closed)
Patch Set: Remove UNREACHED Created 3 years, 8 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 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999-2001 Lars Knoll <knoll@kde.org> 3 * 1999-2001 Lars Knoll <knoll@kde.org>
4 * 1999-2001 Antti Koivisto <koivisto@kde.org> 4 * 1999-2001 Antti Koivisto <koivisto@kde.org>
5 * 2000-2001 Simon Hausmann <hausmann@kde.org> 5 * 2000-2001 Simon Hausmann <hausmann@kde.org>
6 * 2000-2001 Dirk Mueller <mueller@kde.org> 6 * 2000-2001 Dirk Mueller <mueller@kde.org>
7 * 2000 Stefan Schimanski <1Stein@gmx.de> 7 * 2000 Stefan Schimanski <1Stein@gmx.de>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
9 * reserved. 9 * reserved.
10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 class Element; 54 class Element;
55 template <typename Strategy> 55 template <typename Strategy>
56 class EphemeralRangeTemplate; 56 class EphemeralRangeTemplate;
57 class EventHandler; 57 class EventHandler;
58 class FloatSize; 58 class FloatSize;
59 class FrameConsole; 59 class FrameConsole;
60 class FrameSelection; 60 class FrameSelection;
61 class FrameView; 61 class FrameView;
62 class InputMethodController; 62 class InputMethodController;
63 class CoreProbeSink; 63 class CoreProbeSink;
64 class HostWindow;
64 class InterfaceProvider; 65 class InterfaceProvider;
65 class InterfaceRegistry; 66 class InterfaceRegistry;
66 class IntPoint; 67 class IntPoint;
67 class IntSize; 68 class IntSize;
68 class LayoutView; 69 class LayoutView;
69 class LayoutViewItem; 70 class LayoutViewItem;
70 class LocalDOMWindow; 71 class LocalDOMWindow;
71 class LocalWindowProxy; 72 class LocalWindowProxy;
72 class LocalFrameClient; 73 class LocalFrameClient;
73 class NavigationScheduler; 74 class NavigationScheduler;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 229
229 PerformanceMonitor* GetPerformanceMonitor() { return performance_monitor_; } 230 PerformanceMonitor* GetPerformanceMonitor() { return performance_monitor_; }
230 231
231 using FrameInitCallback = void (*)(LocalFrame*); 232 using FrameInitCallback = void (*)(LocalFrame*);
232 // Allows for the registration of a callback that is invoked whenever a new 233 // Allows for the registration of a callback that is invoked whenever a new
233 // LocalFrame is initialized. Callbacks are executed in the order that they 234 // LocalFrame is initialized. Callbacks are executed in the order that they
234 // were added using registerInitializationCallback, and there are no checks 235 // were added using registerInitializationCallback, and there are no checks
235 // for adding a callback multiple times. 236 // for adding a callback multiple times.
236 static void RegisterInitializationCallback(FrameInitCallback); 237 static void RegisterInitializationCallback(FrameInitCallback);
237 238
239 bool ScheduleAnimation(HostWindow*);
240
238 private: 241 private:
239 friend class FrameNavigationDisabler; 242 friend class FrameNavigationDisabler;
240 243
241 LocalFrame(LocalFrameClient*, 244 LocalFrame(LocalFrameClient*,
242 Page&, 245 Page&,
243 FrameOwner*, 246 FrameOwner*,
244 InterfaceProvider*, 247 InterfaceProvider*,
245 InterfaceRegistry*); 248 InterfaceRegistry*);
246 249
247 // Intentionally private to prevent redundant checks when the type is 250 // Intentionally private to prevent redundant checks when the type is
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 explicit ScopedFrameBlamer(LocalFrame*); 380 explicit ScopedFrameBlamer(LocalFrame*);
378 ~ScopedFrameBlamer(); 381 ~ScopedFrameBlamer();
379 382
380 private: 383 private:
381 Member<LocalFrame> frame_; 384 Member<LocalFrame> frame_;
382 }; 385 };
383 386
384 } // namespace blink 387 } // namespace blink
385 388
386 #endif // LocalFrame_h 389 #endif // LocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698