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

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.h

Issue 1922793002: Move deferred commit logic from WebViewImpl to Document. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 // ChromeClient methods: 56 // ChromeClient methods:
57 void chromeDestroyed() override; 57 void chromeDestroyed() override;
58 void setWindowRect(const IntRect&) override; 58 void setWindowRect(const IntRect&) override;
59 IntRect windowRect() override; 59 IntRect windowRect() override;
60 IntRect pageRect() override; 60 IntRect pageRect() override;
61 void focus() override; 61 void focus() override;
62 bool canTakeFocus(WebFocusType) override; 62 bool canTakeFocus(WebFocusType) override;
63 void takeFocus(WebFocusType) override; 63 void takeFocus(WebFocusType) override;
64 void focusedNodeChanged(Node* fromNode, Node* toNode) override; 64 void focusedNodeChanged(Node* fromNode, Node* toNode) override;
65 void beginLifecycleUpdates() override;
65 bool hadFormInteraction() const override; 66 bool hadFormInteraction() const override;
66 void startDragging(LocalFrame*, const WebDragData&, WebDragOperationsMask, c onst WebImage& dragImage, const WebPoint& dragImageOffset) override; 67 void startDragging(LocalFrame*, const WebDragData&, WebDragOperationsMask, c onst WebImage& dragImage, const WebPoint& dragImageOffset) override;
67 bool acceptsLoadDrops() const override; 68 bool acceptsLoadDrops() const override;
68 Page* createWindow( 69 Page* createWindow(
69 LocalFrame*, const FrameLoadRequest&, const WindowFeatures&, NavigationP olicy, ShouldSetOpener) override; 70 LocalFrame*, const FrameLoadRequest&, const WindowFeatures&, NavigationP olicy, ShouldSetOpener) override;
70 void show(NavigationPolicy) override; 71 void show(NavigationPolicy) override;
71 void didOverscroll( 72 void didOverscroll(
72 const FloatSize& overscrollDelta, 73 const FloatSize& overscrollDelta,
73 const FloatSize& accumulatedOverscroll, 74 const FloatSize& accumulatedOverscroll,
74 const FloatPoint& positionInViewport, 75 const FloatPoint& positionInViewport,
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 Cursor m_lastSetMouseCursorForTesting; 203 Cursor m_lastSetMouseCursorForTesting;
203 bool m_cursorOverridden; 204 bool m_cursorOverridden;
204 bool m_didRequestNonEmptyToolTip; 205 bool m_didRequestNonEmptyToolTip;
205 }; 206 };
206 207
207 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 208 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
208 209
209 } // namespace blink 210 } // namespace blink
210 211
211 #endif 212 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698