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

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

Issue 9265018: Change grow box computation back to a method on BrowserWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 8 years, 11 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 virtual bool IsRenderView() const OVERRIDE; 365 virtual bool IsRenderView() const OVERRIDE;
366 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 366 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
367 virtual void GotFocus() OVERRIDE; 367 virtual void GotFocus() OVERRIDE;
368 virtual void LostCapture() OVERRIDE; 368 virtual void LostCapture() OVERRIDE;
369 virtual void LostMouseLock() OVERRIDE; 369 virtual void LostMouseLock() OVERRIDE;
370 virtual void ForwardMouseEvent( 370 virtual void ForwardMouseEvent(
371 const WebKit::WebMouseEvent& mouse_event) OVERRIDE; 371 const WebKit::WebMouseEvent& mouse_event) OVERRIDE;
372 virtual void OnMouseActivate() OVERRIDE; 372 virtual void OnMouseActivate() OVERRIDE;
373 virtual void ForwardKeyboardEvent( 373 virtual void ForwardKeyboardEvent(
374 const NativeWebKeyboardEvent& key_event) OVERRIDE; 374 const NativeWebKeyboardEvent& key_event) OVERRIDE;
375 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
375 376
376 // Creates a new RenderView with the given route id. 377 // Creates a new RenderView with the given route id.
377 void CreateNewWindow(int route_id, 378 void CreateNewWindow(int route_id,
378 const ViewHostMsg_CreateWindow_Params& params); 379 const ViewHostMsg_CreateWindow_Params& params);
379 380
380 // Creates a new RenderWidget with the given route id. |popup_type| indicates 381 // Creates a new RenderWidget with the given route id. |popup_type| indicates
381 // if this widget is a popup and what kind of popup it is (select, autofill). 382 // if this widget is a popup and what kind of popup it is (select, autofill).
382 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); 383 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type);
383 384
384 // Creates a full screen RenderWidget. 385 // Creates a full screen RenderWidget.
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 typedef std::map<int64, PowerSaveBlocker*> PowerSaveBlockerMap; 691 typedef std::map<int64, PowerSaveBlocker*> PowerSaveBlockerMap;
691 PowerSaveBlockerMap power_save_blockers_; 692 PowerSaveBlockerMap power_save_blockers_;
692 693
693 // A list of observers that filter messages. Weak references. 694 // A list of observers that filter messages. Weak references.
694 ObserverList<content::RenderViewHostObserver> observers_; 695 ObserverList<content::RenderViewHostObserver> observers_;
695 696
696 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 697 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
697 }; 698 };
698 699
699 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 700 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/test/base/test_browser_window.cc ('k') | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698