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

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

Issue 6883020: Make icon_messages use the IPC macros for defining the structs and the serialization code, and mo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | « content/browser/tab_contents/tab_contents.cc ('k') | ipc/ipc_message_utils.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 gfx::Rect* location, 608 gfx::Rect* location,
609 gfx::Rect* clip); 609 gfx::Rect* clip);
610 virtual gfx::Point GetScrollOffset(); 610 virtual gfx::Point GetScrollOffset();
611 virtual void DidHandleKeyEvent(); 611 virtual void DidHandleKeyEvent();
612 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event); 612 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event);
613 virtual void OnSetFocus(bool enable); 613 virtual void OnSetFocus(bool enable);
614 virtual void OnWasHidden(); 614 virtual void OnWasHidden();
615 virtual void OnWasRestored(bool needs_repainting); 615 virtual void OnWasRestored(bool needs_repainting);
616 616
617 private: 617 private:
618 // TODO(jam): temporary friend class to ease with the file move. Remove soon.
619 friend class chrome::ChromeContentRendererClient;
620
621 // For unit tests. 618 // For unit tests.
622 friend class ExternalPopupMenuTest; 619 friend class ExternalPopupMenuTest;
623 friend class PepperDeviceTest; 620 friend class PepperDeviceTest;
624 friend class RenderViewTest; 621 friend class RenderViewTest;
625 622
626 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange); 623 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange);
627 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, NormalCase); 624 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, NormalCase);
628 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate); 625 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate);
629 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, ImeComposition); 626 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, ImeComposition);
630 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, InsertCharacters); 627 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, InsertCharacters);
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 // bunch of stuff, you should probably create a helper class and put your 1162 // bunch of stuff, you should probably create a helper class and put your
1166 // data and methods on that to avoid bloating RenderView more. You can use 1163 // data and methods on that to avoid bloating RenderView more. You can use
1167 // the Observer interface to filter IPC messages and receive frame change 1164 // the Observer interface to filter IPC messages and receive frame change
1168 // notifications. 1165 // notifications.
1169 // --------------------------------------------------------------------------- 1166 // ---------------------------------------------------------------------------
1170 1167
1171 DISALLOW_COPY_AND_ASSIGN(RenderView); 1168 DISALLOW_COPY_AND_ASSIGN(RenderView);
1172 }; 1169 };
1173 1170
1174 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1171 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698