OLD | NEW |
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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 | 350 |
351 #if defined(OS_ANDROID) | 351 #if defined(OS_ANDROID) |
352 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices); | 352 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices); |
353 void DidCancelPopupMenu(); | 353 void DidCancelPopupMenu(); |
354 #endif | 354 #endif |
355 | 355 |
356 int main_frame_routing_id() const { | 356 int main_frame_routing_id() const { |
357 return main_frame_routing_id_; | 357 return main_frame_routing_id_; |
358 } | 358 } |
359 | 359 |
360 // Set the opener to null in the renderer process. | |
361 void DisownOpener(); | |
362 | |
363 bool is_waiting_for_beforeunload_ack() { | 360 bool is_waiting_for_beforeunload_ack() { |
364 return is_waiting_for_beforeunload_ack_; | 361 return is_waiting_for_beforeunload_ack_; |
365 } | 362 } |
366 | 363 |
367 // Whether the RVH is waiting for the unload ack from the renderer. | 364 // Whether the RVH is waiting for the unload ack from the renderer. |
368 bool IsWaitingForUnloadACK() const; | 365 bool IsWaitingForUnloadACK() const; |
369 | 366 |
370 void OnTextSurroundingSelectionResponse(const base::string16& content, | 367 void OnTextSurroundingSelectionResponse(const base::string16& content, |
371 size_t start_offset, | 368 size_t start_offset, |
372 size_t end_offset); | 369 size_t end_offset); |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 553 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
557 }; | 554 }; |
558 | 555 |
559 #if defined(COMPILER_MSVC) | 556 #if defined(COMPILER_MSVC) |
560 #pragma warning(pop) | 557 #pragma warning(pop) |
561 #endif | 558 #endif |
562 | 559 |
563 } // namespace content | 560 } // namespace content |
564 | 561 |
565 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 562 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |