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

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: 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_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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 const NativeWebKeyboardEvent& event) OVERRIDE; 301 const NativeWebKeyboardEvent& event) OVERRIDE;
302 virtual void HandleMouseDown() OVERRIDE; 302 virtual void HandleMouseDown() OVERRIDE;
303 virtual void HandleMouseUp() OVERRIDE; 303 virtual void HandleMouseUp() OVERRIDE;
304 virtual void HandleMouseActivate() OVERRIDE; 304 virtual void HandleMouseActivate() OVERRIDE;
305 virtual void RunFileChooser( 305 virtual void RunFileChooser(
306 RenderViewHost* render_view_host, 306 RenderViewHost* render_view_host,
307 const content::FileChooserParams& params) OVERRIDE; 307 const content::FileChooserParams& params) OVERRIDE;
308 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; 308 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE;
309 virtual bool IsFullscreenForCurrentTab() const OVERRIDE; 309 virtual bool IsFullscreenForCurrentTab() const OVERRIDE;
310 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; 310 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE;
311 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) OVERRIDE;
311 virtual void WebUISend(RenderViewHost* render_view_host, 312 virtual void WebUISend(RenderViewHost* render_view_host,
312 const GURL& source_url, 313 const GURL& source_url,
313 const std::string& name, 314 const std::string& name,
314 const base::ListValue& args) OVERRIDE; 315 const base::ListValue& args) OVERRIDE;
315 virtual void RequestToLockMouse() OVERRIDE; 316 virtual void RequestToLockMouse() OVERRIDE;
316 virtual void LostMouseLock() OVERRIDE; 317 virtual void LostMouseLock() OVERRIDE;
317 318
318 // RenderViewHostManager::Delegate ------------------------------------------- 319 // RenderViewHostManager::Delegate -------------------------------------------
319 320
320 virtual bool CreateRenderViewForRenderManager( 321 virtual bool CreateRenderViewForRenderManager(
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 // (full-page plugins for now only) permissions. 646 // (full-page plugins for now only) permissions.
646 int content_restrictions_; 647 int content_restrictions_;
647 648
648 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. 649 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS.
649 content::ViewType view_type_; 650 content::ViewType view_type_;
650 651
651 DISALLOW_COPY_AND_ASSIGN(TabContents); 652 DISALLOW_COPY_AND_ASSIGN(TabContents);
652 }; 653 };
653 654
654 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 655 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698