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: content/browser/web_contents/web_contents_impl.h

Issue 2503563002: Drag-and-drop: updateDragCursor (Closed)
Patch Set: Created 4 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 class FindRequestManager; 62 class FindRequestManager;
63 class HostZoomMapObserver; 63 class HostZoomMapObserver;
64 class InterstitialPageImpl; 64 class InterstitialPageImpl;
65 class JavaScriptDialogManager; 65 class JavaScriptDialogManager;
66 class LoaderIOThreadNotifier; 66 class LoaderIOThreadNotifier;
67 class ManifestManagerHost; 67 class ManifestManagerHost;
68 class MediaWebContentsObserver; 68 class MediaWebContentsObserver;
69 class PluginContentOriginWhitelist; 69 class PluginContentOriginWhitelist;
70 class RenderViewHost; 70 class RenderViewHost;
71 class RenderViewHostDelegateView; 71 class RenderViewHostDelegateView;
72 class RenderWidgetHost;
72 class RenderWidgetHostImpl; 73 class RenderWidgetHostImpl;
73 class RenderWidgetHostInputEventRouter; 74 class RenderWidgetHostInputEventRouter;
74 class SavePackage; 75 class SavePackage;
75 class ScreenOrientationDispatcherHost; 76 class ScreenOrientationDispatcherHost;
76 class SiteInstance; 77 class SiteInstance;
77 class TestWebContents; 78 class TestWebContents;
78 class TextInputManager; 79 class TextInputManager;
79 class WakeLockServiceContext; 80 class WakeLockServiceContext;
80 class WebContentsAudioMuter; 81 class WebContentsAudioMuter;
81 class WebContentsBindingSet; 82 class WebContentsBindingSet;
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 RenderWidgetHostImpl* render_widget_host) const override; 656 RenderWidgetHostImpl* render_widget_host) const override;
656 void LostCapture(RenderWidgetHostImpl* render_widget_host) override; 657 void LostCapture(RenderWidgetHostImpl* render_widget_host) override;
657 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override; 658 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override;
658 bool HasMouseLock(RenderWidgetHostImpl* render_widget_host) override; 659 bool HasMouseLock(RenderWidgetHostImpl* render_widget_host) override;
659 void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, 660 void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host,
660 const std::vector<uint8_t>& proto) override; 661 const std::vector<uint8_t>& proto) override;
661 void OnRenderFrameProxyVisibilityChanged(bool visible) override; 662 void OnRenderFrameProxyVisibilityChanged(bool visible) override;
662 void SendScreenRects() override; 663 void SendScreenRects() override;
663 void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) override; 664 void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) override;
664 TextInputManager* GetTextInputManager() override; 665 TextInputManager* GetTextInputManager() override;
666 bool OnMessageReceived(RenderWidgetHost* render_widget_host,
667 const IPC::Message& message) override;
665 668
666 // RenderFrameHostManager::Delegate ------------------------------------------ 669 // RenderFrameHostManager::Delegate ------------------------------------------
667 670
668 bool CreateRenderViewForRenderManager( 671 bool CreateRenderViewForRenderManager(
669 RenderViewHost* render_view_host, 672 RenderViewHost* render_view_host,
670 int opener_frame_routing_id, 673 int opener_frame_routing_id,
671 int proxy_routing_id, 674 int proxy_routing_id,
672 const FrameReplicationState& replicated_frame_state) override; 675 const FrameReplicationState& replicated_frame_state) override;
673 void CreateRenderWidgetHostViewForRenderManager( 676 void CreateRenderWidgetHostViewForRenderManager(
674 RenderViewHost* render_view_host) override; 677 RenderViewHost* render_view_host) override;
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 // pair to identify the RenderFrameHost that opened the dialog, because it's 903 // pair to identify the RenderFrameHost that opened the dialog, because it's
901 // possible for the RenderFrameHost to be deleted by the time this is called. 904 // possible for the RenderFrameHost to be deleted by the time this is called.
902 void OnDialogClosed(int render_process_id, 905 void OnDialogClosed(int render_process_id,
903 int render_frame_id, 906 int render_frame_id,
904 IPC::Message* reply_msg, 907 IPC::Message* reply_msg,
905 bool dialog_was_suppressed, 908 bool dialog_was_suppressed,
906 bool success, 909 bool success,
907 const base::string16& user_input); 910 const base::string16& user_input);
908 911
909 bool OnMessageReceived(RenderViewHost* render_view_host, 912 bool OnMessageReceived(RenderViewHost* render_view_host,
913 RenderWidgetHost* render_widget_host,
910 RenderFrameHost* render_frame_host, 914 RenderFrameHost* render_frame_host,
911 const IPC::Message& message); 915 const IPC::Message& message);
912 916
913 // Checks whether render_frame_message_source_ is set to non-null value, 917 // Checks whether render_frame_message_source_ is set to non-null value,
914 // otherwise it terminates the main frame renderer process. 918 // otherwise it terminates the main frame renderer process.
915 bool HasValidFrameSource(); 919 bool HasValidFrameSource();
916 920
917 // IPC message handlers. 921 // IPC message handlers.
918 void OnThemeColorChanged(SkColor theme_color); 922 void OnThemeColorChanged(SkColor theme_color);
919 void OnDidLoadResourceFromMemoryCache(const GURL& url, 923 void OnDidLoadResourceFromMemoryCache(const GURL& url,
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 // Adds/removes a callback called on creation of each new WebContents. 1457 // Adds/removes a callback called on creation of each new WebContents.
1454 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1458 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1455 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1459 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1456 1460
1457 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1461 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1458 }; 1462 };
1459 1463
1460 } // namespace content 1464 } // namespace content
1461 1465
1462 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1466 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698