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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 | 421 |
422 // User rotated the screen. Calls the "onorientationchange" Javascript hook. | 422 // User rotated the screen. Calls the "onorientationchange" Javascript hook. |
423 void SendOrientationChangeEvent(int orientation); | 423 void SendOrientationChangeEvent(int orientation); |
424 | 424 |
425 // Sets a bit indicating whether the RenderView is responsible for displaying | 425 // Sets a bit indicating whether the RenderView is responsible for displaying |
426 // a subframe in a different process from its parent page. | 426 // a subframe in a different process from its parent page. |
427 void set_is_subframe(bool is_subframe) { | 427 void set_is_subframe(bool is_subframe) { |
428 is_subframe_ = is_subframe; | 428 is_subframe_ = is_subframe; |
429 } | 429 } |
430 | 430 |
| 431 // TODO(creis): Remove this when we replace frame IDs with RenderFrameHost |
| 432 // routing IDs. |
431 int64 main_frame_id() const { | 433 int64 main_frame_id() const { |
432 return main_frame_id_; | 434 return main_frame_id_; |
433 } | 435 } |
434 | 436 |
435 // Set the opener to null in the renderer process. | 437 // Set the opener to null in the renderer process. |
436 void DisownOpener(); | 438 void DisownOpener(); |
437 | 439 |
438 // Turn on accessibility testing. The given callback will be run | 440 // Turn on accessibility testing. The given callback will be run |
439 // every time an accessibility notification is received from the | 441 // every time an accessibility notification is received from the |
440 // renderer process, and the accessibility tree it sent can be | 442 // renderer process, and the accessibility tree it sent can be |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 741 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
740 }; | 742 }; |
741 | 743 |
742 #if defined(COMPILER_MSVC) | 744 #if defined(COMPILER_MSVC) |
743 #pragma warning(pop) | 745 #pragma warning(pop) |
744 #endif | 746 #endif |
745 | 747 |
746 } // namespace content | 748 } // namespace content |
747 | 749 |
748 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 750 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |