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

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

Issue 42495: A tricky fix for Issue 1845 (Take 2).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | « chrome/common/render_messages_internal.h ('k') | 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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 protected: 379 protected:
380 // RenderWidget override. 380 // RenderWidget override.
381 virtual void OnResize(const gfx::Size& new_size, 381 virtual void OnResize(const gfx::Size& new_size,
382 const gfx::Rect& resizer_rect); 382 const gfx::Rect& resizer_rect);
383 383
384 private: 384 private:
385 FRIEND_TEST(RenderViewTest, OnLoadAlternateHTMLText); 385 FRIEND_TEST(RenderViewTest, OnLoadAlternateHTMLText);
386 FRIEND_TEST(RenderViewTest, OnNavStateChanged); 386 FRIEND_TEST(RenderViewTest, OnNavStateChanged);
387 FRIEND_TEST(RenderViewTest, OnImeStateChanged); 387 FRIEND_TEST(RenderViewTest, OnImeStateChanged);
388 FRIEND_TEST(RenderViewTest, ImeComposition); 388 FRIEND_TEST(RenderViewTest, ImeComposition);
389 FRIEND_TEST(RenderViewTest, OnSetTextDirection);
389 390
390 explicit RenderView(RenderThreadBase* render_thread); 391 explicit RenderView(RenderThreadBase* render_thread);
391 392
392 // Initializes this view with the given parent and ID. The |routing_id| can be 393 // Initializes this view with the given parent and ID. The |routing_id| can be
393 // set to 'MSG_ROUTING_NONE' if the true ID is not yet known. In this case, 394 // set to 'MSG_ROUTING_NONE' if the true ID is not yet known. In this case,
394 // CompleteInit must be called later with the true ID. 395 // CompleteInit must be called later with the true ID.
395 void Init(gfx::NativeViewId parent, 396 void Init(gfx::NativeViewId parent,
396 base::WaitableEvent* modal_dialog_event, // takes ownership 397 base::WaitableEvent* modal_dialog_event, // takes ownership
397 int32 opener_id, 398 int32 opener_id,
398 const WebPreferences& webkit_prefs, 399 const WebPreferences& webkit_prefs,
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Maps pending callback IDs to their frames. 812 // Maps pending callback IDs to their frames.
812 IDMap<WebFrame> pending_extension_callbacks_; 813 IDMap<WebFrame> pending_extension_callbacks_;
813 814
814 DISALLOW_COPY_AND_ASSIGN(RenderView); 815 DISALLOW_COPY_AND_ASSIGN(RenderView);
815 }; 816 };
816 817
817 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 818 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698