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

Unified Diff: chrome/browser/external_tab_container_win.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
Index: chrome/browser/external_tab_container_win.cc
===================================================================
--- chrome/browser/external_tab_container_win.cc (revision 107754)
+++ chrome/browser/external_tab_container_win.cc (working copy)
@@ -44,11 +44,11 @@
#include "content/browser/tab_contents/navigation_details.h"
#include "content/browser/tab_contents/provisional_load_details.h"
#include "content/public/browser/notification_service.h"
-#include "content/common/page_zoom.h"
#include "content/common/view_messages.h"
#include "content/public/browser/native_web_keyboard_event.h"
#include "content/public/common/bindings_policy.h"
#include "content/public/common/page_transition_types.h"
+#include "content/public/common/page_zoom.h"
#include "grit/generated_resources.h"
#include "grit/locale_settings.h"
#include "ui/base/l10n/l10n_util.h"
@@ -1038,13 +1038,13 @@
int command_id = iter->second;
switch (command_id) {
case IDC_ZOOM_PLUS:
- host->Zoom(PageZoom::ZOOM_IN);
+ host->Zoom(content::PAGE_ZOOM_IN);
break;
case IDC_ZOOM_NORMAL:
- host->Zoom(PageZoom::RESET);
+ host->Zoom(content::PAGE_ZOOM_RESET);
break;
case IDC_ZOOM_MINUS:
- host->Zoom(PageZoom::ZOOM_OUT);
+ host->Zoom(content::PAGE_ZOOM_OUT);
break;
case IDC_DEV_TOOLS:
DevToolsWindow::ToggleDevToolsWindow(
« no previous file with comments | « chrome/browser/automation/automation_provider_win.cc ('k') | chrome/browser/tab_contents/web_contents_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698