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

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

Issue 12224094: Browser Plugin: Navigating to the same URL after crash should load a new guest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits + Merged with ToT Created 7 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_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
7 7
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h"
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 bool InAutoSizeBounds(const gfx::Size& size) const; 83 bool InAutoSizeBounds(const gfx::Size& size) const;
84 84
85 // Get the guest's DOMWindow proxy. 85 // Get the guest's DOMWindow proxy.
86 NPObject* GetContentWindow() const; 86 NPObject* GetContentWindow() const;
87 87
88 // Returns Chrome's process ID for the current guest. 88 // Returns Chrome's process ID for the current guest.
89 int guest_process_id() const { return guest_process_id_; } 89 int guest_process_id() const { return guest_process_id_; }
90 // Returns Chrome's route ID for the current guest. 90 // Returns Chrome's route ID for the current guest.
91 int guest_route_id() const { return guest_route_id_; } 91 int guest_route_id() const { return guest_route_id_; }
92 // Returns whether the guest process has crashed.
93 bool guest_crashed() const { return guest_crashed_; }
92 94
93 // Query whether the guest can navigate back to the previous entry. 95 // Query whether the guest can navigate back to the previous entry.
94 bool CanGoBack() const; 96 bool CanGoBack() const;
95 // Query whether the guest can navigation forward to the next entry. 97 // Query whether the guest can navigation forward to the next entry.
96 bool CanGoForward() const; 98 bool CanGoForward() const;
97 99
98 // Informs the guest of an updated focus state. 100 // Informs the guest of an updated focus state.
99 void UpdateGuestFocusState(); 101 void UpdateGuestFocusState();
100 // Indicates whether the guest should be focused. 102 // Indicates whether the guest should be focused.
101 bool ShouldGuestBeFocused() const; 103 bool ShouldGuestBeFocused() const;
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 // Used for HW compositing. 349 // Used for HW compositing.
348 bool compositing_enabled_; 350 bool compositing_enabled_;
349 scoped_refptr<BrowserPluginCompositingHelper> compositing_helper_; 351 scoped_refptr<BrowserPluginCompositingHelper> compositing_helper_;
350 352
351 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); 353 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin);
352 }; 354 };
353 355
354 } // namespace content 356 } // namespace content
355 357
356 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 358 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/platform_apps/web_view/shim/main.js ('k') | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698