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

Unified Diff: chrome_frame/chrome_active_document.cc

Issue 8413051: Move PageZoom enum into content/public/common and into the content namespace. Also move content_c... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/cfproxy_support.cc ('k') | chrome_frame/chrome_frame_automation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/chrome_active_document.cc
===================================================================
--- chrome_frame/chrome_active_document.cc (revision 107754)
+++ chrome_frame/chrome_active_document.cc (working copy)
@@ -35,7 +35,7 @@
#include "chrome_frame/crash_reporting/crash_metrics.h"
#include "chrome_frame/utils.h"
#include "content/browser/tab_contents/tab_contents.h"
-#include "content/common/page_zoom.h"
+#include "content/public/common/page_zoom.h"
#include "grit/generated_resources.h"
DEFINE_GUID(CGID_DocHostCmdPriv, 0x000214D4L, 0, 0, 0xC0, 0, 0, 0, 0, 0, 0,
@@ -896,9 +896,9 @@
if (in_args && V_VT(in_args) == VT_I4 && IsValid()) {
if (in_args->lVal == kZoomIn) {
- automation_client_->SetZoomLevel(PageZoom::ZOOM_IN);
+ automation_client_->SetZoomLevel(content::PAGE_ZOOM_IN);
} else if (in_args->lVal == kZoomOut) {
- automation_client_->SetZoomLevel(PageZoom::ZOOM_OUT);
+ automation_client_->SetZoomLevel(content::PAGE_ZOOM_OUT);
} else {
DLOG(WARNING) << "Unsupported zoom level:" << in_args->lVal;
}
« no previous file with comments | « chrome_frame/cfproxy_support.cc ('k') | chrome_frame/chrome_frame_automation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698