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

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

Issue 8082019: more content exports needed for unit_tests and browser_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert export of browser_accessibility_win for now Created 9 years, 2 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) 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 virtual void TakeFocus(bool reverse) = 0; 153 virtual void TakeFocus(bool reverse) = 0;
154 154
155 protected: 155 protected:
156 virtual ~View() {} 156 virtual ~View() {}
157 }; 157 };
158 158
159 // RendererManagerment ------------------------------------------------------- 159 // RendererManagerment -------------------------------------------------------
160 // Functions for managing switching of Renderers. For TabContents, this is 160 // Functions for managing switching of Renderers. For TabContents, this is
161 // implemented by the RenderViewHostManager 161 // implemented by the RenderViewHostManager
162 162
163 class RendererManagement { 163 class CONTENT_EXPORT RendererManagement {
164 public: 164 public:
165 // Notification whether we should close the page, after an explicit call to 165 // Notification whether we should close the page, after an explicit call to
166 // AttemptToClosePage. This is called before a cross-site request or before 166 // AttemptToClosePage. This is called before a cross-site request or before
167 // a tab/window is closed (as indicated by the first parameter) to allow the 167 // a tab/window is closed (as indicated by the first parameter) to allow the
168 // appropriate renderer to approve or deny the request. |proceed| indicates 168 // appropriate renderer to approve or deny the request. |proceed| indicates
169 // whether the user chose to proceed. 169 // whether the user chose to proceed.
170 virtual void ShouldClosePage(bool for_cross_site_transition, 170 virtual void ShouldClosePage(bool for_cross_site_transition,
171 bool proceed) = 0; 171 bool proceed) = 0;
172 172
173 // Called by ResourceDispatcherHost when a response for a pending cross-site 173 // Called by ResourceDispatcherHost when a response for a pending cross-site
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 // Notification message from HTML UI. 380 // Notification message from HTML UI.
381 virtual void WebUISend(RenderViewHost* render_view_host, 381 virtual void WebUISend(RenderViewHost* render_view_host,
382 const GURL& source_url, 382 const GURL& source_url,
383 const std::string& name, 383 const std::string& name,
384 const base::ListValue& args) {} 384 const base::ListValue& args) {}
385 protected: 385 protected:
386 virtual ~RenderViewHostDelegate() {} 386 virtual ~RenderViewHostDelegate() {}
387 }; 387 };
388 388
389 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 389 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698