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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 8968022: Shell related switches -> aura shell switches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc ('k') | ui/aura/aura.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_aura.cc
===================================================================
--- content/browser/renderer_host/render_widget_host_view_aura.cc (revision 114849)
+++ content/browser/renderer_host/render_widget_host_view_aura.cc (working copy)
@@ -14,10 +14,10 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/client/tooltip_client.h"
+#include "ui/aura/client/window_types.h"
#include "ui/aura/event.h"
#include "ui/aura/root_window.h"
#include "ui/aura/window.h"
-#include "ui/aura/window_types.h"
#include "ui/base/hit_test.h"
#include "ui/base/ui_base_types.h"
#include "ui/gfx/canvas.h"
@@ -99,7 +99,7 @@
#endif
skip_schedule_paint_(false) {
host_->SetView(this);
- window_->SetProperty(aura::kTooltipTextKey, &tooltip_);
+ window_->SetProperty(aura::client::kTooltipTextKey, &tooltip_);
aura::client::SetActivationDelegate(window_, this);
}
@@ -119,7 +119,7 @@
const gfx::Rect& pos) {
popup_parent_host_view_ =
static_cast<RenderWidgetHostViewAura*>(parent_host_view);
- window_->SetType(aura::WINDOW_TYPE_MENU);
+ window_->SetType(aura::client::WINDOW_TYPE_MENU);
window_->Init(ui::Layer::LAYER_HAS_TEXTURE);
window_->SetName("RenderWidgetHostViewAura");
@@ -138,10 +138,11 @@
void RenderWidgetHostViewAura::InitAsFullscreen(
RenderWidgetHostView* reference_host_view) {
is_fullscreen_ = true;
- window_->SetType(aura::WINDOW_TYPE_NORMAL);
+ window_->SetType(aura::client::WINDOW_TYPE_NORMAL);
window_->Init(ui::Layer::LAYER_HAS_TEXTURE);
window_->SetName("RenderWidgetHostViewAura");
- window_->SetIntProperty(aura::kShowStateKey, ui::SHOW_STATE_FULLSCREEN);
+ window_->SetIntProperty(aura::client::kShowStateKey,
+ ui::SHOW_STATE_FULLSCREEN);
window_->SetParent(NULL);
Show();
Focus();
« no previous file with comments | « chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc ('k') | ui/aura/aura.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698