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

Side by Side Diff: content/browser/tab_contents/tab_contents.h

Issue 9517010: Change panels to be able to turn off autoresize. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix assert at the end of RenderWidget::Resize which fixes the tests on OSX. 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_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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 const NativeWebKeyboardEvent& event) OVERRIDE; 305 const NativeWebKeyboardEvent& event) OVERRIDE;
306 virtual void HandleMouseDown() OVERRIDE; 306 virtual void HandleMouseDown() OVERRIDE;
307 virtual void HandleMouseUp() OVERRIDE; 307 virtual void HandleMouseUp() OVERRIDE;
308 virtual void HandleMouseActivate() OVERRIDE; 308 virtual void HandleMouseActivate() OVERRIDE;
309 virtual void RunFileChooser( 309 virtual void RunFileChooser(
310 RenderViewHost* render_view_host, 310 RenderViewHost* render_view_host,
311 const content::FileChooserParams& params) OVERRIDE; 311 const content::FileChooserParams& params) OVERRIDE;
312 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; 312 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE;
313 virtual bool IsFullscreenForCurrentTab() const OVERRIDE; 313 virtual bool IsFullscreenForCurrentTab() const OVERRIDE;
314 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; 314 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE;
315 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) OVERRIDE;
315 virtual void WebUISend(RenderViewHost* render_view_host, 316 virtual void WebUISend(RenderViewHost* render_view_host,
316 const GURL& source_url, 317 const GURL& source_url,
317 const std::string& name, 318 const std::string& name,
318 const base::ListValue& args) OVERRIDE; 319 const base::ListValue& args) OVERRIDE;
319 virtual void RequestToLockMouse() OVERRIDE; 320 virtual void RequestToLockMouse() OVERRIDE;
320 virtual void LostMouseLock() OVERRIDE; 321 virtual void LostMouseLock() OVERRIDE;
321 322
322 // RenderViewHostManager::Delegate ------------------------------------------- 323 // RenderViewHostManager::Delegate -------------------------------------------
323 324
324 virtual bool CreateRenderViewForRenderManager( 325 virtual bool CreateRenderViewForRenderManager(
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 // (full-page plugins for now only) permissions. 650 // (full-page plugins for now only) permissions.
650 int content_restrictions_; 651 int content_restrictions_;
651 652
652 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. 653 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS.
653 content::ViewType view_type_; 654 content::ViewType view_type_;
654 655
655 DISALLOW_COPY_AND_ASSIGN(TabContents); 656 DISALLOW_COPY_AND_ASSIGN(TabContents);
656 }; 657 };
657 658
658 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 659 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host.cc ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698