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

Side by Side Diff: chrome/browser/renderer_host/render_view_host.h

Issue 155133: Windowed plugins like Flash would cause the hung plugin dialog to show up whe... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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/browser/renderer_host/render_view_host.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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 void CreateNewWindow(int route_id, ModalDialogEvent modal_dialog_event); 402 void CreateNewWindow(int route_id, ModalDialogEvent modal_dialog_event);
403 403
404 // Creates a new RenderWidget with the given route id. 404 // Creates a new RenderWidget with the given route id.
405 void CreateNewWidget(int route_id, bool activatable); 405 void CreateNewWidget(int route_id, bool activatable);
406 406
407 // Senf the response to an extension api call. 407 // Senf the response to an extension api call.
408 void SendExtensionResponse(int request_id, bool success, 408 void SendExtensionResponse(int request_id, bool success,
409 const std::string& response, 409 const std::string& response,
410 const std::string& error); 410 const std::string& error);
411 411
412 void SignalModalDialogEvent();
413 void ResetModalDialogEvent();
414
412 protected: 415 protected:
413 // RenderWidgetHost protected overrides. 416 // RenderWidgetHost protected overrides.
414 virtual void UnhandledKeyboardEvent(const NativeWebKeyboardEvent& event); 417 virtual void UnhandledKeyboardEvent(const NativeWebKeyboardEvent& event);
415 virtual void OnUserGesture(); 418 virtual void OnUserGesture();
416 virtual void NotifyRendererUnresponsive(); 419 virtual void NotifyRendererUnresponsive();
417 virtual void NotifyRendererResponsive(); 420 virtual void NotifyRendererResponsive();
418 421
419 // IPC message handlers. 422 // IPC message handlers.
420 void OnMsgShowView(int route_id, 423 void OnMsgShowView(int route_id,
421 WindowOpenDisposition disposition, 424 WindowOpenDisposition disposition,
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 609
607 // True if the render view can be shut down suddenly. 610 // True if the render view can be shut down suddenly.
608 bool sudden_termination_allowed_; 611 bool sudden_termination_allowed_;
609 612
610 NotificationRegistrar registrar_; 613 NotificationRegistrar registrar_;
611 614
612 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 615 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
613 }; 616 };
614 617
615 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 618 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698