OLD | NEW |
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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 virtual void BeforeUnloadFiredFromRenderManager( | 319 virtual void BeforeUnloadFiredFromRenderManager( |
320 bool proceed, | 320 bool proceed, |
321 bool* proceed_to_fire_unload) OVERRIDE; | 321 bool* proceed_to_fire_unload) OVERRIDE; |
322 virtual void DidStartLoadingFromRenderManager( | 322 virtual void DidStartLoadingFromRenderManager( |
323 RenderViewHost* render_view_host) OVERRIDE; | 323 RenderViewHost* render_view_host) OVERRIDE; |
324 virtual void RenderViewGoneFromRenderManager( | 324 virtual void RenderViewGoneFromRenderManager( |
325 RenderViewHost* render_view_host) OVERRIDE; | 325 RenderViewHost* render_view_host) OVERRIDE; |
326 virtual void UpdateRenderViewSizeForRenderManager() OVERRIDE; | 326 virtual void UpdateRenderViewSizeForRenderManager() OVERRIDE; |
327 virtual void NotifySwappedFromRenderManager() OVERRIDE; | 327 virtual void NotifySwappedFromRenderManager() OVERRIDE; |
328 virtual NavigationControllerImpl& GetControllerForRenderManager() OVERRIDE; | 328 virtual NavigationControllerImpl& GetControllerForRenderManager() OVERRIDE; |
329 virtual WebUI* CreateWebUIForRenderManager(const GURL& url) OVERRIDE; | 329 virtual WebUIImpl* CreateWebUIForRenderManager(const GURL& url) OVERRIDE; |
330 virtual content::NavigationEntry* | 330 virtual content::NavigationEntry* |
331 GetLastCommittedNavigationEntryForRenderManager() OVERRIDE; | 331 GetLastCommittedNavigationEntryForRenderManager() OVERRIDE; |
332 virtual bool FocusLocationBarByDefault() OVERRIDE; | 332 virtual bool FocusLocationBarByDefault() OVERRIDE; |
333 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; | 333 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; |
334 virtual void CreateViewAndSetSizeForRVH(RenderViewHost* rvh) OVERRIDE; | 334 virtual void CreateViewAndSetSizeForRVH(RenderViewHost* rvh) OVERRIDE; |
335 | 335 |
336 // Overridden from JavaScriptDialogDelegate: | 336 // Overridden from JavaScriptDialogDelegate: |
337 virtual void OnDialogClosed(IPC::Message* reply_msg, | 337 virtual void OnDialogClosed(IPC::Message* reply_msg, |
338 bool success, | 338 bool success, |
339 const string16& user_input) OVERRIDE; | 339 const string16& user_input) OVERRIDE; |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 // (full-page plugins for now only) permissions. | 638 // (full-page plugins for now only) permissions. |
639 int content_restrictions_; | 639 int content_restrictions_; |
640 | 640 |
641 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. | 641 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. |
642 content::ViewType view_type_; | 642 content::ViewType view_type_; |
643 | 643 |
644 DISALLOW_COPY_AND_ASSIGN(TabContents); | 644 DISALLOW_COPY_AND_ASSIGN(TabContents); |
645 }; | 645 }; |
646 | 646 |
647 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 647 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |