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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 23694031: Fix race conditions in window snapshot code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
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_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 void OnDidZoomURL(double zoom_level, bool remember, const GURL& url); 567 void OnDidZoomURL(double zoom_level, bool remember, const GURL& url);
568 void OnRequestDesktopNotificationPermission(const GURL& origin, 568 void OnRequestDesktopNotificationPermission(const GURL& origin,
569 int callback_id); 569 int callback_id);
570 void OnShowDesktopNotification( 570 void OnShowDesktopNotification(
571 const ShowDesktopNotificationHostMsgParams& params); 571 const ShowDesktopNotificationHostMsgParams& params);
572 void OnCancelDesktopNotification(int notification_id); 572 void OnCancelDesktopNotification(int notification_id);
573 void OnRunFileChooser(const FileChooserParams& params); 573 void OnRunFileChooser(const FileChooserParams& params);
574 void OnDidAccessInitialDocument(); 574 void OnDidAccessInitialDocument();
575 void OnDomOperationResponse(const std::string& json_string, 575 void OnDomOperationResponse(const std::string& json_string,
576 int automation_id); 576 int automation_id);
577 void OnGetWindowSnapshot(const int snapshot_id);
578 577
579 #if defined(OS_MACOSX) || defined(OS_ANDROID) 578 #if defined(OS_MACOSX) || defined(OS_ANDROID)
580 void OnShowPopup(const ViewHostMsg_ShowPopup_Params& params); 579 void OnShowPopup(const ViewHostMsg_ShowPopup_Params& params);
581 #endif 580 #endif
582 581
583 private: 582 private:
584 friend class TestRenderViewHost; 583 friend class TestRenderViewHost;
585 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, BasicRenderFrameHost); 584 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, BasicRenderFrameHost);
586 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, RoutingIdSane); 585 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, RoutingIdSane);
587 586
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 708 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
710 }; 709 };
711 710
712 #if defined(COMPILER_MSVC) 711 #if defined(COMPILER_MSVC)
713 #pragma warning(pop) 712 #pragma warning(pop)
714 #endif 713 #endif
715 714
716 } // namespace content 715 } // namespace content
717 716
718 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 717 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698