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

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

Issue 9477: Continue with crosssite navigations if alerts are suppressed... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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/render_view_host.cc » ('j') | chrome/browser/render_view_host.cc » ('J')
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_BROWSER_RENDER_VIEW_HOST_H__ 5 #ifndef CHROME_BROWSER_RENDER_VIEW_HOST_H__
6 #define CHROME_BROWSER_RENDER_VIEW_HOST_H__ 6 #define CHROME_BROWSER_RENDER_VIEW_HOST_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 scoped_ptr<ViewMsg_Navigate> suspended_nav_message_; 578 scoped_ptr<ViewMsg_Navigate> suspended_nav_message_;
579 579
580 // If we were asked to RunModal, then this will hold the reply_msg that we 580 // If we were asked to RunModal, then this will hold the reply_msg that we
581 // must return to the renderer to unblock it. 581 // must return to the renderer to unblock it.
582 IPC::Message* run_modal_reply_msg_; 582 IPC::Message* run_modal_reply_msg_;
583 583
584 bool has_unload_listener_; 584 bool has_unload_listener_;
585 585
586 bool is_waiting_for_unload_ack_; 586 bool is_waiting_for_unload_ack_;
587 587
588 bool are_javascript_messages_suppressed_;
589
588 DISALLOW_EVIL_CONSTRUCTORS(RenderViewHost); 590 DISALLOW_EVIL_CONSTRUCTORS(RenderViewHost);
589 }; 591 };
590 592
591 // Factory for creating RenderViewHosts. Useful for unit tests. 593 // Factory for creating RenderViewHosts. Useful for unit tests.
592 class RenderViewHostFactory { 594 class RenderViewHostFactory {
593 public: 595 public:
594 virtual ~RenderViewHostFactory() {} 596 virtual ~RenderViewHostFactory() {}
595 597
596 virtual RenderViewHost* CreateRenderViewHost( 598 virtual RenderViewHost* CreateRenderViewHost(
597 SiteInstance* instance, 599 SiteInstance* instance,
598 RenderViewHostDelegate* delegate, 600 RenderViewHostDelegate* delegate,
599 int routing_id, 601 int routing_id,
600 HANDLE modal_dialog_event) = 0; 602 HANDLE modal_dialog_event) = 0;
601 }; 603 };
602 604
603 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_H__ 605 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_H__
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/render_view_host.cc » ('j') | chrome/browser/render_view_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698