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

Side by Side Diff: services/ui/ws/window_tree.h

Issue 2603893002: Remove mojo::Map. (Closed)
Patch Set: rebase Created 3 years, 11 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
« no previous file with comments | « services/ui/ws/window_manager_state.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef SERVICES_UI_WS_WINDOW_TREE_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_TREE_H_
6 #define SERVICES_UI_WS_WINDOW_TREE_H_ 6 #define SERVICES_UI_WS_WINDOW_TREE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 const ServerWindow* window) const override; 493 const ServerWindow* window) const override;
494 494
495 // DragSource: 495 // DragSource:
496 void OnDragCompleted(bool success, uint32_t action_taken) override; 496 void OnDragCompleted(bool success, uint32_t action_taken) override;
497 ServerWindow* GetWindowById(const WindowId& id) override; 497 ServerWindow* GetWindowById(const WindowId& id) override;
498 DragTargetConnection* GetDragTargetForWindow( 498 DragTargetConnection* GetDragTargetForWindow(
499 const ServerWindow* window) override; 499 const ServerWindow* window) override;
500 500
501 // DragTargetConnection: 501 // DragTargetConnection:
502 void PerformOnDragDropStart( 502 void PerformOnDragDropStart(
503 mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data) override; 503 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data)
504 override;
504 void PerformOnDragEnter( 505 void PerformOnDragEnter(
505 const ServerWindow* window, 506 const ServerWindow* window,
506 uint32_t event_flags, 507 uint32_t event_flags,
507 const gfx::Point& cursor_offset, 508 const gfx::Point& cursor_offset,
508 uint32_t effect_bitmask, 509 uint32_t effect_bitmask,
509 const base::Callback<void(uint32_t)>& callback) override; 510 const base::Callback<void(uint32_t)>& callback) override;
510 void PerformOnDragOver( 511 void PerformOnDragOver(
511 const ServerWindow* window, 512 const ServerWindow* window,
512 uint32_t event_flags, 513 uint32_t event_flags,
513 const gfx::Point& cursor_offset, 514 const gfx::Point& cursor_offset,
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 waiting_for_top_level_window_info_; 579 waiting_for_top_level_window_info_;
579 bool embedder_intercepts_events_ = false; 580 bool embedder_intercepts_events_ = false;
580 581
581 DISALLOW_COPY_AND_ASSIGN(WindowTree); 582 DISALLOW_COPY_AND_ASSIGN(WindowTree);
582 }; 583 };
583 584
584 } // namespace ws 585 } // namespace ws
585 } // namespace ui 586 } // namespace ui
586 587
587 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ 588 #endif // SERVICES_UI_WS_WINDOW_TREE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_manager_state.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698