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

Side by Side Diff: chrome/browser/external_tab_container.h

Issue 147202: Added support for Text only zoom... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 6 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
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/external_tab_container.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_ 5 #ifndef CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_
6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_ 6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "chrome/browser/tab_contents/tab_contents_delegate.h" 10 #include "chrome/browser/tab_contents/tab_contents_delegate.h"
11 #include "chrome/common/notification_observer.h" 11 #include "chrome/common/notification_observer.h"
12 #include "chrome/common/notification_registrar.h" 12 #include "chrome/common/notification_registrar.h"
13 #include "chrome/common/page_zoom.h"
13 #include "views/widget/widget_win.h" 14 #include "views/widget/widget_win.h"
14 15
15 class AutomationProvider; 16 class AutomationProvider;
16 class Profile; 17 class Profile;
17 class TabContentsContainer; 18 class TabContentsContainer;
18 class RenderViewContextMenuExternalWin; 19 class RenderViewContextMenuExternalWin;
19 20
20 // This class serves as the container window for an external tab. 21 // This class serves as the container window for an external tab.
21 // An external tab is a Chrome tab that is meant to displayed in an 22 // An external tab is a Chrome tab that is meant to displayed in an
22 // external process. This class provides the FocusManger needed by the 23 // external process. This class provides the FocusManger needed by the
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 WindowOpenDisposition disposition, 72 WindowOpenDisposition disposition,
72 const gfx::Rect& initial_pos, 73 const gfx::Rect& initial_pos,
73 bool user_gesture); 74 bool user_gesture);
74 virtual void ActivateContents(TabContents* contents); 75 virtual void ActivateContents(TabContents* contents);
75 virtual void LoadingStateChanged(TabContents* source); 76 virtual void LoadingStateChanged(TabContents* source);
76 virtual void CloseContents(TabContents* source); 77 virtual void CloseContents(TabContents* source);
77 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); 78 virtual void MoveContents(TabContents* source, const gfx::Rect& pos);
78 virtual bool IsPopup(TabContents* source); 79 virtual bool IsPopup(TabContents* source);
79 virtual void URLStarredChanged(TabContents* source, bool starred); 80 virtual void URLStarredChanged(TabContents* source, bool starred);
80 virtual void UpdateTargetURL(TabContents* source, const GURL& url); 81 virtual void UpdateTargetURL(TabContents* source, const GURL& url);
81 virtual void ContentsZoomChange(bool zoom_in); 82 virtual void ContentsZoomChange(PageZoom::Function zoom_type);
82 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); 83 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating);
83 virtual void ForwardMessageToExternalHost(const std::string& message, 84 virtual void ForwardMessageToExternalHost(const std::string& message,
84 const std::string& origin, 85 const std::string& origin,
85 const std::string& target); 86 const std::string& target);
86 virtual bool IsExternalTabContainer() const { 87 virtual bool IsExternalTabContainer() const {
87 return true; 88 return true;
88 }; 89 };
89 90
90 virtual ExtensionFunctionDispatcher *CreateExtensionFunctionDispatcher( 91 virtual ExtensionFunctionDispatcher *CreateExtensionFunctionDispatcher(
91 RenderViewHost* render_view_host, 92 RenderViewHost* render_view_host,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 141
141 // Contains the list of disabled context menu identifiers. 142 // Contains the list of disabled context menu identifiers.
142 std::vector<int> disabled_context_menu_ids_; 143 std::vector<int> disabled_context_menu_ids_;
143 144
144 scoped_ptr<RenderViewContextMenuExternalWin> external_context_menu_; 145 scoped_ptr<RenderViewContextMenuExternalWin> external_context_menu_;
145 146
146 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); 147 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer);
147 }; 148 };
148 149
149 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_ 150 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/external_tab_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698