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

Side by Side Diff: chrome/browser/ui/views/extensions/shell_window_frame_view.cc

Issue 12088089: Move DraggableRegion to top directory src/extensions/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@themes
Patch Set: Created 7 years, 10 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/views/extensions/shell_window_frame_view.h" 5 #include "chrome/browser/ui/views/extensions/shell_window_frame_view.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/ui/views/extensions/native_app_window_views.h" 8 #include "chrome/browser/ui/views/extensions/native_app_window_views.h"
9 #include "chrome/common/extensions/draggable_region.h" 9 #include "extensions/common/draggable_region.h"
10 #include "grit/theme_resources.h" 10 #include "grit/theme_resources.h"
11 #include "grit/ui_strings.h" // Accessibility names 11 #include "grit/ui_strings.h" // Accessibility names
12 #include "third_party/skia/include/core/SkPaint.h" 12 #include "third_party/skia/include/core/SkPaint.h"
13 #include "ui/base/hit_test.h" 13 #include "ui/base/hit_test.h"
14 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
15 #include "ui/base/resource/resource_bundle.h" 15 #include "ui/base/resource/resource_bundle.h"
16 #include "ui/gfx/canvas.h" 16 #include "ui/gfx/canvas.h"
17 #include "ui/gfx/image/image.h" 17 #include "ui/gfx/image/image.h"
18 #include "ui/gfx/path.h" 18 #include "ui/gfx/path.h"
19 #include "ui/views/controls/button/image_button.h" 19 #include "ui/views/controls/button/image_button.h"
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 DCHECK(!window_->frameless()); 339 DCHECK(!window_->frameless());
340 if (sender == close_button_) 340 if (sender == close_button_)
341 frame_->Close(); 341 frame_->Close();
342 else if (sender == maximize_button_) 342 else if (sender == maximize_button_)
343 frame_->Maximize(); 343 frame_->Maximize();
344 else if (sender == restore_button_) 344 else if (sender == restore_button_)
345 frame_->Restore(); 345 frame_->Restore();
346 else if (sender == minimize_button_) 346 else if (sender == minimize_button_)
347 frame_->Minimize(); 347 frame_->Minimize();
348 } 348 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/extensions/native_app_window_views.cc ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698