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

Side by Side Diff: Source/core/page/ChromeClient.h

Issue 517043003: Move Frame to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Back out non-Oilpan experiment + tidy up by adding frame() ref accessors Created 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 15 matching lines...) Expand all
26 #include "core/inspector/ConsoleAPITypes.h" 26 #include "core/inspector/ConsoleAPITypes.h"
27 #include "core/loader/FrameLoader.h" 27 #include "core/loader/FrameLoader.h"
28 #include "core/loader/NavigationPolicy.h" 28 #include "core/loader/NavigationPolicy.h"
29 #include "core/frame/ConsoleTypes.h" 29 #include "core/frame/ConsoleTypes.h"
30 #include "core/page/FocusType.h" 30 #include "core/page/FocusType.h"
31 #include "core/rendering/style/RenderStyleConstants.h" 31 #include "core/rendering/style/RenderStyleConstants.h"
32 #include "platform/Cursor.h" 32 #include "platform/Cursor.h"
33 #include "platform/HostWindow.h" 33 #include "platform/HostWindow.h"
34 #include "platform/PopupMenu.h" 34 #include "platform/PopupMenu.h"
35 #include "platform/PopupMenuClient.h" 35 #include "platform/PopupMenuClient.h"
36 #include "platform/heap/Handle.h"
36 #include "platform/scroll/ScrollTypes.h" 37 #include "platform/scroll/ScrollTypes.h"
37 #include "wtf/Forward.h" 38 #include "wtf/Forward.h"
38 #include "wtf/PassOwnPtr.h" 39 #include "wtf/PassOwnPtr.h"
39 #include "wtf/Vector.h" 40 #include "wtf/Vector.h"
40 41
41 namespace blink { 42 namespace blink {
42 43
43 class AXObject; 44 class AXObject;
44 class ColorChooser; 45 class ColorChooser;
45 class ColorChooserClient; 46 class ColorChooserClient;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 virtual void exitFullScreenForElement(Element*) { } 187 virtual void exitFullScreenForElement(Element*) { }
187 188
188 virtual void clearCompositedSelectionBounds() { } 189 virtual void clearCompositedSelectionBounds() { }
189 190
190 virtual void needTouchEvents(bool) = 0; 191 virtual void needTouchEvents(bool) = 0;
191 192
192 virtual void setTouchAction(TouchAction) = 0; 193 virtual void setTouchAction(TouchAction) = 0;
193 194
194 // Checks if there is an opened popup, called by RenderMenuList::showPopup() . 195 // Checks if there is an opened popup, called by RenderMenuList::showPopup() .
195 virtual bool hasOpenedPopup() const = 0; 196 virtual bool hasOpenedPopup() const = 0;
196 virtual PassRefPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClient*) const = 0; 197 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup MenuClient*) const = 0;
197 // For testing. 198 // For testing.
198 virtual void setPagePopupDriver(PagePopupDriver*) = 0; 199 virtual void setPagePopupDriver(PagePopupDriver*) = 0;
199 virtual void resetPagePopupDriver() = 0; 200 virtual void resetPagePopupDriver() = 0;
200 201
201 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) { } 202 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) { }
202 virtual String acceptLanguages() = 0; 203 virtual String acceptLanguages() = 0;
203 204
204 enum DialogType { 205 enum DialogType {
205 AlertDialog = 0, 206 AlertDialog = 0,
206 ConfirmDialog = 1, 207 ConfirmDialog = 1,
(...skipping 25 matching lines...) Expand all
232 virtual void willSetInputMethodState() { } 233 virtual void willSetInputMethodState() { }
233 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } 234 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
234 virtual void showImeIfNeeded() { } 235 virtual void showImeIfNeeded() { }
235 236
236 protected: 237 protected:
237 virtual ~ChromeClient() { } 238 virtual ~ChromeClient() { }
238 }; 239 };
239 240
240 } 241 }
241 #endif // ChromeClient_h 242 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698