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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 165793003: Remove tests and code for showModalDialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 int surface_id() const { return surface_id_; } 196 int surface_id() const { return surface_id_; }
197 197
198 bool empty() const { return current_size_.IsEmpty(); } 198 bool empty() const { return current_size_.IsEmpty(); }
199 199
200 // Called when a renderer object already been created for this host, and we 200 // Called when a renderer object already been created for this host, and we
201 // just need to be attached to it. Used for window.open, <select> dropdown 201 // just need to be attached to it. Used for window.open, <select> dropdown
202 // menus, and other times when the renderer initiates creating an object. 202 // menus, and other times when the renderer initiates creating an object.
203 virtual void Init(); 203 virtual void Init();
204 204
205 // Tells the renderer to die and then calls Destroy(). 205 // Tells the renderer to die and then calls Destroy().
206 virtual void Shutdown(); 206 void Shutdown();
207 207
208 // IPC::Listener 208 // IPC::Listener
209 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 209 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
210 210
211 // Sends a message to the corresponding object in the renderer. 211 // Sends a message to the corresponding object in the renderer.
212 virtual bool Send(IPC::Message* msg) OVERRIDE; 212 virtual bool Send(IPC::Message* msg) OVERRIDE;
213 213
214 // Called to notify the RenderWidget that it has been hidden or restored from 214 // Called to notify the RenderWidget that it has been hidden or restored from
215 // having been hidden. 215 // having been hidden.
216 void WasHidden(); 216 void WasHidden();
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; 932 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_;
933 933
934 int64 last_input_number_; 934 int64 last_input_number_;
935 935
936 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 936 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
937 }; 937 };
938 938
939 } // namespace content 939 } // namespace content
940 940
941 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 941 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/webkit_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698