| 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 <string> | 8 #include <string> |
| 9 #include <queue> | 9 #include <queue> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 | 383 |
| 384 private: | 384 private: |
| 385 // For unit tests. | 385 // For unit tests. |
| 386 friend class RenderViewTest; | 386 friend class RenderViewTest; |
| 387 FRIEND_TEST(RenderViewTest, OnLoadAlternateHTMLText); | 387 FRIEND_TEST(RenderViewTest, OnLoadAlternateHTMLText); |
| 388 FRIEND_TEST(RenderViewTest, OnNavStateChanged); | 388 FRIEND_TEST(RenderViewTest, OnNavStateChanged); |
| 389 FRIEND_TEST(RenderViewTest, OnImeStateChanged); | 389 FRIEND_TEST(RenderViewTest, OnImeStateChanged); |
| 390 FRIEND_TEST(RenderViewTest, ImeComposition); | 390 FRIEND_TEST(RenderViewTest, ImeComposition); |
| 391 FRIEND_TEST(RenderViewTest, OnSetTextDirection); | 391 FRIEND_TEST(RenderViewTest, OnSetTextDirection); |
| 392 FRIEND_TEST(RenderViewTest, OnPrintPages); | 392 FRIEND_TEST(RenderViewTest, OnPrintPages); |
| 393 FRIEND_TEST(RenderViewTest, PrintWithIframe); |
| 393 FRIEND_TEST(RenderViewTest, PrintLayoutTest); | 394 FRIEND_TEST(RenderViewTest, PrintLayoutTest); |
| 394 FRIEND_TEST(RenderViewTest, OnHandleKeyboardEvent); | 395 FRIEND_TEST(RenderViewTest, OnHandleKeyboardEvent); |
| 395 FRIEND_TEST(RenderViewTest, InsertCharacters); | 396 FRIEND_TEST(RenderViewTest, InsertCharacters); |
| 396 | 397 |
| 397 explicit RenderView(RenderThreadBase* render_thread); | 398 explicit RenderView(RenderThreadBase* render_thread); |
| 398 | 399 |
| 399 // Initializes this view with the given parent and ID. The |routing_id| can be | 400 // Initializes this view with the given parent and ID. The |routing_id| can be |
| 400 // set to 'MSG_ROUTING_NONE' if the true ID is not yet known. In this case, | 401 // set to 'MSG_ROUTING_NONE' if the true ID is not yet known. In this case, |
| 401 // CompleteInit must be called later with the true ID. | 402 // CompleteInit must be called later with the true ID. |
| 402 void Init(gfx::NativeViewId parent, | 403 void Init(gfx::NativeViewId parent, |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 798 // PrintWebViewHelper handles printing. Note that this object is constructed | 799 // PrintWebViewHelper handles printing. Note that this object is constructed |
| 799 // when printing for the first time but only destroyed with the RenderView. | 800 // when printing for the first time but only destroyed with the RenderView. |
| 800 scoped_ptr<PrintWebViewHelper> print_helper_; | 801 scoped_ptr<PrintWebViewHelper> print_helper_; |
| 801 | 802 |
| 802 RendererPreferences renderer_preferences_; | 803 RendererPreferences renderer_preferences_; |
| 803 | 804 |
| 804 DISALLOW_COPY_AND_ASSIGN(RenderView); | 805 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 805 }; | 806 }; |
| 806 | 807 |
| 807 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 808 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |