/external/chromium_org/chrome/browser/ui/zoom/ |
D | zoom_controller_unittest.cc | 22 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 …]
|
D | zoom_controller.cc | 21 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 …]
|
D | zoom_controller_browsertest.cc | 25 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 …]
|
D | zoom_controller.h | 28 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);
|
D | zoom_observer.h | 18 virtual void OnZoomChanged(const ZoomController::ZoomChangedEventData& data) { in OnZoomChanged()
|
/external/chromium_org/chrome/browser/guest_view/web_view/ |
D | chrome_web_view_guest_delegate.cc | 88 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()
|
D | chrome_web_view_guest_delegate.h | 49 const ZoomController::ZoomChangedEventData& data) OVERRIDE;
|
/external/chromium_org/chrome/browser/ |
D | browser_commands_unittest.cc | 251 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()
|
D | chrome_page_zoom.cc | 70 ZoomController* zoom_controller = in Zoom() 71 ZoomController::FromWebContents(web_contents); in Zoom()
|
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
D | zoom_decoration.h | 16 class ZoomController; variable 29 bool UpdateIfNecessary(ZoomController* zoom_controller); 45 virtual void ShowAndUpdateUI(ZoomController* zoom_controller,
|
D | zoom_decoration_unittest.mm | 18 virtual void ShowAndUpdateUI(ZoomController* zoom_controller, 30 class MockZoomController : public ZoomController { 33 : ZoomController(web_contents) {}
|
D | zoom_decoration.mm | 27 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/ |
D | zoom_bubble_view.cc | 62 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()
|
D | zoom_view.h | 13 class ZoomController; variable 28 void Update(ZoomController* zoom_controller);
|
D | zoom_view.cc | 27 void ZoomView::Update(ZoomController* zoom_controller) { in Update()
|
/external/chromium_org/chrome/browser/ui/autofill/ |
D | chrome_autofill_client.cc | 47 ZoomController* zoom_controller = in ChromeAutofillClient() 48 ZoomController::FromWebContents(web_contents); in ChromeAutofillClient() 188 const ZoomController::ZoomChangedEventData& data) { in OnZoomChanged()
|
D | chrome_autofill_client.h | 79 const ZoomController::ZoomChangedEventData& data) OVERRIDE;
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
D | tabs_api.cc | 183 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 …]
|
D | tabs_event_router.h | 78 const ZoomController::ZoomChangedEventData& data) OVERRIDE;
|
D | tabs_event_router.cc | 152 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/ |
D | browser_commands.cc | 600 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()
|
D | tab_helpers.cc | 124 ZoomController::CreateForWebContents(web_contents); in AttachTabHelpers()
|
/external/chromium_org/chrome/browser/ui/apps/ |
D | chrome_app_delegate.cc | 185 ZoomController::CreateForWebContents(web_contents); in InitWebContents()
|
/external/chromium_org/chrome/browser/ui/cocoa/browser/ |
D | zoom_bubble_controller.mm | 137 ZoomController* zoomController = ZoomController::FromWebContents(contents);
|
/external/chromium_org/chrome/browser/ui/panels/ |
D | panel_host.cc | 60 ZoomController::CreateForWebContents(web_contents_.get()); in Init()
|