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

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: Addressed Nit Created 7 years, 2 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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 void OnDidZoomURL(double zoom_level, bool remember, const GURL& url); 576 void OnDidZoomURL(double zoom_level, bool remember, const GURL& url);
577 void OnRequestDesktopNotificationPermission(const GURL& origin, 577 void OnRequestDesktopNotificationPermission(const GURL& origin,
578 int callback_id); 578 int callback_id);
579 void OnShowDesktopNotification( 579 void OnShowDesktopNotification(
580 const ShowDesktopNotificationHostMsgParams& params); 580 const ShowDesktopNotificationHostMsgParams& params);
581 void OnCancelDesktopNotification(int notification_id); 581 void OnCancelDesktopNotification(int notification_id);
582 void OnRunFileChooser(const FileChooserParams& params); 582 void OnRunFileChooser(const FileChooserParams& params);
583 void OnDidAccessInitialDocument(); 583 void OnDidAccessInitialDocument();
584 void OnDomOperationResponse(const std::string& json_string, 584 void OnDomOperationResponse(const std::string& json_string,
585 int automation_id); 585 int automation_id);
586 void OnGetWindowSnapshot(const int snapshot_id);
587 586
588 #if defined(OS_MACOSX) || defined(OS_ANDROID) 587 #if defined(OS_MACOSX) || defined(OS_ANDROID)
589 void OnShowPopup(const ViewHostMsg_ShowPopup_Params& params); 588 void OnShowPopup(const ViewHostMsg_ShowPopup_Params& params);
590 #endif 589 #endif
591 590
592 // TODO(nasko): Remove this accessor once RenderFrameHost moves into the frame 591 // TODO(nasko): Remove this accessor once RenderFrameHost moves into the frame
593 // tree. 592 // tree.
594 RenderFrameHostImpl* main_render_frame_host() const { 593 RenderFrameHostImpl* main_render_frame_host() const {
595 return main_render_frame_host_.get(); 594 return main_render_frame_host_.get();
596 } 595 }
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 722 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
724 }; 723 };
725 724
726 #if defined(COMPILER_MSVC) 725 #if defined(COMPILER_MSVC)
727 #pragma warning(pop) 726 #pragma warning(pop)
728 #endif 727 #endif
729 728
730 } // namespace content 729 } // namespace content
731 730
732 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 731 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698