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

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

Issue 9517010: Change panels to be able to turn off autoresize. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Redisable test. Created 8 years, 9 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_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 RenderViewHost* render_view_host, 379 RenderViewHost* render_view_host,
380 const content::FileChooserParams& params) {} 380 const content::FileChooserParams& params) {}
381 381
382 // Notification that the page wants to go into or out of fullscreen mode. 382 // Notification that the page wants to go into or out of fullscreen mode.
383 virtual void ToggleFullscreenMode(bool enter_fullscreen) {} 383 virtual void ToggleFullscreenMode(bool enter_fullscreen) {}
384 virtual bool IsFullscreenForCurrentTab() const; 384 virtual bool IsFullscreenForCurrentTab() const;
385 385
386 // The contents' preferred size changed. 386 // The contents' preferred size changed.
387 virtual void UpdatePreferredSize(const gfx::Size& pref_size) {} 387 virtual void UpdatePreferredSize(const gfx::Size& pref_size) {}
388 388
389 // The contents auto-resized and the container should match it.
390 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) {}
391
389 // Notification message from HTML UI. 392 // Notification message from HTML UI.
390 virtual void WebUISend(RenderViewHost* render_view_host, 393 virtual void WebUISend(RenderViewHost* render_view_host,
391 const GURL& source_url, 394 const GURL& source_url,
392 const std::string& name, 395 const std::string& name,
393 const base::ListValue& args) {} 396 const base::ListValue& args) {}
394 // Requests to lock the mouse. Once the request is approved or rejected, 397 // Requests to lock the mouse. Once the request is approved or rejected,
395 // GotResponseToLockMouseRequest() will be called on the requesting render 398 // GotResponseToLockMouseRequest() will be called on the requesting render
396 // view host. 399 // view host.
397 virtual void RequestToLockMouse() {} 400 virtual void RequestToLockMouse() {}
398 401
399 // Notification that the view has lost the mouse lock. 402 // Notification that the view has lost the mouse lock.
400 virtual void LostMouseLock() {} 403 virtual void LostMouseLock() {}
401 404
402 protected: 405 protected:
403 virtual ~RenderViewHostDelegate() {} 406 virtual ~RenderViewHostDelegate() {}
404 }; 407 };
405 408
406 } // namespace content 409 } // namespace content
407 410
408 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 411 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698