Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: chrome/renderer/render_view.h

Issue 20014: Add the first unit-test that tests our IME backend.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/renderer/render_view_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 int delay_seconds_for_form_state_sync() const { 330 int delay_seconds_for_form_state_sync() const {
331 return delay_seconds_for_form_state_sync_; 331 return delay_seconds_for_form_state_sync_;
332 } 332 }
333 void set_delay_seconds_for_form_state_sync(int delay_in_seconds) { 333 void set_delay_seconds_for_form_state_sync(int delay_in_seconds) {
334 delay_seconds_for_form_state_sync_ = delay_in_seconds; 334 delay_seconds_for_form_state_sync_ = delay_in_seconds;
335 } 335 }
336 336
337 private: 337 private:
338 FRIEND_TEST(RenderViewTest, OnLoadAlternateHTMLText); 338 FRIEND_TEST(RenderViewTest, OnLoadAlternateHTMLText);
339 FRIEND_TEST(RenderViewTest, OnNavStateChanged); 339 FRIEND_TEST(RenderViewTest, OnNavStateChanged);
340 FRIEND_TEST(RenderViewTest, OnImeStateChanged);
340 341
341 explicit RenderView(RenderThreadBase* render_thread); 342 explicit RenderView(RenderThreadBase* render_thread);
342 343
343 // Initializes this view with the given parent and ID. The |routing_id| can be 344 // Initializes this view with the given parent and ID. The |routing_id| can be
344 // set to 'MSG_ROUTING_NONE' if the true ID is not yet known. In this case, 345 // set to 'MSG_ROUTING_NONE' if the true ID is not yet known. In this case,
345 // CompleteInit must be called later with the true ID. 346 // CompleteInit must be called later with the true ID.
346 void Init(gfx::NativeViewId parent, 347 void Init(gfx::NativeViewId parent,
347 base::WaitableEvent* modal_dialog_event, // takes ownership 348 base::WaitableEvent* modal_dialog_event, // takes ownership
348 int32 opener_id, 349 int32 opener_id,
349 const WebPreferences& webkit_prefs, 350 const WebPreferences& webkit_prefs,
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 // Time in seconds of the delay between syncing page state such as form 741 // Time in seconds of the delay between syncing page state such as form
741 // elements and scroll position. This timeout allows us to avoid spamming the 742 // elements and scroll position. This timeout allows us to avoid spamming the
742 // browser process with every little thing that changes. This normally doesn't 743 // browser process with every little thing that changes. This normally doesn't
743 // change but is overridden by tests. 744 // change but is overridden by tests.
744 int delay_seconds_for_form_state_sync_; 745 int delay_seconds_for_form_state_sync_;
745 746
746 DISALLOW_COPY_AND_ASSIGN(RenderView); 747 DISALLOW_COPY_AND_ASSIGN(RenderView);
747 }; 748 };
748 749
749 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 750 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/render_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698