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

Side by Side Diff: extensions/shell/browser/shell_native_app_window.cc

Issue 1316013004: Remove "API proposal for chrome.app.window to intercept all keys." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to TOT Created 5 years, 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "extensions/shell/browser/shell_native_app_window.h" 5 #include "extensions/shell/browser/shell_native_app_window.h"
6 6
7 #include "extensions/shell/browser/desktop_controller.h" 7 #include "extensions/shell/browser/desktop_controller.h"
8 #include "third_party/skia/include/core/SkRegion.h" 8 #include "third_party/skia/include/core/SkRegion.h"
9 #include "ui/gfx/geometry/insets.h" 9 #include "ui/gfx/geometry/insets.h"
10 #include "ui/gfx/geometry/point.h" 10 #include "ui/gfx/geometry/point.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 SkRegion* ShellNativeAppWindow::GetDraggableRegion() { 130 SkRegion* ShellNativeAppWindow::GetDraggableRegion() {
131 NOTIMPLEMENTED(); 131 NOTIMPLEMENTED();
132 return NULL; 132 return NULL;
133 } 133 }
134 134
135 void ShellNativeAppWindow::UpdateShape(scoped_ptr<SkRegion> region) { 135 void ShellNativeAppWindow::UpdateShape(scoped_ptr<SkRegion> region) {
136 NOTIMPLEMENTED(); 136 NOTIMPLEMENTED();
137 } 137 }
138 138
139 void ShellNativeAppWindow::SetInterceptAllKeys(bool want_all_keys) {
140 NOTIMPLEMENTED();
141 }
142
143 void ShellNativeAppWindow::HandleKeyboardEvent( 139 void ShellNativeAppWindow::HandleKeyboardEvent(
144 const content::NativeWebKeyboardEvent& event) { 140 const content::NativeWebKeyboardEvent& event) {
145 // No special handling. The WebContents will handle it. 141 // No special handling. The WebContents will handle it.
146 } 142 }
147 143
148 bool ShellNativeAppWindow::IsFrameless() const { 144 bool ShellNativeAppWindow::IsFrameless() const {
149 NOTIMPLEMENTED(); 145 NOTIMPLEMENTED();
150 return false; 146 return false;
151 } 147 }
152 148
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 void ShellNativeAppWindow::SetVisibleOnAllWorkspaces(bool always_visible) { 189 void ShellNativeAppWindow::SetVisibleOnAllWorkspaces(bool always_visible) {
194 NOTIMPLEMENTED(); 190 NOTIMPLEMENTED();
195 } 191 }
196 192
197 bool ShellNativeAppWindow::CanHaveAlphaEnabled() const { 193 bool ShellNativeAppWindow::CanHaveAlphaEnabled() const {
198 // No background to display if the window was transparent. 194 // No background to display if the window was transparent.
199 return false; 195 return false;
200 } 196 }
201 197
202 } // namespace extensions 198 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_native_app_window.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698