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

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

Issue 2829613002: Remove ScheduleAnimation proxy methods, call HostWindow directly (Closed)
Patch Set: 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;
65 class InterfaceProvider; 64 class InterfaceProvider;
66 class InterfaceRegistry; 65 class InterfaceRegistry;
67 class IntPoint; 66 class IntPoint;
68 class IntSize; 67 class IntSize;
69 class LayoutView; 68 class LayoutView;
70 class LayoutViewItem; 69 class LayoutViewItem;
71 class LocalDOMWindow; 70 class LocalDOMWindow;
72 class LocalWindowProxy; 71 class LocalWindowProxy;
73 class LocalFrameClient; 72 class LocalFrameClient;
74 class NavigationScheduler; 73 class NavigationScheduler;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 228
230 PerformanceMonitor* GetPerformanceMonitor() { return performance_monitor_; } 229 PerformanceMonitor* GetPerformanceMonitor() { return performance_monitor_; }
231 230
232 using FrameInitCallback = void (*)(LocalFrame*); 231 using FrameInitCallback = void (*)(LocalFrame*);
233 // Allows for the registration of a callback that is invoked whenever a new 232 // Allows for the registration of a callback that is invoked whenever a new
234 // LocalFrame is initialized. Callbacks are executed in the order that they 233 // LocalFrame is initialized. Callbacks are executed in the order that they
235 // were added using registerInitializationCallback, and there are no checks 234 // were added using registerInitializationCallback, and there are no checks
236 // for adding a callback multiple times. 235 // for adding a callback multiple times.
237 static void RegisterInitializationCallback(FrameInitCallback); 236 static void RegisterInitializationCallback(FrameInitCallback);
238 237
239 bool ScheduleAnimation(HostWindow*);
240
241 private: 238 private:
242 friend class FrameNavigationDisabler; 239 friend class FrameNavigationDisabler;
243 240
244 LocalFrame(LocalFrameClient*, 241 LocalFrame(LocalFrameClient*,
245 Page&, 242 Page&,
246 FrameOwner*, 243 FrameOwner*,
247 InterfaceProvider*, 244 InterfaceProvider*,
248 InterfaceRegistry*); 245 InterfaceRegistry*);
249 246
250 // Intentionally private to prevent redundant checks when the type is 247 // Intentionally private to prevent redundant checks when the type is
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 explicit ScopedFrameBlamer(LocalFrame*); 377 explicit ScopedFrameBlamer(LocalFrame*);
381 ~ScopedFrameBlamer(); 378 ~ScopedFrameBlamer();
382 379
383 private: 380 private:
384 Member<LocalFrame> frame_; 381 Member<LocalFrame> frame_;
385 }; 382 };
386 383
387 } // namespace blink 384 } // namespace blink
388 385
389 #endif // LocalFrame_h 386 #endif // LocalFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698