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

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

Issue 67202: Introduce printing test case (Step 1)... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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/renderer/mock_render_thread.cc ('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) 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 <vector> 10 #include <vector>
10 11
11 #include "base/basictypes.h" 12 #include "base/basictypes.h"
12 #include "base/file_path.h" 13 #include "base/file_path.h"
13 #include "base/gfx/point.h" 14 #include "base/gfx/point.h"
14 #include "base/gfx/rect.h" 15 #include "base/gfx/rect.h"
15 #include "base/id_map.h" 16 #include "base/id_map.h"
16 #include "base/shared_memory.h" 17 #include "base/shared_memory.h"
17 #include "base/timer.h" 18 #include "base/timer.h"
18 #include "base/values.h" 19 #include "base/values.h"
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 // RenderWidget override. 395 // RenderWidget override.
395 virtual void OnResize(const gfx::Size& new_size, 396 virtual void OnResize(const gfx::Size& new_size,
396 const gfx::Rect& resizer_rect); 397 const gfx::Rect& resizer_rect);
397 398
398 private: 399 private:
399 FRIEND_TEST(RenderViewTest, OnLoadAlternateHTMLText); 400 FRIEND_TEST(RenderViewTest, OnLoadAlternateHTMLText);
400 FRIEND_TEST(RenderViewTest, OnNavStateChanged); 401 FRIEND_TEST(RenderViewTest, OnNavStateChanged);
401 FRIEND_TEST(RenderViewTest, OnImeStateChanged); 402 FRIEND_TEST(RenderViewTest, OnImeStateChanged);
402 FRIEND_TEST(RenderViewTest, ImeComposition); 403 FRIEND_TEST(RenderViewTest, ImeComposition);
403 FRIEND_TEST(RenderViewTest, OnSetTextDirection); 404 FRIEND_TEST(RenderViewTest, OnSetTextDirection);
405 FRIEND_TEST(RenderViewTest, OnPrintPages);
404 406
405 explicit RenderView(RenderThreadBase* render_thread); 407 explicit RenderView(RenderThreadBase* render_thread);
406 408
407 // Initializes this view with the given parent and ID. The |routing_id| can be 409 // Initializes this view with the given parent and ID. The |routing_id| can be
408 // set to 'MSG_ROUTING_NONE' if the true ID is not yet known. In this case, 410 // set to 'MSG_ROUTING_NONE' if the true ID is not yet known. In this case,
409 // CompleteInit must be called later with the true ID. 411 // CompleteInit must be called later with the true ID.
410 void Init(gfx::NativeViewId parent, 412 void Init(gfx::NativeViewId parent,
411 base::WaitableEvent* modal_dialog_event, // takes ownership 413 base::WaitableEvent* modal_dialog_event, // takes ownership
412 int32 opener_id, 414 int32 opener_id,
413 const WebPreferences& webkit_prefs, 415 const WebPreferences& webkit_prefs,
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 // A set of audio renderers registered to use IPC for audio output. 836 // A set of audio renderers registered to use IPC for audio output.
835 IDMap<AudioRendererImpl> audio_renderers_; 837 IDMap<AudioRendererImpl> audio_renderers_;
836 838
837 // Maps pending callback IDs to their frames. 839 // Maps pending callback IDs to their frames.
838 IDMap<WebFrame> pending_extension_callbacks_; 840 IDMap<WebFrame> pending_extension_callbacks_;
839 841
840 DISALLOW_COPY_AND_ASSIGN(RenderView); 842 DISALLOW_COPY_AND_ASSIGN(RenderView);
841 }; 843 };
842 844
843 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 845 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/renderer/mock_render_thread.cc ('k') | chrome/renderer/render_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698