Home
last modified time | relevance | path

Searched refs:ZoomController (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/zoom/
Dzoom_controller_unittest.cc22 bool operator==(const ZoomController::ZoomChangedEventData& lhs, in operator ==()
23 const ZoomController::ZoomChangedEventData& rhs) { in operator ==()
34 void(const ZoomController::ZoomChangedEventData&));
41 zoom_controller_.reset(new ZoomController(web_contents())); in SetUp()
57 scoped_ptr<ZoomController> zoom_controller_;
63 ZoomController::ZoomChangedEventData zoom_change_data( in TEST_F()
67 ZoomController::ZOOM_MODE_DEFAULT, in TEST_F()
78 ZoomController::ZoomChangedEventData zoom_change_data( in TEST_F()
82 ZoomController::ZOOM_MODE_DEFAULT, in TEST_F()
99 ZoomController::ZoomChangedEventData zoom_change_data1( in TEST_F()
[all …]
Dzoom_controller.cc21 DEFINE_WEB_CONTENTS_USER_DATA_KEY(ZoomController);
23 ZoomController::ZoomController(content::WebContents* web_contents) in ZoomController() function in ZoomController
36 base::Bind(&ZoomController::OnZoomLevelChanged, base::Unretained(this))); in ZoomController()
41 ZoomController::~ZoomController() {} in ~ZoomController()
43 bool ZoomController::IsAtDefaultZoom() const { in IsAtDefaultZoom()
47 int ZoomController::GetResourceForZoomLevel() const { in GetResourceForZoomLevel()
54 void ZoomController::AddObserver(ZoomObserver* observer) { in AddObserver()
58 void ZoomController::RemoveObserver(ZoomObserver* observer) { in RemoveObserver()
62 double ZoomController::GetZoomLevel() const { in GetZoomLevel()
68 int ZoomController::GetZoomPercent() const { in GetZoomPercent()
[all …]
Dzoom_controller_browsertest.cc25 bool operator==(const ZoomController::ZoomChangedEventData& lhs, in operator ==()
26 const ZoomController::ZoomChangedEventData& rhs) { in operator ==()
38 const ZoomController::ZoomChangedEventData& expected_event_data) in ZoomChangedWatcher()
42 ZoomController::FromWebContents(web_contents)->AddObserver(this); in ZoomChangedWatcher()
49 const ZoomController::ZoomChangedEventData& event_data) OVERRIDE { in OnZoomChanged()
56 ZoomController::ZoomChangedEventData expected_event_data_;
74 ZoomController* zoom_controller = in IN_PROC_BROWSER_TEST_F()
75 ZoomController::FromWebContents(web_contents); in IN_PROC_BROWSER_TEST_F()
101 ZoomController::ZoomChangedEventData zoom_change_data( in IN_PROC_BROWSER_TEST_F()
105 ZoomController::ZOOM_MODE_DEFAULT, in IN_PROC_BROWSER_TEST_F()
[all …]
Dzoom_controller.h28 class ZoomController : public content::WebContentsObserver,
29 public content::WebContentsUserData<ZoomController> {
55 ZoomController::ZoomMode zoom_mode, in ZoomChangedEventData()
65 ZoomController::ZoomMode zoom_mode;
69 virtual ~ZoomController();
131 explicit ZoomController(content::WebContents* web_contents);
134 friend class content::WebContentsUserData<ZoomController>;
167 DISALLOW_COPY_AND_ASSIGN(ZoomController);
Dzoom_observer.h18 virtual void OnZoomChanged(const ZoomController::ZoomChangedEventData& data) { in OnZoomChanged()
/external/chromium_org/chrome/browser/guest_view/web_view/
Dchrome_web_view_guest_delegate.cc88 ZoomController::CreateForWebContents(contents); in OnAttachWebViewHelpers()
129 ZoomController* zoom_controller = ZoomController::FromWebContents( in OnDidAttachToEmbedder()
136 ZoomController::FromWebContents(guest_web_contents())-> in OnDidAttachToEmbedder()
143 ZoomController* zoom_controller = in OnDidCommitProvisionalLoadForFrame()
144 ZoomController::FromWebContents(guest_web_contents()); in OnDidCommitProvisionalLoadForFrame()
194 ZoomController* zoom_controller = in OnSetZoom()
195 ZoomController::FromWebContents(guest_web_contents()); in OnSetZoom()
257 const ZoomController::ZoomChangedEventData& data) { in OnZoomChanged()
258 ZoomController::FromWebContents(guest_web_contents())-> in OnZoomChanged()
Dchrome_web_view_guest_delegate.h49 const ZoomController::ZoomChangedEventData& data) OVERRIDE;
/external/chromium_org/chrome/browser/
Dbrowser_commands_unittest.cc251 ZoomController* zoom_controller = ZoomController::FromWebContents(contents1); in TEST_F()
270 ZoomController* zoom_controller = ZoomController::FromWebContents(contents1); in TEST_F()
287 ZoomController* zoom_controller = ZoomController::FromWebContents(contents1); in TEST_F()
305 ZoomController* zoom_controller = ZoomController::FromWebContents(contents1); in TEST_F()
323 ZoomController* zoom_controller = ZoomController::FromWebContents(contents1); in TEST_F()
336 zoom_controller = ZoomController::FromWebContents(contents2); in TEST_F()
Dchrome_page_zoom.cc70 ZoomController* zoom_controller = in Zoom()
71 ZoomController::FromWebContents(web_contents); in Zoom()
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dzoom_decoration.h16 class ZoomController; variable
29 bool UpdateIfNecessary(ZoomController* zoom_controller);
45 virtual void ShowAndUpdateUI(ZoomController* zoom_controller,
Dzoom_decoration_unittest.mm18 virtual void ShowAndUpdateUI(ZoomController* zoom_controller,
30 class MockZoomController : public ZoomController {
33 : ZoomController(web_contents) {}
Dzoom_decoration.mm27 bool ZoomDecoration::UpdateIfNecessary(ZoomController* zoom_controller) {
80 void ZoomDecoration::ShowAndUpdateUI(ZoomController* zoom_controller,
100 ZoomController* zoomController =
101 ZoomController::FromWebContents(web_contents);
/external/chromium_org/chrome/browser/ui/views/location_bar/
Dzoom_bubble_view.cc62 ZoomController* zoom_controller = in ShowBubble()
63 ZoomController::FromWebContents(web_contents); in ShowBubble()
167 ZoomController* zoom_controller = in Refresh()
168 ZoomController::FromWebContents(web_contents_); in Refresh()
310 ZoomController* zoom_controller = in Init()
311 ZoomController::FromWebContents(web_contents_); in Init()
Dzoom_view.h13 class ZoomController; variable
28 void Update(ZoomController* zoom_controller);
Dzoom_view.cc27 void ZoomView::Update(ZoomController* zoom_controller) { in Update()
/external/chromium_org/chrome/browser/ui/autofill/
Dchrome_autofill_client.cc47 ZoomController* zoom_controller = in ChromeAutofillClient()
48 ZoomController::FromWebContents(web_contents); in ChromeAutofillClient()
188 const ZoomController::ZoomChangedEventData& data) { in OnZoomChanged()
Dchrome_autofill_client.h79 const ZoomController::ZoomChangedEventData& data) OVERRIDE;
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_api.cc183 void ZoomModeToZoomSettings(ZoomController::ZoomMode zoom_mode, in ZoomModeToZoomSettings()
187 case ZoomController::ZOOM_MODE_DEFAULT: in ZoomModeToZoomSettings()
191 case ZoomController::ZOOM_MODE_ISOLATED: in ZoomModeToZoomSettings()
195 case ZoomController::ZOOM_MODE_MANUAL: in ZoomModeToZoomSettings()
199 case ZoomController::ZOOM_MODE_DISABLED: in ZoomModeToZoomSettings()
1832 ZoomController* zoom_controller = in RunAsync()
1833 ZoomController::FromWebContents(web_contents); in RunAsync()
1857 ZoomController::FromWebContents(web_contents)->GetZoomLevel(); in RunAsync()
1890 ZoomController::ZoomMode zoom_mode = ZoomController::ZOOM_MODE_DEFAULT; in RunAsync()
1897 zoom_mode = ZoomController::ZOOM_MODE_DEFAULT; in RunAsync()
[all …]
Dtabs_event_router.h78 const ZoomController::ZoomChangedEventData& data) OVERRIDE;
Dtabs_event_router.cc152 ZoomController::FromWebContents(contents)->AddObserver(this); in RegisterForTabNotifications()
163 ZoomController::FromWebContents(contents)->RemoveObserver(this); in UnregisterForTabNotifications()
560 const ZoomController::ZoomChangedEventData& data) { in OnZoomChanged()
/external/chromium_org/chrome/browser/ui/
Dbrowser_commands.cc600 ZoomController* zoom_controller = ZoomController::FromWebContents(contents); in CanZoomIn()
606 ZoomController* zoom_controller = ZoomController::FromWebContents(contents); in CanZoomOut()
612 ZoomController* zoom_controller = ZoomController::FromWebContents(contents); in ActualSize()
Dtab_helpers.cc124 ZoomController::CreateForWebContents(web_contents); in AttachTabHelpers()
/external/chromium_org/chrome/browser/ui/apps/
Dchrome_app_delegate.cc185 ZoomController::CreateForWebContents(web_contents); in InitWebContents()
/external/chromium_org/chrome/browser/ui/cocoa/browser/
Dzoom_bubble_controller.mm137 ZoomController* zoomController = ZoomController::FromWebContents(contents);
/external/chromium_org/chrome/browser/ui/panels/
Dpanel_host.cc60 ZoomController::CreateForWebContents(web_contents_.get()); in Init()

12