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

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

Issue 505443002: Move DisownOpener to RenderFrameHost / RenderFrameProxyHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 348
349 #if defined(OS_ANDROID) 349 #if defined(OS_ANDROID)
350 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices); 350 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices);
351 void DidCancelPopupMenu(); 351 void DidCancelPopupMenu();
352 #endif 352 #endif
353 353
354 int main_frame_routing_id() const { 354 int main_frame_routing_id() const {
355 return main_frame_routing_id_; 355 return main_frame_routing_id_;
356 } 356 }
357 357
358 // Set the opener to null in the renderer process.
359 void DisownOpener();
360
361 bool is_waiting_for_beforeunload_ack() { 358 bool is_waiting_for_beforeunload_ack() {
362 return is_waiting_for_beforeunload_ack_; 359 return is_waiting_for_beforeunload_ack_;
363 } 360 }
364 361
365 // Whether the RVH is waiting for the unload ack from the renderer. 362 // Whether the RVH is waiting for the unload ack from the renderer.
366 bool IsWaitingForUnloadACK() const; 363 bool IsWaitingForUnloadACK() const;
367 364
368 void OnTextSurroundingSelectionResponse(const base::string16& content, 365 void OnTextSurroundingSelectionResponse(const base::string16& content,
369 size_t start_offset, 366 size_t start_offset,
370 size_t end_offset); 367 size_t end_offset);
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 551 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
555 }; 552 };
556 553
557 #if defined(COMPILER_MSVC) 554 #if defined(COMPILER_MSVC)
558 #pragma warning(pop) 555 #pragma warning(pop)
559 #endif 556 #endif
560 557
561 } // namespace content 558 } // namespace content
562 559
563 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 560 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698