| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
| 6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_RENDERER_RENDER_VIEW_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 FRIEND_TEST(RenderViewTest, OnLoadAlternateHTMLText); | 445 FRIEND_TEST(RenderViewTest, OnLoadAlternateHTMLText); |
| 446 FRIEND_TEST(RenderViewTest, OnNavStateChanged); | 446 FRIEND_TEST(RenderViewTest, OnNavStateChanged); |
| 447 FRIEND_TEST(RenderViewTest, OnImeStateChanged); | 447 FRIEND_TEST(RenderViewTest, OnImeStateChanged); |
| 448 FRIEND_TEST(RenderViewTest, ImeComposition); | 448 FRIEND_TEST(RenderViewTest, ImeComposition); |
| 449 FRIEND_TEST(RenderViewTest, OnSetTextDirection); | 449 FRIEND_TEST(RenderViewTest, OnSetTextDirection); |
| 450 FRIEND_TEST(RenderViewTest, OnPrintPages); | 450 FRIEND_TEST(RenderViewTest, OnPrintPages); |
| 451 FRIEND_TEST(RenderViewTest, PrintWithIframe); | 451 FRIEND_TEST(RenderViewTest, PrintWithIframe); |
| 452 FRIEND_TEST(RenderViewTest, PrintLayoutTest); | 452 FRIEND_TEST(RenderViewTest, PrintLayoutTest); |
| 453 FRIEND_TEST(RenderViewTest, OnHandleKeyboardEvent); | 453 FRIEND_TEST(RenderViewTest, OnHandleKeyboardEvent); |
| 454 FRIEND_TEST(RenderViewTest, InsertCharacters); | 454 FRIEND_TEST(RenderViewTest, InsertCharacters); |
| 455 #if defined(OS_MACOSX) |
| 456 FRIEND_TEST(RenderViewTest, MacTestCmdUp); |
| 457 #endif |
| 455 | 458 |
| 456 explicit RenderView(RenderThreadBase* render_thread, | 459 explicit RenderView(RenderThreadBase* render_thread, |
| 457 const WebPreferences& webkit_preferences); | 460 const WebPreferences& webkit_preferences); |
| 458 | 461 |
| 459 // Initializes this view with the given parent and ID. The |routing_id| can be | 462 // Initializes this view with the given parent and ID. The |routing_id| can be |
| 460 // set to 'MSG_ROUTING_NONE' if the true ID is not yet known. In this case, | 463 // set to 'MSG_ROUTING_NONE' if the true ID is not yet known. In this case, |
| 461 // CompleteInit must be called later with the true ID. | 464 // CompleteInit must be called later with the true ID. |
| 462 void Init(gfx::NativeViewId parent, | 465 void Init(gfx::NativeViewId parent, |
| 463 int32 opener_id, | 466 int32 opener_id, |
| 464 const RendererPreferences& renderer_prefs, | 467 const RendererPreferences& renderer_prefs, |
| (...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 961 WebPreferences webkit_preferences_; | 964 WebPreferences webkit_preferences_; |
| 962 | 965 |
| 963 // Stores edit commands associated to the next key event. | 966 // Stores edit commands associated to the next key event. |
| 964 // Shall be cleared as soon as the next key event is processed. | 967 // Shall be cleared as soon as the next key event is processed. |
| 965 EditCommands edit_commands_; | 968 EditCommands edit_commands_; |
| 966 | 969 |
| 967 DISALLOW_COPY_AND_ASSIGN(RenderView); | 970 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 968 }; | 971 }; |
| 969 | 972 |
| 970 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 973 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |