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

Side by Side Diff: chrome/browser/automation/automation_provider_win.cc

Issue 3945002: Move debug-related stuff from base to the base/debug directory and use the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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/automation/automation_provider.cc ('k') | chrome/browser/browser_main.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/browser/automation/automation_provider.h" 5 #include "chrome/browser/automation/automation_provider.h"
6 6
7 #include "app/keyboard_codes.h" 7 #include "app/keyboard_codes.h"
8 #include "base/debug/trace_event.h"
8 #include "base/json/json_reader.h" 9 #include "base/json/json_reader.h"
9 #include "base/trace_event.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/automation/automation_browser_tracker.h" 11 #include "chrome/browser/automation/automation_browser_tracker.h"
12 #include "chrome/browser/automation/automation_extension_function.h" 12 #include "chrome/browser/automation/automation_extension_function.h"
13 #include "chrome/browser/automation/automation_tab_tracker.h" 13 #include "chrome/browser/automation/automation_tab_tracker.h"
14 #include "chrome/browser/automation/automation_window_tracker.h" 14 #include "chrome/browser/automation/automation_window_tracker.h"
15 #include "chrome/browser/automation/extension_automation_constants.h" 15 #include "chrome/browser/automation/extension_automation_constants.h"
16 #include "chrome/browser/automation/extension_port_container.h" 16 #include "chrome/browser/automation/extension_port_container.h"
17 #include "chrome/browser/automation/ui_controls.h" 17 #include "chrome/browser/automation/ui_controls.h"
18 #include "chrome/browser/browser_window.h" 18 #include "chrome/browser/browser_window.h"
19 #include "chrome/browser/extensions/extension_event_router.h" 19 #include "chrome/browser/extensions/extension_event_router.h"
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 537
538 void AutomationProvider::OnSetZoomLevel(int handle, int zoom_level) { 538 void AutomationProvider::OnSetZoomLevel(int handle, int zoom_level) {
539 if (tab_tracker_->ContainsHandle(handle)) { 539 if (tab_tracker_->ContainsHandle(handle)) {
540 NavigationController* tab = tab_tracker_->GetResource(handle); 540 NavigationController* tab = tab_tracker_->GetResource(handle);
541 if (tab->tab_contents() && tab->tab_contents()->render_view_host()) { 541 if (tab->tab_contents() && tab->tab_contents()->render_view_host()) {
542 tab->tab_contents()->render_view_host()->Zoom( 542 tab->tab_contents()->render_view_host()->Zoom(
543 static_cast<PageZoom::Function>(zoom_level)); 543 static_cast<PageZoom::Function>(zoom_level));
544 } 544 }
545 } 545 }
546 } 546 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698