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

Side by Side Diff: content/browser/tab_contents/tab_contents.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_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 // RenderViewHostDelegate ---------------------------------------------------- 218 // RenderViewHostDelegate ----------------------------------------------------
219 219
220 virtual content::RenderViewHostDelegate::View* GetViewDelegate() OVERRIDE; 220 virtual content::RenderViewHostDelegate::View* GetViewDelegate() OVERRIDE;
221 virtual content::RenderViewHostDelegate::RendererManagement* 221 virtual content::RenderViewHostDelegate::RendererManagement*
222 GetRendererManagementDelegate() OVERRIDE; 222 GetRendererManagementDelegate() OVERRIDE;
223 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 223 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
224 virtual const GURL& GetURL() const OVERRIDE; 224 virtual const GURL& GetURL() const OVERRIDE;
225 virtual TabContents* GetAsTabContents() OVERRIDE; 225 virtual TabContents* GetAsTabContents() OVERRIDE;
226 virtual WebContents* GetAsWebContents() OVERRIDE; 226 virtual WebContents* GetAsWebContents() OVERRIDE;
227 virtual content::ViewType GetRenderViewType() const OVERRIDE; 227 virtual content::ViewType GetRenderViewType() const OVERRIDE;
228 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
228 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; 229 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
229 virtual void RenderViewReady(RenderViewHost* render_view_host) OVERRIDE; 230 virtual void RenderViewReady(RenderViewHost* render_view_host) OVERRIDE;
230 virtual void RenderViewGone(RenderViewHost* render_view_host, 231 virtual void RenderViewGone(RenderViewHost* render_view_host,
231 base::TerminationStatus status, 232 base::TerminationStatus status,
232 int error_code) OVERRIDE; 233 int error_code) OVERRIDE;
233 virtual void RenderViewDeleted(RenderViewHost* render_view_host) OVERRIDE; 234 virtual void RenderViewDeleted(RenderViewHost* render_view_host) OVERRIDE;
234 virtual void DidNavigate( 235 virtual void DidNavigate(
235 RenderViewHost* render_view_host, 236 RenderViewHost* render_view_host,
236 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; 237 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE;
237 virtual void UpdateState(RenderViewHost* render_view_host, 238 virtual void UpdateState(RenderViewHost* render_view_host,
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 int error_code, 412 int error_code,
412 const string16& error_description); 413 const string16& error_description);
413 void OnUpdateContentRestrictions(int restrictions); 414 void OnUpdateContentRestrictions(int restrictions);
414 void OnGoToEntryAtOffset(int offset); 415 void OnGoToEntryAtOffset(int offset);
415 void OnUpdateZoomLimits(int minimum_percent, 416 void OnUpdateZoomLimits(int minimum_percent,
416 int maximum_percent, 417 int maximum_percent,
417 bool remember); 418 bool remember);
418 void OnSaveURL(const GURL& url); 419 void OnSaveURL(const GURL& url);
419 void OnEnumerateDirectory(int request_id, const FilePath& path); 420 void OnEnumerateDirectory(int request_id, const FilePath& path);
420 void OnJSOutOfMemory(); 421 void OnJSOutOfMemory();
422
421 void OnRegisterProtocolHandler(const std::string& protocol, 423 void OnRegisterProtocolHandler(const std::string& protocol,
422 const GURL& url, 424 const GURL& url,
423 const string16& title); 425 const string16& title);
424 void OnFindReply(int request_id, int number_of_matches, 426 void OnFindReply(int request_id, int number_of_matches,
425 const gfx::Rect& selection_rect, int active_match_ordinal, 427 const gfx::Rect& selection_rect, int active_match_ordinal,
426 bool final_update); 428 bool final_update);
427 void OnCrashedPlugin(const FilePath& plugin_path); 429 void OnCrashedPlugin(const FilePath& plugin_path);
428 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); 430 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy);
429 431
430 // Changes the IsLoading state and notifies delegate as needed 432 // Changes the IsLoading state and notifies delegate as needed
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 // (full-page plugins for now only) permissions. 640 // (full-page plugins for now only) permissions.
639 int content_restrictions_; 641 int content_restrictions_;
640 642
641 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. 643 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS.
642 content::ViewType view_type_; 644 content::ViewType view_type_;
643 645
644 DISALLOW_COPY_AND_ASSIGN(TabContents); 646 DISALLOW_COPY_AND_ASSIGN(TabContents);
645 }; 647 };
646 648
647 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 649 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/interstitial_page.cc ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698