| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 protected: | 367 protected: |
| 368 // RenderWidget override. | 368 // RenderWidget override. |
| 369 virtual void OnResize(const gfx::Size& new_size, | 369 virtual void OnResize(const gfx::Size& new_size, |
| 370 const gfx::Rect& resizer_rect); | 370 const gfx::Rect& resizer_rect); |
| 371 | 371 |
| 372 private: | 372 private: |
| 373 FRIEND_TEST(RenderViewTest, OnLoadAlternateHTMLText); | 373 FRIEND_TEST(RenderViewTest, OnLoadAlternateHTMLText); |
| 374 FRIEND_TEST(RenderViewTest, OnNavStateChanged); | 374 FRIEND_TEST(RenderViewTest, OnNavStateChanged); |
| 375 FRIEND_TEST(RenderViewTest, OnImeStateChanged); | 375 FRIEND_TEST(RenderViewTest, OnImeStateChanged); |
| 376 FRIEND_TEST(RenderViewTest, ImeComposition); | 376 FRIEND_TEST(RenderViewTest, ImeComposition); |
| 377 FRIEND_TEST(RenderViewTest, OnSetTextDirection); |
| 377 | 378 |
| 378 explicit RenderView(RenderThreadBase* render_thread); | 379 explicit RenderView(RenderThreadBase* render_thread); |
| 379 | 380 |
| 380 // Initializes this view with the given parent and ID. The |routing_id| can be | 381 // Initializes this view with the given parent and ID. The |routing_id| can be |
| 381 // set to 'MSG_ROUTING_NONE' if the true ID is not yet known. In this case, | 382 // set to 'MSG_ROUTING_NONE' if the true ID is not yet known. In this case, |
| 382 // CompleteInit must be called later with the true ID. | 383 // CompleteInit must be called later with the true ID. |
| 383 void Init(gfx::NativeViewId parent, | 384 void Init(gfx::NativeViewId parent, |
| 384 base::WaitableEvent* modal_dialog_event, // takes ownership | 385 base::WaitableEvent* modal_dialog_event, // takes ownership |
| 385 int32 opener_id, | 386 int32 opener_id, |
| 386 const WebPreferences& webkit_prefs, | 387 const WebPreferences& webkit_prefs, |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 805 // change but is overridden by tests. | 806 // change but is overridden by tests. |
| 806 int delay_seconds_for_form_state_sync_; | 807 int delay_seconds_for_form_state_sync_; |
| 807 | 808 |
| 808 // A set of audio renderers registered to use IPC for audio output. | 809 // A set of audio renderers registered to use IPC for audio output. |
| 809 IDMap<AudioRendererImpl> audio_renderers_; | 810 IDMap<AudioRendererImpl> audio_renderers_; |
| 810 | 811 |
| 811 DISALLOW_COPY_AND_ASSIGN(RenderView); | 812 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 812 }; | 813 }; |
| 813 | 814 |
| 814 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 815 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |